protected function controller($check = null) {
        $controller = Util::camelToHyphen($this->view->getController()->getClassName());
        return $check ? ($check == $controller) : $controller;
    }
protected function controller($check = null) {
        $controller = Util::camelToHyphen($this->view->getController()->getClassName());
        return $check ? ($check == $controller) : $controller;
    }
protected function controller ( $ check = null ) { $ controller = Util :: camelToHyphen ( $ this -> view -> getController ( ) -> getClassName ( ) ) ; return $ check ? ( $ check == $ controller ) : $ controller ; }
Fetches the current controller
@param mixed $check Compare the controller with this and return boolean if
they are the same
@return mixed
Fetches the current controller