function __construct($config = array()) { parent::__construct($config); //registering some extra in all task list which we want to call $this->registerTask('orderup', 'saveOrder'); $this->registerTask('orderdown', 'saveOrder'); }
public function getModel($modelName = null) { // support for parameter if ($modelName === null || $modelName === $this->getName()) { return parent::getModel('profiletypes'); } return parent::getModel($modelName); }
function __construct($config = array()) { $this->mySess = JFactory::getSession(); parent::__construct($config); }
function display() { parent::display(); }