[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/query/policy/

FolderUp one level  
FilePhabricatorCursorPagedPolicyAwareQuery.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.
FilePhabricatorPolicyAwareQuery.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