Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->categories = isset($_GET['category']) && is_array($_GET['category']) ? $_GET['category'] : array(3);
     foreach ($this->categories as $index => $id) {
         $this->categories[$index] = (int) $id;
         // allow integers only
     }
     $this->chooser = new Elite_Vaf_Block_Search_CategoryChooser();
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->setTemplate('vaflinks/cms.phtml');
 }
 function setTemplate($template)
 {
     $this->searchStrategy->setTemplate($template);
     parent::setTemplate($template);
     return $this;
 }