当前位置: 首页>>代码示例>>PHP>>正文


PHP JoomleagueController::__construct方法代码示例

本文整理汇总了PHP中JoomleagueController::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP JoomleagueController::__construct方法的具体用法?PHP JoomleagueController::__construct怎么用?PHP JoomleagueController::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JoomleagueController的用法示例。


在下文中一共展示了JoomleagueController::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('edit', 'display');
     $this->registerTask('apply', 'save');
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:7,代码来源:treetonode.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('add', 'edit');
     $this->registerTask('apply', 'save');
 }
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:7,代码来源:projectteam.php

示例3:

 function __construct()
 {
     parent::__construct();
     $this->registerTask('repair', 'repair');
     $this->registerTask('optimize', 'optimize');
     $this->registerTask('picturepath', 'picturepath');
     $this->registerTask('updatetemplatemasters', 'updatetemplatemasters');
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:8,代码来源:databasetool.php

示例4: __construct

 public function __construct($config = array())
 {
     parent::__construct($config);
     // Register Extra tasks
     $this->registerTask('add', 'display');
     $this->registerTask('edit', 'display');
     $this->registerTask('apply', 'save');
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:8,代码来源:project.php

示例5: __construct

 public function __construct()
 {
     // Get the document object.
     $document = JFactory::getDocument();
     // Set the MIME type for JSON output.
     $document->setMimeEncoding('application/json');
     parent::__construct();
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:8,代码来源:ajax.json.php

示例6:

 function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('edit', 'display');
     $this->registerTask('insert', 'display');
     $this->registerTask('selectpage', 'display');
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:8,代码来源:jlextindividualsportringen.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $model = $this->getModel('jlxmlexport');
     $export = $model->exportData();
     if ($export) {
         echo $export;
     }
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:9,代码来源:jlxmlexport.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('add', 'display');
     $this->registerTask('edit', 'display');
     $this->registerTask('apply', 'save');
     $this->registerTask('fulldelete', 'remove');
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:9,代码来源:statistic.php

示例9:

 function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('add', 'display');
     $this->registerTask('edit', 'display');
     $this->registerTask('apply', 'save');
     $this->registerTask('apply_project_settings', 'save_project_settings');
     $this->registerTask('copy', 'copysave');
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:10,代码来源:predictiongame.php

示例10:

 function __construct()
 {
     //$post	= JRequest::get('post');
     // Register Extra tasks
     //$this->registerTask( 'add',			'display' );
     //$this->registerTask( 'edit',		'display' );
     //$this->registerTask( 'apply',		'save' );
     //$this->registerTask( 'copy',		'copysave' );
     //$this->registerTask( 'apply',		'savepredictiongame' );
     parent::__construct();
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:11,代码来源:predictionentry.php

示例11:

 function __construct()
 {
     parent::__construct();
     //$this->registerTask( 'save' , 'Save' );
     $this->registerTask('update', 'display');
     $this->registerTask('cancel', 'display');
     $this->registerTask('edit', 'display');
     $this->registerTask('insert', 'display');
     $this->registerTask('insertplayer', 'display');
     $this->registerTask('insertmatch', 'display');
     $this->registerTask('selectpage', 'display');
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:12,代码来源:jlextdfbnetplayerimport.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     $jinput = JFactory::getApplication()->input;
     $task = $jinput->getCmd('task');
     if ($task == 'exporttablecsv') {
         $this->registerTask($task, 'exportTableCsv');
     }
     if ($task == 'exporttablesql') {
         $this->registerTask($task, 'exportTableSql');
     }
 }
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:12,代码来源:tools.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('searchplayer', 'searchPlayer');
     $this->registerTask('searchstaff', 'searchStaff');
     $this->registerTask('searchreferee', 'searchReferee');
     $this->registerTask('searchteam', 'searchTeam');
     $this->registerTask('addplayer', 'addPlayer');
     $this->registerTask('addstaff', 'addstaff');
     $this->registerTask('addreferee', 'addReferee');
     $this->registerTask('addteam', 'addTeam');
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:13,代码来源:quickadd.php

示例14: array

 function __construct()
 {
     $mainframe = JFactory::getApplication();
     $option = JRequest::getCmd('option');
     parent::__construct();
     $pid = JRequest::getVar('pid', array(0), '', 'array');
     if ($pid[0]) {
         $mainframe->setUserState($option . 'project', (int) $pid[0]);
     }
     // Register Extra tasks
     $this->registerTask('add', 'edit');
     $this->registerTask('apply', 'save');
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:13,代码来源:projectteam.php

示例15: __construct

 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     // Register Extra tasks
     $this->registerTask('csvpersonimport', 'dispatch');
     $this->registerTask('csvseasonimport', 'dispatch');
     $this->registerTask('csvleagueimport', 'dispatch');
     $this->registerTask('csvprojectimport', 'dispatch');
     $this->registerTask('csvclubimport', 'dispatch');
     $this->registerTask('csvteamimport', 'dispatch');
     $this->registerTask('csvsports_typeimport', 'dispatch');
     $this->registerTask('csveventtypeimport', 'dispatch');
     $this->registerTask('csvpositionimport', 'dispatch');
     $this->registerTask('csvplaygroundimport', 'dispatch');
 }
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:18,代码来源:import.php


注:本文中的JoomleagueController::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。