Exemplo n.º 1
0
 /**
  * @return CArrayList
  */
 private static function getCacheRates()
 {
     if (is_null(self::$_cacheRates)) {
         self::$_cacheRates = new CArrayList();
     }
     return self::$_cacheRates;
 }
 public function actionDelete()
 {
     $rate = CRatesManager::getRate(CRequest::getInt("id"));
     $rate->remove();
     $this->redirect("?action=index");
 }