Exemple #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;
     }
 }
Exemple #2
0
 public function passContentKeywords($fields = array('title', 'intro', 'content'), $text = '')
 {
     parent::passContentKeywords($fields);
 }