Beispiel #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;
 }
Beispiel #2
0
 /**
  * Returns an Application Object
  * @return \Jazz\IApplication
  */
 public function getApplication()
 {
     return \Jazz\Application::instance();
 }
Beispiel #3
0
 /**
  * Returns Application Settings
  * @return \Jazz\Application\ISettings
  */
 protected function getSettings()
 {
     return \Jazz\Application::instance()->getSettings();
 }
Beispiel #4
0
 /**
  * Returns the Application Object
  * @return \Jazz\Application
  */
 protected function getApplication()
 {
     return \Jazz\Application::instance();
 }