예제 #1
0
파일: Builder.php 프로젝트: cosmow/riak
 /**
  * Set the $language option for $text criteria.
  *
  * This method must be called after text().
  *
  * @see Expr::language()
  * @see http://docs.mongodb.org/manual/reference/operator/text/
  * @param string $language
  * @return self
  */
 public function language($language)
 {
     $this->expr->language($language);
     return $this;
 }
예제 #2
0
파일: Match.php 프로젝트: cosmow/riak
 /**
  * Set the $language option for $text criteria.
  *
  * This method must be called after text().
  *
  * @see Expr::language()
  * @see http://docs.mongodb.org/manual/reference/operator/text/
  * @param string $language
  * @return self
  */
 public function language($language)
 {
     $this->query->language($language);
     return $this;
 }