MCPcopy Index your code
hub / github.com/atomicon/codeigniter-theme / __construct

Method __construct

libraries/theme.php:18–28  ·  view source on GitHub ↗

* Theme::__construct() * @return void */

()

Source from the content-addressed store, hash-verified

16 * @return void
17 */
18 function __construct()
19 {
20 //get the CI instance
21 $this->_ci = &get_instance();
22
23 //get the config
24 $this->_config = config_item('theme');
25
26 //set the theme
27 $this->set_theme($this->_config['theme']);
28 }
29
30 /**
31 * Theme::set_theme()

Callers

nothing calls this directly

Calls 1

set_themeMethod · 0.95

Tested by

no test coverage detected