Source for file feature.php

Documentation is available at feature.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_content
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. require_once __DIR__ . '/article.php';
  13.  
  14. /**
  15.  * Feature model.
  16.  *
  17.  * @package     Joomla.Administrator
  18.  * @subpackage  com_content
  19.  */
  20. {
  21.     /**
  22.      * Returns a Table object, always creating it.
  23.      *
  24.      * @param   type    The table type to instantiate
  25.      * @param   string    A prefix for the table class name. Optional.
  26.      * @param   array  Configuration array for model. Optional.
  27.      * @return  JTable    A database object
  28.     */
  29.     public function getTable($type 'Featured'$prefix 'ContentTable'$config array())
  30.     {
  31.         return JTable::getInstance($type$prefix$config);
  32.     }
  33.  
  34.     /**
  35.      * A protected method to get a set of ordering conditions.
  36.      *
  37.      * @param   object    record object.
  38.      * @return  array  An array of conditions to add to add to ordering queries.
  39.      * @since   1.6
  40.      */
  41.     protected function getReorderConditions($table)
  42.     {
  43.         $condition array();
  44.         return $condition;
  45.     }
  46. }

Documentation generated on Tue, 19 Nov 2013 15:02:50 +0100 by phpDocumentor 1.4.3