public function __construct() { parent::__construct(); $config = $this->session->userdata("db_config"); if ($config) { $this->db = $this->load->database($config, TRUE); } }
public function __construct() { parent::__construct(); // core seamless update $this->__update(); // module update if (!self::$module_updated) { self::$module_updated = TRUE; $this->__update_module(); } }
public function __construct() { parent::__construct(); // core seamless update $this->db->trans_start(); $this->__update(); $this->db->trans_complete(); // module update if (!self::$module_updated) { self::$module_updated = true; $this->__update_module(); } }
public function __construct() { parent::__construct(); $this->page_break_separator = "/<div(\\s)*style(\\s)*=(\\s)*\"page-break-after(\\s)*:(\\s)*always(;)*\"(\\s)*>(\\s)*<span(\\s)*style(\\s)*=(\\s)*\"display(\\s)*:(\\s)*none(;)*\">(\\s)* (\\s)*<\\/span>(\\s)*<\\/div>/i"; if (self::$__article_properties == NULL) { self::$__article_properties = array(); } $default_properties = array('is_article_cached' => FALSE, 'is_category_cached' => FALSE, 'is_category_article_cached' => FALSE, 'articles' => array(), 'categories' => array(), 'article_categories' => array(), 'photos' => array()); foreach ($default_properties as $key => $val) { if (!array_key_exists($key, self::$__article_properties)) { self::$__article_properties[$key] = $default_properties[$key]; } } }
public function __construct() { parent::__construct(); $this->page_break_separator = "/<div(\\s)*style(\\s)*=(\\s)*\"page-break-after(\\s)*:(\\s)*always(;)*\"(\\s)*>(\\s)*<span(\\s)*style(\\s)*=(\\s)*\"display(\\s)*:(\\s)*none(;)*\">(\\s)* (\\s)*<\\/span>(\\s)*<\\/div>/i"; }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->separator = '<div style="page-break-after: always;">' . PHP_EOL . ' <span style="display: none;"> </span></div>'; }
public function __construct() { parent::__construct(); $this->page_break_separator = '/(<div style=\\"page-break-after: always;\\">\\s*<span style=\\"display: none;\\"> <\\/span><\\/div>)/i'; }