Adldap\Query\Builder::hasSelects PHP Method

hasSelects() public method

Returns true / false depending if the current object contains selects.
public hasSelects ( ) : boolean
return boolean
    public function hasSelects()
    {
        return count($this->getSelects()) > 0;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Returns true / false depending if the current object
  * contains selects.
  *
  * @return bool
  */
 public function hasSelects()
 {
     return $this->query->hasSelects();
 }