Exemple #1
0
 /**
  * Returns a View Object
  * @return \Jazz\IView
  */
 public function getView()
 {
     if ($this->_view === null) {
         $this->_view = \Jazz\Application::instance()->getFactory()->createView();
     }
     return $this->_view;
 }
Exemple #2
0
 /**
  * Returns an Application Object
  * @return \Jazz\IApplication
  */
 public function getApplication()
 {
     return \Jazz\Application::instance();
 }
Exemple #3
0
 /**
  * Returns Application Settings
  * @return \Jazz\Application\ISettings
  */
 protected function getSettings()
 {
     return \Jazz\Application::instance()->getSettings();
 }
Exemple #4
0
 /**
  * Returns the Application Object
  * @return \Jazz\Application
  */
 protected function getApplication()
 {
     return \Jazz\Application::instance();
 }