X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/administrator/components/com_content/src/Model
home
/
notabjze
/
narcev.com
/
administrator
/
components
/
com_content
/
src
/
Model
/
ðŸ“
..
📄
ArticleModel.php
(31.17 KB)
📄
ArticlesModel.php
(20.89 KB)
📄
FeatureModel.php
(1.17 KB)
📄
FeaturedModel.php
(2.31 KB)
Editing: FeatureModel.php
<?php /** * @package Joomla.Administrator * @subpackage com_content * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Content\Administrator\Model; \defined('_JEXEC') or die; /** * Feature model. * * @since 1.6 */ class FeatureModel extends ArticleModel { /** * Returns a Table object, always creating it. * * @param string $type The table type to instantiate * @param string $prefix A prefix for the table class name. Optional. * @param array $config Configuration array for model. Optional. * * @return \Joomla\CMS\Table\Table A database object * * @since 1.6 */ public function getTable($type = 'Featured', $prefix = 'Administrator', $config = array()) { return parent::getTable($type, $prefix, $config); } /** * A protected method to get a set of ordering conditions. * * @param object $table A record object. * * @return array An array of conditions to add to ordering queries. * * @since 1.6 */ protected function getReorderConditions($table) { return []; } }
Upload File
Create Folder