Exemplo n.º 1
0
 /**
  * Installs this Extension
  *
  * @return bool TRUE on success or FALSE in case of an error
  */
 public function install()
 {
     if (parent::install()) {
         $result = $this->installPropertyTables("yg_ext_" . $this->_code . "_cblocks");
         if (Singleton::cache_config()->getVar("CONFIG/INVALIDATEON/EXTENSION_INSTALL") == "true") {
             Singleton::FC()->emptyBucket();
         }
         return $result;
     }
     return false;
 }