Example #1
0
 /**
  * @return string
  */
 protected function getCursorName()
 {
     if (is_null($this->cursorName)) {
         $this->cursorName = 'cursor_' . dechex(crc32(time() . $this->dao->getTable()));
     }
     return $this->cursorName;
 }
Example #2
0
 /**
  * @return FullText
  **/
 public function toMapped(ProtoDAO $dao, JoinCapableQuery $query)
 {
     return new $this($dao->guessAtom($this->field, $query, $dao->getTable()), $this->words, $this->logic);
 }