コード例 #1
0
ファイル: profiletypes.php プロジェクト: Simarpreet05/joomla
 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');
 }
コード例 #2
0
ファイル: configuration.php プロジェクト: Simarpreet05/joomla
 public function getModel($modelName = null)
 {
     // support for parameter
     if ($modelName === null || $modelName === $this->getName()) {
         return parent::getModel('profiletypes');
     }
     return parent::getModel($modelName);
 }
コード例 #3
0
ファイル: registration.php プロジェクト: Simarpreet05/joomla
 function __construct($config = array())
 {
     $this->mySess = JFactory::getSession();
     parent::__construct($config);
 }
コード例 #4
0
ファイル: setup.php プロジェクト: Simarpreet05/joomla
 function display()
 {
     parent::display();
 }