Esempio n. 1
0
 public function postdeleteAction()
 {
     $id = $this->_getParam("id");
     $this->_product->delete($id);
     $this->redirect("index", "courses", "admin");
 }
Esempio n. 2
0
 public function remove($productType, $id)
 {
     $productEntity = $this->_product->get($productType, $id);
     $this->_setSession($productType, $productEntity, 0);
 }
Esempio n. 3
0
 public function indexAction()
 {
     $coursess = $this->_product->getsVisibleCourses("date_add ASC", null, null, TCVM::UseCache());
     $this->assign("coursess", $coursess);
     $this->title("TCVM Australia | Courses");
 }