public function withPHIDs($phids)
public function withPHIDs($phids)
Parameters
| array | $phids |
Return
| wild |
public function withNames($names)
public function withNames($names)
Parameters
| array | $names |
Return
| wild |
public function withTypes($types)
public function withTypes($types)
Parameters
| array | $types |
Return
| wild |
protected function loadPage()
protected function loadPage()
Return
| wild |
public function getNamedResults()
public function getNamedResults()
Return
| wild |
private function loadObjectsByName($types, $names)
private function loadObjectsByName($types, $names)
Parameters
| array | $types | |
| array | $names |
Return
| wild |
private function loadObjectsByPHID($types, $phids)
private function loadObjectsByPHID($types, $phids)
Parameters
| array | $types | |
| array | $phids |
Return
| wild |
protected function didFilterResults($filtered)
protected function didFilterResults($filtered)
Parameters
| array | $filtered |
Return
| wild |
protected function shouldDisablePolicyFiltering()
protected function shouldDisablePolicyFiltering()
This query disables policy filtering if the only required capability is the view capability.
The view capability is always checked in the subqueries, so we do not need to re-filter results. For any other set of required capabilities, we do.
Return
| wild |
public function getQueryApplicationClass()
public function getQueryApplicationClass()
Return
| wild |
public static function loadInvalidPHIDsForViewer($viewer, $phids)
public static function loadInvalidPHIDsForViewer($viewer, $phids)
Select invalid or restricted PHIDs from a list.
PHIDs are invalid if their objects do not exist or can not be seen by the viewer. This method is generally used to validate that PHIDs affected by a transaction are valid.
Parameters
| PhabricatorUser | $viewer | Viewer. |
| list<phid> | $phids | List of ostensibly valid PHIDs. |
Return
| list<phid> | List of invalid or restricted PHIDs. |