Ejemplo n.º 1
0
 public function setcategoriesAction()
 {
     $this->isAdmin();
     if ($_POST) {
         $Page = new Model_Page();
         $Page->setCategories($_POST);
         $PageID = $_POST['PageID'];
         $this->_redirect('/page/edit/pid/' . $PageID);
     }
     $this->_redirect('/page/list');
 }