Exemple #1
0
 /**
  *
  * @return Application_Model_SceneMapper
  */
 public static function getInstance()
 {
     if(self::$_instance === null)
     {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Exemple #2
0
    public function getAction(){
        $sceneId = $this->_getParam('scene_id');

        $this->_helper->json(Application_Model_SceneMapper::getInstance()->getScene($sceneId));
    }