示例#1
0
 public function executeAutoComplete()
 {
     if ($this->getRequestParameter('requester_a')) {
         $this->key = $this->getRequestParameter('requester_a');
     } elseif ($this->getRequestParameter('requester_p')) {
         $this->key = $this->getRequestParameter('requester_p');
     }
     $this->keyword = $this->key;
     $this->requesters = RequesterPeer::getByFirstLetter($this->keyword);
 }