CI_Profiler::set_sections PHP Method

set_sections() public method

Sets the private _compile_* properties to enable/disable Profiler sections
public set_sections ( $config ) : void
return void
    public function set_sections($config)
    {
        foreach ($config as $method => $enable) {
            if (in_array($method, $this->_available_sections)) {
                $this->_compile_[$method] = $enable !== FALSE ? TRUE : FALSE;
            }
        }
    }