Beispiel #1
0
 public function initAssignment($assignment, $article = 0)
 {
     parent::initAssignment($assignment, $article);
     if ($this->request->option != 'com_zoo' && !isset($this->request->idname)) {
         return;
     }
     switch ($this->request->idname) {
         case 'item_id':
             $this->request->view = 'item';
             break;
         case 'category_id':
             $this->request->view = 'category';
             break;
     }
 }
 public function passContentKeywords($fields = array('title', 'intro', 'content'), $text = '')
 {
     parent::passContentKeywords($fields);
 }