Exemplo n.º 1
0
 /**
  *
  * @return Gpf_Db_Table_Versions
  */
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Exemplo n.º 2
0
 private function getInstalledVersion()
 {
     try {
         return Gpf_Db_Table_Versions::getInstance()->getLatestVersion($this->application);
     } catch (Exception $e) {
     }
     return '0.0.0';
 }
Exemplo n.º 3
0
 protected function computeLatestInstalledApplicationVersion()
 {
     return $this->installedVersion = Gpf_Db_Table_Versions::getInstance()->getLatestVersion($this->getCode());
 }
Exemplo n.º 4
0
 protected function computeLatestInstalledApplicationVersion()
 {
     return Gpf_Db_Table_Versions::getInstance()->getLatestVersion(array($this->getCode(), 'paplite'));
 }
Exemplo n.º 5
0
 public function init()
 {
     $this->setTable(Gpf_Db_Table_Versions::getInstance());
     parent::init();
 }