本文整理汇总了PHP中get_per_page_value函数的典型用法代码示例。如果您正苦于以下问题:PHP get_per_page_value函数的具体用法?PHP get_per_page_value怎么用?PHP get_per_page_value使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_per_page_value函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
remove_featured_if_expired();
$this->PER_PAGE = get_per_page_value();
#defined in auth helper
$this->active_theme = get_active_theme();
$this->load->model('show_model');
$this->load->model('user/user_model');
$this->load->library('encrypt');
$this->load->helper('text');
$this->output->enable_profiler($this->config->item('debug_site'));
if (isset($_POST['view_orderby'])) {
$this->session->set_userdata('view_orderby', $this->input->post('view_orderby'));
}
if (isset($_POST['view_ordertype'])) {
$this->session->set_userdata('view_ordertype', $this->input->post('view_ordertype'));
}
$system_currency_type = get_settings('realestate_settings', 'system_currency_type', 0);
if ($system_currency_type == 0) {
$system_currency = get_currency_icon(get_settings('realestate_settings', 'system_currency', 'USD'));
} else {
$system_currency = get_settings('realestate_settings', 'system_currency', 'USD');
}
$this->session->set_userdata('system_currency', $system_currency);
$this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
}
开发者ID:ageo80,项目名称:test,代码行数:29,代码来源:show_core.php
示例2: __construct
public function __construct()
{
parent::__construct();
$curr_lang = $this->uri->segment(1) != '' ? $this->uri->segment(1) : 'en';
if ($curr_lang == 'ar') {
$this->config->set_item('language', 'arabic');
}
is_installed();
#defined in auth helper
remove_featured_if_expired();
checksavedlogin();
#defined in auth helper
if (!is_admin() && !is_agent()) {
if (count($_POST) <= 0) {
$this->session->set_userdata('req_url', current_url());
}
redirect(site_url('admin/auth'));
}
$this->per_page = get_per_page_value();
#defined in auth helper
$this->load->helper('text');
$this->load->model('show/show_model');
$this->load->model('admin/realestate_model');
$this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
}
开发者ID:firastunsi,项目名称:oskon,代码行数:25,代码来源:realestate_core.php
示例3: __construct
public function __construct()
{
parent::__construct();
$this->load->database();
$this->active_theme = get_active_theme();
$this->per_page = get_per_page_value();
#defined in auth helper
$this->form_validation->set_error_delimiters('<div class="alert alert-danger" style="margin-bottom:0;">', '</div>');
$this->load->helper('date');
$this->load->model('auth_model');
}
开发者ID:priyranjansingh,项目名称:classified,代码行数:11,代码来源:account_core.php
示例4: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
// if(!is_loggedin())
// {
// if(count($_POST)<=0)
// $this->session->set_userdata('req_url',current_url());
// redirect(site_url('account/trylogin'));
// }
$this->per_page = get_per_page_value();
$this->load->database();
$this->active_theme = get_active_theme();
$this->load->model('user/payment_model');
$this->form_validation->set_error_delimiters('<div class="alert alert-danger form-error">', '</div>');
}
开发者ID:GiovanniV,项目名称:Santa-Barbara-Business-Directory,代码行数:17,代码来源:payment_core.php
示例5: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
checksavedlogin();
#defined in auth helper
if (!is_admin()) {
if (count($_POST) <= 0) {
$this->session->set_userdata('req_url', current_url());
}
redirect(site_url('admin/auth'));
}
$this->per_page = get_per_page_value();
#defined in auth helper
$this->load->model('admin/plugins_model');
}
开发者ID:Ripudamangithub,项目名称:donopen,代码行数:17,代码来源:plugins_core.php
示例6: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
checksavedlogin();
#defined in auth helper
if (!is_admin() && !is_agent()) {
if (count($_POST) <= 0) {
$this->session->set_userdata('req_url', current_url());
}
redirect(site_url('admin/auth'));
}
$this->per_page = get_per_page_value();
#defined in auth helper
$this->load->model('admin_model');
$this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
}
开发者ID:Ripudamangithub,项目名称:donopen,代码行数:18,代码来源:admin_core.php
示例7: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
remove_featured_if_expired();
checksavedlogin();
#defined in auth helper
if (!is_admin() && $this->session->userdata('user_type') != 2) {
if (count($_POST) <= 0) {
$this->session->set_userdata('req_url', current_url());
}
redirect(site_url('admin/auth'));
}
$this->per_page = get_per_page_value();
#defined in auth helper
$this->load->helper('text');
$this->load->model('show/show_model');
$this->load->model('admin/realestate_model');
$this->form_validation->set_error_delimiters('<div class="alert alert-danger">', '</div>');
}
开发者ID:ageo80,项目名称:test,代码行数:21,代码来源:realestate_core.php
示例8: __construct
public function __construct()
{
parent::__construct();
is_installed();
#defined in auth helper
if (!is_loggedin()) {
$this->load->helper("url_helper");
if ($this->uri->segment(2) == "post-ad" or $this->uri->segment(2) == "create-ad") {
} else {
if (count($_POST) <= 0) {
$this->session->set_userdata('req_url', current_url());
}
redirect(site_url('account/trylogin'));
}
}
$this->per_page = get_per_page_value();
$this->load->database();
$this->active_theme = get_active_theme();
$this->load->model('user/post_model');
$this->form_validation->set_error_delimiters('<div class="alert alert-danger form-error">', '</div>');
}
开发者ID:Ripudamangithub,项目名称:donopen,代码行数:21,代码来源:user_core.php
注:本文中的get_per_page_value函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论