Ejemplo n.º 1
0
 /**
  * Add the discussion search to the search.
  * 
  * @since 2.0.0
  * @package Vanilla
  *
  * @param object $Sender SearchModel
  */
 public function SearchModel_Search_Handler($Sender)
 {
     $SearchModel = new VanillaSearchModel();
     $SearchModel->Search($Sender);
 }
Ejemplo n.º 2
0
 /**
  * Add the discussion search to the search.
  * @param SearchController $Sender
  */
 public function SearchModel_Search_Handler($Sender)
 {
     include_once dirname(__FILE__) . DS . '..' . DS . 'models' . DS . 'class.vanillasearchmodel.php';
     $SearchModel = new VanillaSearchModel();
     $SearchModel->Search($Sender);
 }