本文整理汇总了PHP中page_generic::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP page_generic::__construct方法的具体用法?PHP page_generic::__construct怎么用?PHP page_generic::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类page_generic
的用法示例。
在下文中一共展示了page_generic::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
$this->user->check_auth('a_members_man');
$handler = array('save' => array('process' => 'save', 'csrf' => true), 'r' => array('process' => 'edit'));
parent::__construct(false, $handler, array('rank', 'name'), null, 'rank_ids[]');
$this->process();
}
示例2: __construct
public function __construct()
{
$this->user->check_auth('a_config_man');
$handler = array('save' => array('process' => 'save', 'check' => 'a_raid_add', 'csrf' => true), 'id' => array('process' => 'edit'));
parent::__construct(false, $handler, array('notification_types', 'id'), null, 'selected_ids[]');
$this->process();
}
示例3: __construct
public function __construct()
{
$this->user->check_auth('a_calendars_man');
$handler = array('save' => array('process' => 'save', 'csrf' => true));
parent::__construct(false, $handler, array('calendars', 'name'), null, 'calendar_ids[]');
$this->process();
}
示例4: __construct
public function __construct()
{
$handler = array('transformraid' => array('process' => 'transform_raid'));
$this->user->check_auth('u_cal_event_add');
parent::__construct(false, $handler, array(), null, '', 'eventid');
$this->process();
}
示例5: __construct
public function __construct()
{
$this->user->check_auth('a_guildbank_manage');
$handler = array('save' => array('process' => 'save', 'csrf' => true), 'perform_payout' => array('process' => 'perform_payout', 'csrf' => true), 'addedit' => array('process' => 'display_add'), 'payout' => array('process' => 'display_payout'));
parent::__construct(false, $handler, array('guildbank_items', 'deletename'), null, 'selections[]');
$this->process();
}
示例6: __construct
public function __construct()
{
$handler = array('mode' => array(array('process' => 'confirm_all', 'value' => 'confirm_all', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'confirm', 'value' => 'confirm', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'delete_all', 'value' => 'delete_all', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'delete', 'value' => 'delete', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'revoke', 'value' => 'revoke', 'check' => 'a_members_man', 'csrf' => true), array('process' => 'activate', 'value' => 'activate', 'check' => 'a_users_man', 'csrf' => true), array('process' => 'activate_all', 'value' => 'activate_all', 'check' => 'a_users_man', 'csrf' => true), array('process' => 'delete_user', 'value' => 'delete_user', 'check' => 'a_users_man', 'csrf' => true)));
$this->user->check_auths(array('a_users_man', 'a_members_man'), 'OR');
parent::__construct(false, $handler);
$this->process();
}
示例7: __construct
public function __construct()
{
$this->user->check_auth('a_epgpimport_import');
$handler = array('insert' => array('process' => 'insert_log'));
parent::__construct(false, $handler);
$this->process();
}
示例8: __construct
public function __construct()
{
$this->user->check_auth('a_members_man');
$handler = array('del' => array('process' => 'member_del', 'csrf' => true), 'mstatus' => array('process' => 'member_status', 'csrf' => true), 'rankc' => array('process' => 'member_ranks', 'csrf' => true), 'defrolechange' => array('process' => 'ajax_defaultrole', 'csrf' => true));
parent::__construct(false, $handler, array('member', 'name'), null, 'selected_ids[]');
$this->process();
}
示例9: __construct
public function __construct()
{
$this->user->check_auth('a_guildbank_auctions');
$handler = array('addedit' => array('process' => 'display_add'), 'save' => array('process' => 'save', 'csrf' => true));
parent::__construct(false, $handler, array('guildbank_auctions', 'name'), null, 'auction_ids[]');
$this->process();
}
示例10: __construct
public function __construct()
{
$this->user->check_auth('a_config_man');
$handler = array();
parent::__construct(false, $handler);
$this->process();
}
示例11: __construct
public function __construct()
{
$handler = array();
$this->user->check_auth('u_raid_view');
parent::__construct(false, $handler, array(), null, '', 'r');
$this->process();
}
示例12: __construct
public function __construct()
{
$handler = array('move' => array('process' => 'move_event', 'csrf' => true), 'resize' => array('process' => 'resize_event', 'csrf' => true), 'deleteid' => array('process' => 'delete_event', 'csrf' => true), 'json' => array('process' => 'get_json'), 'checkrepeatable' => array('process' => 'get_event_repeatable'), 'mass_signin' => array('process' => 'mass_signin', 'csrf' => true), 'export_tooltip' => array('process' => 'export_tooltip'));
$this->user->check_auth('u_calendar_view');
parent::__construct(false, $handler, array());
$this->process();
}
示例13: __construct
public function __construct()
{
$handler = array('create' => array('process' => 'submit', 'csrf' => true), 'email_submit' => array('process' => 'mail', 'csrf' => true), 'renew' => array('process' => 'renew', 'csrf' => true));
$this->user->check_auth('a_');
parent::__construct(false, $handler);
$this->process();
}
示例14: __construct
public function __construct()
{
$this->user->check_auth('a_backup');
$handler = array('backup' => array('process' => 'process_backup', 'csrf' => true), 'restore' => array('process' => 'process_restore', 'csrf' => true), 'backup_delete' => array('process' => 'process_delete', 'csrf' => true), 'backup_download' => array('process' => 'process_download', 'csrf' => true));
parent::__construct(false, $handler, false, null, 'user_id');
$this->process();
}
示例15: __construct
public function __construct()
{
$this->user->check_auth('a_members_man');
$handler = array('editid' => array('process' => 'display_edit'), 'adddialog' => array('process' => 'display_edit'), 'defaultroles' => array('process' => 'save_defaultrole'), 'reset' => array('process' => 'process_reset', 'csrf' => true));
parent::__construct(false, $handler, array('roles', 'name'), null, 'selected_ids[]');
$this->process();
}