function SubPanelSearchForm($seed, $module, $subPanel, $options = array())
 {
     $this->subPanel = $subPanel;
     parent::SearchForm($seed, $module, 'DetailView', $options);
 }
 /**
  * This builds an EmployeesSearchForm from a classic search form.
  */
 public function __construct(SearchForm $oldSearchForm)
 {
     parent::SearchForm($oldSearchForm->seed, $oldSearchForm->module, $oldSearchForm->action);
     $this->setup(array($oldSearchForm->module => $oldSearchForm->searchdefs), array($oldSearchForm->module => $oldSearchForm->searchFields), $oldSearchForm->tpl, $oldSearchForm->displayView, $oldSearchForm->listViewDefs);
     $this->lv = $oldSearchForm->lv;
 }
 function ProductSearchForm($seed, $module, $action = 'index', $where = array())
 {
     parent::SearchForm($seed, $module, $action);
     $this->__where = $where;
 }