Example #1
0
 /**
  * Return the field (index) searched by a basic search
  *
  * @access  public
  * @return  string   The searched index
  */
 public function getSearchIndex()
 {
     // Use normal parent method for non-advanced searches.
     if ($this->searchType == $this->basicSearchType) {
         return parent::getSearchIndex();
     } else {
         return null;
     }
 }