Adldap\Query\Builder::whereStartsWith PHP 메소드

whereStartsWith() 공개 메소드

Adds a where starts with clause to the current query.
public whereStartsWith ( string $field, string $value ) : Builder
$field string
$value string
리턴 Builder
    public function whereStartsWith($field, $value)
    {
        return $this->where($field, Operator::$startsWith, $value);
    }

Usage Example

예제 #1
0
파일: Search.php 프로젝트: rieschl/Adldap2
 /**
  * Adds a where starts with clause to the current query.
  *
  * @param string $field
  * @param string $value
  *
  * @return $this
  */
 public function whereStartsWith($field, $value)
 {
     $this->query->whereStartsWith($field, $value);
     return $this;
 }