コード例 #1
0
ファイル: Container.php プロジェクト: rtsantos/mais
 /**
  * 
  * @return ZendT_View_Helper_Hotkeys_Container
  */
 public static function getInstance()
 {
     if (!self::$_instance instanceof ZendT_View_Helper_Hotkeys_Container) {
         self::$_instance = new ZendT_View_Helper_Hotkeys_Container();
     }
     return self::$_instance;
 }
コード例 #2
0
ファイル: Hotkeys.php プロジェクト: rtsantos/mais
 /**
  * Hotkeys helper
  *
  * @param  string $name
  * @return ZendT_View_Helper_Hotkeys_Container
  */
 public function hotkeys()
 {
     return ZendT_View_Helper_Hotkeys_Container::getInstance();
 }