function __construct() { parent::__construct(); $document = JFactory::getDocument(); $viewType = $document->getType(); $viewName = 'usermap'; $this->view = $this->getView($viewName, $viewType); }
public function __construct() { parent::__construct(); $document = JFactory::getDocument(); $viewType = $document->getType(); $viewName = 'notification'; $this->view = $this->getView($viewName, $viewType); }