LdapTools\Operation\QueryOperation::getScope PHP Method

getScope() public method

Get the scope type for the query operation.
public getScope ( ) : null | string
return null | string
    public function getScope()
    {
        return $this->properties['scope'];
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Based on the query operation, determine whether paging should be used.
  *
  * @param QueryOperation $operation
  * @return bool
  */
 protected function shouldUsePaging(QueryOperation $operation)
 {
     return $operation->getUsePaging() && $operation->getScope() != QueryOperation::SCOPE['BASE'];
 }