Ejemplo n.º 1
0
 private function matchingUrl($url)
 {
     $urls = Manager::urls();
     if (array_key_exists($url, $urls)) {
         return $urls[$url];
     }
 }
Ejemplo n.º 2
0
 public function deleteAction($id)
 {
     $model = Manager::findFirst($id);
     if ($this->request->isPost()) {
         $model->delete();
         $this->redirect($this->url->get() . 'seo/manager');
     }
     $this->view->model = $model;
     $this->helper->title('Deleting SEO-Manager record', true);
 }