public function getSection()
    {
        if (empty($this->getVariable('section')) && !empty($this->path)) {
            $this->setSection(explode('/', $this->path)[0]);
        }

        return $this->getVariable('section');
    }
public function getSection()
    {
        if (empty($this->getVariable('section')) && !empty($this->path)) {
            $this->setSection(explode('/', $this->path)[0]);
        }

        return $this->getVariable('section');
    }
public function getSection ( ) { if ( empty ( $ this -> getVariable ( 'section' ) ) && ! empty ( $ this -> path ) ) { $ this -> setSection ( explode ( '/' , $ this -> path ) [ 0 ] ) ; } return $ this -> getVariable ( 'section' ) ; }
Get section.

@return mixed|false
Get section .