本文整理汇总了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');
}
示例2: __construct
public function __construct()
{
parent::__construct();
// Register Extra tasks
$this->registerTask('add', 'edit');
$this->registerTask('apply', 'save');
}
示例3:
function __construct()
{
parent::__construct();
$this->registerTask('repair', 'repair');
$this->registerTask('optimize', 'optimize');
$this->registerTask('picturepath', 'picturepath');
$this->registerTask('updatetemplatemasters', 'updatetemplatemasters');
}
示例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');
}
示例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();
}
示例6:
function __construct()
{
parent::__construct();
// Register Extra tasks
$this->registerTask('edit', 'display');
$this->registerTask('insert', 'display');
$this->registerTask('selectpage', 'display');
}
示例7: __construct
public function __construct()
{
parent::__construct();
$model = $this->getModel('jlxmlexport');
$export = $model->exportData();
if ($export) {
echo $export;
}
}
示例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');
}
示例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');
}
示例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();
}
示例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');
}
示例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');
}
}
示例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');
}
示例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');
}
示例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');
}