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

orWhereEndsWith() 공개 메소드

Adds an or where ends with clause to the current query.
public orWhereEndsWith ( string $field, string $value ) : Builder
$field string
$value string
리턴 Builder
    public function orWhereEndsWith($field, $value)
    {
        return $this->orWhere($field, Operator::$endsWith, $value);
    }

Usage Example

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