예제 #1
0
파일: Lexeme.php 프로젝트: gridguyz/search
 /**
  * @return  string
  */
 public function toRepresentation()
 {
     return parent::toRepresentation() . ($this->isPrefix ? '*' : '');
 }
예제 #2
0
파일: Phrase.php 프로젝트: gridguyz/search
 /**
  * @return  string
  */
 public function toRepresentation()
 {
     return '"' . str_replace('"', '""', parent::toRepresentation()) . '"';
 }