コード例 #1
0
ファイル: category.php プロジェクト: klas/matware-libraries
 /**
  * The public entry point for the class.
  *
  * @return	void
  * @since	0.5.6
  * @throws	Exception
  */
 public function upgrade()
 {
     if (parent::upgrade()) {
         // Rebuild the categories table
         $table = JTable::getInstance('Category', 'JTable', array('dbo' => $this->_db));
         if (!$table->rebuild()) {
             throw new Exception($table->getError());
         }
     }
 }