/** * @return CArrayList|null */ private static function getCacheBiographys() { if (is_null(self::$_cacheBiographys)) { self::$_cacheBiographys = new CArrayList(); } return self::$_cacheBiographys; }
public function actionDelete() { $biography = CBiographyManager::getBiography(CRequest::getInt("id")); $biography->remove(); $this->redirect("index.php?action=index"); }