CI_Profiler::set_sections PHP 메소드

set_sections() 공개 메소드

Sets the private _compile_* properties to enable/disable Profiler sections
public set_sections ( $config ) : void
리턴 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;
            }
        }
    }