| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. 4 * @license GNU General Public License version 2 or later; see LICENSE.txt 5 */ 6 7 // No direct access 8 defined('_JEXEC') or die; 9 10 jimport('joomla.application.component.modeladmin'); 11 12 require_once dirname(__FILE__).'/article.php'; 13 14 /** 15 * Feature model. 16 * 17 * @package Joomla.Administrator 18 * @subpackage com_content 19 */ 20 class ContentModelFeature extends ContentModelArticle 21 { 22 /** 23 * Returns a Table object, always creating it. 24 * 25 * @param type The table type to instantiate 26 * @param string A prefix for the table class name. Optional. 27 * @param array Configuration array for model. Optional. 28 * @return JTable A database object 29 */ 30 public function getTable($type = 'Featured', $prefix = 'ContentTable', $config = array()) 31 { 32 return JTable::getInstance($type, $prefix, $config); 33 } 34 35 /** 36 * A protected method to get a set of ordering conditions. 37 * 38 * @param object A record object. 39 * @return array An array of conditions to add to add to ordering queries. 40 * @since 1.6 41 */ 42 protected function getReorderConditions($table) 43 { 44 $condition = array(); 45 return $condition; 46 } 47 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |