本文整理汇总了PHP中page_generic类的典型用法代码示例。如果您正苦于以下问题:PHP page_generic类的具体用法?PHP page_generic怎么用?PHP page_generic使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了page_generic类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: __construct
public function __construct()
{
$this->user->check_auths(array('a_usergroups_man', 'a_usergroups_grpleader'), 'or');
$handler = array('save' => array('process' => 'user_group_save', 'csrf' => true), 'del_group_users' => array('process' => 'user_group_users_del', 'csrf' => true), 'add_group_users' => array('process' => 'user_group_users_save', 'csrf' => true), 'save_group_perms' => array('process' => 'save_group_permissions', 'csrf' => true), 'add_grpleader' => array('process' => 'process_add_grpleader', 'csrf' => true), 'remove_grpleader' => array('process' => 'process_remove_grpleader', 'csrf' => true), 'user_group_perms' => array('process' => 'display_grouppermlist'), 'grp_perms' => array('process' => 'display_grouppermlist'), 'g' => array('process' => 'edit'));
parent::__construct(false, $handler, array('user_groups', 'name'), null, 'user_group_ids[]');
$this->process();
}
开发者ID:rswiders,项目名称:core,代码行数:7,代码来源:manage_user_groups.php
示例17: __construct
public function __construct()
{
$this->user->check_auth('a_news_');
$handler = array('mode' => array('process' => 'delete_icon', 'value' => 'delicon', 'csrf' => true), 'deleteid' => array('process' => 'delete', 'csrf' => true));
parent::__construct(false, $handler);
$this->process();
}
开发者ID:ubick,项目名称:lorekeepers.org,代码行数:7,代码来源:manage_news_categories.php
示例18: __construct
public function __construct()
{
$handler = array();
$this->user->check_auth('u_item_view');
parent::__construct(false, $handler, array());
$this->process();
}
开发者ID:ubick,项目名称:lorekeepers.org,代码行数:7,代码来源:listitems.php
示例19: __construct
public function __construct()
{
$handler = array('closedstatus' => array(array('process' => 'close_raid', 'value' => 'close', 'csrf' => true), array('process' => 'open_raid', 'value' => 'open', 'csrf' => true)), 'ajax' => array(array('process' => 'role_ajax', 'value' => 'role')), 'savenote' => array('process' => 'save_raidnote', 'csrf' => true), 'update_status' => array('process' => 'update_status', 'csrf' => true), 'moderate_status' => array('process' => 'moderate_status', 'csrf' => true), 'confirmall' => array('process' => 'confirm_all', 'csrf' => true), 'ical' => array('process' => 'generate_ical'), 'add_notsigned' => array('process' => 'add_notsigned_chars', 'csrf' => true), 'changecharmenu' => array('process' => 'change_char', 'csrf' => true), 'changenotemenu' => array('process' => 'change_note', 'csrf' => true), 'guestid' => array('process' => 'delete_guest', 'csrf' => true));
$this->user->check_auth('u_calendar_view');
parent::__construct(false, $handler, array(), null, '', 'eventid');
$this->process();
}
开发者ID:ubick,项目名称:lorekeepers.org,代码行数:7,代码来源:viewcalraid.php
示例20: __construct
public function __construct()
{
$this->user->check_auth('a_users_massmail');
$handler = array('data' => array('process' => 'process_data'), 'send' => array('process' => 'process_send', 'csrf' => true), 'submit' => array('process' => 'submit', 'csrf' => true));
parent::__construct(false, $handler, array('user', 'name'), null, 'user_id[]');
$this->process();
}
开发者ID:ubick,项目名称:lorekeepers.org,代码行数:7,代码来源:manage_massmail.php
注:本文中的page_generic类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论