CI_Profiler::set_sections PHP Méthode

set_sections() public méthode

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