本文整理汇总了PHP中Secure_area类的典型用法代码示例。如果您正苦于以下问题:PHP Secure_area类的具体用法?PHP Secure_area怎么用?PHP Secure_area使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Secure_area类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct('reports');
$this->load->helper('report');
$this->has_profit_permission = $this->Employee->has_module_action_permission('reports', 'show_profit', $this->Employee->get_logged_in_employee_info()->person_id);
$this->has_cost_price_permission = $this->Employee->has_module_action_permission('reports', 'show_cost_price', $this->Employee->get_logged_in_employee_info()->person_id);
}
开发者ID:ekchanthorn,项目名称:demo_loan,代码行数:7,代码来源:reports.php
示例2:
function __construct()
{
parent::__construct();
$this->load->library('sale_lib');
$this->load->model('Item');
$this->load->model('Cash');
}
开发者ID:jericmillena,项目名称:pos_cafe,代码行数:7,代码来源:cashier.php
示例3: __construct
public function __construct()
{
parent::__construct('sales');
$this->load->library('sale_lib');
$this->sale_lib->nameS = $this->sale_lib->get_mode() . '_';
$this->load->helper('report');
}
开发者ID:gocanto,项目名称:gocanto-pos,代码行数:7,代码来源:sales.php
示例4:
function __construct()
{
parent::__construct('sales');
$this->load->library('sale_lib');
$this->load->library('barcode_lib');
$this->Sale->create_sales_items_temp_table();
}
开发者ID:salikur,项目名称:opensourcepos,代码行数:7,代码来源:sales.php
示例5: __construct
public function __construct()
{
parent::__construct();
$this->load->model('Respuesta_model');
if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 4)) {
redirect('no_access/' . $module_id);
}
}
开发者ID:aeduc,项目名称:mideteed,代码行数:8,代码来源:Respuesta.php
示例6: __construct
public function __construct()
{
parent::__construct();
if ($key = $this->Appconfig->get('mc_api_key')) {
$this->load->library('MailChimp', array($key), 'MailChimp');
} else {
show_error($this->lang->line('common_mailchimp_dashboard_rejected'));
}
}
开发者ID:relwell,项目名称:PHP-Point-Of-Sale,代码行数:9,代码来源:mailchimpdash.php
示例7: __construct
public function __construct()
{
parent::__construct();
$this->load->model('ensayo_model');
$this->load->model('alumno_model');
$this->load->model('prueba_model');
$this->load->model('hojarespuesta_model');
$this->load->model('asignacionprueba_model');
$this->load->helper('date');
if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 1)) {
redirect('no_access/' . $module_id);
}
}
开发者ID:aeduc,项目名称:mideteed,代码行数:13,代码来源:Alumno.php
示例8: __construct
public function __construct()
{
parent::__construct();
$this->load->model('Prueba_model');
$this->load->model('alumno_model');
$this->load->model('colegio_model');
$this->load->model('profesor_model');
$this->load->model('registros_model');
$this->load->model('Asignacionprueba_model');
$this->load->model('comunas_model');
$this->load->model('usuario_model');
if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 2)) {
redirect('no_access/' . $module_id);
}
}
开发者ID:aeduc,项目名称:mideteed,代码行数:15,代码来源:Administrator.php
示例9: explode
function __construct()
{
parent::__construct('reports');
$method_name = $this->uri->segment(2);
$exploder = explode('_', $method_name);
preg_match("/(?:inventory)|([^_.]*)(?:_graph|_row)?\$/", $method_name, $matches);
preg_match("/^(.*?)([sy])?\$/", array_pop($matches), $matches);
$submodule_id = $matches[1] . (count($matches) > 2 ? $matches[2] : "s");
$employee_id = $this->Employee->get_logged_in_employee_info()->person_id;
// check access to report submodule
if (sizeof($exploder) > 1 && !$this->Employee->has_grant('reports_' . $submodule_id, $employee_id)) {
redirect('no_access/reports/reports_' . $submodule_id);
}
$this->load->helper('report');
}
开发者ID:zerubbabel,项目名称:pos,代码行数:15,代码来源:reports.php
示例10: __construct
public function __construct()
{
parent::__construct();
$this->load->model('prueba_model');
$this->load->model('profesor_model');
$this->load->model('alumno_model');
$this->load->model('hojarespuesta_model');
$this->load->model('asignacionprueba_model');
$this->load->model('respuesta_model');
$this->load->model('ensayo_model');
$this->load->model('colegio_model');
$this->load->model('nivel_model');
$this->load->model('estadistica_model');
if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 3)) {
redirect('no_access/' . $module_id);
}
}
开发者ID:aeduc,项目名称:mideteed,代码行数:17,代码来源:Profesor.php
示例11: __construct
public function __construct()
{
parent::__construct('config');
}
开发者ID:gocanto,项目名称:gocanto-pos,代码行数:4,代码来源:config.php
示例12:
function __construct()
{
parent::__construct('item_kits');
}
开发者ID:jericmillena,项目名称:pos_cafe,代码行数:4,代码来源:item_kits.php
示例13: __construct
public function __construct()
{
parent::__construct();
}
开发者ID:gocanto,项目名称:gocanto-pos,代码行数:4,代码来源:home.php
示例14:
function __construct($module_id = null)
{
parent::__construct($module_id);
}
开发者ID:MaizerGomes,项目名称:opensourcepos,代码行数:4,代码来源:person_controller.php
示例15:
function __construct()
{
parent::__construct('reports');
$this->load->helper('report');
}
开发者ID:MaizerGomes,项目名称:PHP-Point-Of-Sale,代码行数:5,代码来源:reports.php
示例16: __construct
public function __construct()
{
parent::__construct('share_inventories');
$this->load->library('receiving_lib');
}
开发者ID:gocanto,项目名称:gocanto-pos,代码行数:5,代码来源:share_inventories.php
示例17:
function __construct()
{
parent::__construct('config');
$this->load->library('barcode_lib');
}
开发者ID:zerubbabel,项目名称:pos,代码行数:5,代码来源:config.php
示例18:
function __construct()
{
parent::__construct();
$this->load->model(array('m_home', 'm_member'));
}
开发者ID:inuryuutarou,项目名称:forex,代码行数:5,代码来源:Member.php
示例19:
function __construct()
{
parent::__construct('receivings');
$this->load->library('receiving_lib');
$this->load->library('barcode_lib');
}
开发者ID:ssaiifull,项目名称:opensourcepos,代码行数:6,代码来源:receivings.php
示例20: __construct
public function __construct()
{
parent::__construct();
$this->load->model('asignacionprueba_model');
$this->load->model('estadistica_model');
}
开发者ID:aeduc,项目名称:mideteed,代码行数:6,代码来源:Testing.php
注:本文中的Secure_area类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论