public function set_sections($config) { foreach ($config as $method => $enable) { if (in_array($method, $this->_available_sections)) { $this->_compile_[$method] = $enable !== FALSE ? TRUE : FALSE; } } }