當前位置: 首頁>>代碼示例>>PHP>>正文


PHP page_generic::__construct方法代碼示例

本文整理匯總了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();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:manage_ranks.php

示例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();
 }
開發者ID:briangann,項目名稱:core,代碼行數:7,代碼來源:manage_notifications.php

示例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();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:manage_calendars.php

示例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();
 }
開發者ID:ubick,項目名稱:lorekeepers.org,代碼行數:7,代碼來源:transform.php

示例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();
 }
開發者ID:ZerGabriel,項目名稱:plugin-guildbank,代碼行數:7,代碼來源:manage_bank_details.php

示例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();
 }
開發者ID:ubick,項目名稱:lorekeepers.org,代碼行數:7,代碼來源:manage_tasks.php

示例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();
 }
開發者ID:ubick,項目名稱:lorekeepers.org,代碼行數:7,代碼來源:import.php

示例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();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:manage_members.php

示例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();
 }
開發者ID:ZerGabriel,項目名稱:plugin-guildbank,代碼行數:7,代碼來源:manage_auctions.php

示例10: __construct

 public function __construct()
 {
     $this->user->check_auth('a_config_man');
     $handler = array();
     parent::__construct(false, $handler);
     $this->process();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:info_database.php

示例11: __construct

 public function __construct()
 {
     $handler = array();
     $this->user->check_auth('u_raid_view');
     parent::__construct(false, $handler, array(), null, '', 'r');
     $this->process();
 }
開發者ID:ubick,項目名稱:lorekeepers.org,代碼行數:7,代碼來源:viewraid.php

示例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();
 }
開發者ID:ubick,項目名稱:lorekeepers.org,代碼行數:7,代碼來源:calendar.php

示例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();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:manage_maintenance_user.php

示例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();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:manage_backup.php

示例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();
 }
開發者ID:rswiders,項目名稱:core,代碼行數:7,代碼來源:manage_roles.php


注:本文中的page_generic::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。