/**
  * Shows the homepage
  *
  */
 public function indexAction()
 {
     $this->_helper->pageTitle('ot-index-index:title');
     $this->view->assign(array('appVersion' => Ot_Application_Version::getVersion(), 'appTitle' => $this->_helper->configVar('appTitle'), 'otVersion' => Ot_Version::VERSION, 'zfVersion' => Zend_Version::VERSION));
     /* The jQuery and jQueryUi library versions are acquired by the
      * javascript for this controller and inserted into the page that way.
      */
 }
示例#2
0
 /**
  * Returns the versions of OT Framework and Zend Framework used in the app.
  * 
  * No params required
  *
  */
 public function get($params)
 {
     return array('OTFramework' => Ot_Version::VERSION, 'ZendFramework' => Zend_Version::VERSION, 'Application' => Ot_Application_Version::getVersion());
 }
示例#3
0
 public function __construct()
 {
     $this->_appversion = Ot_Application_Version::getVersion();
     parent::__construct();
 }