[ Index ] |
PHP Cross Reference of Phabricator |
![]() | Up one level | |
![]() | PhabricatorCursorPagedPolicyAwareQuery.php [source] [633 lines] | A query class which uses cursor-based paging. This paging is much more performant than offset-based paging in the presence of policy filtering. |
![]() | PhabricatorPolicyAwareQuery.php [source] [649 lines] | A @{class:PhabricatorQuery} which filters results according to visibility policies for the querying user. Broadly, this class allows you to implement a query that returns only objects the user is allowed to see. $results = id(new ExampleQuery()) ->setViewer($user) ->withConstraint($example) ->execute(); |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |