/** * Get current view name or null * * @return string|null */ public function getViewName() { return $this->_view instanceof \Kalibri\View ? $this->_view->getName() : null; }