public function setObject($object)
public function setObject($object)
Parameters
PhabricatorPolicyInterface | $object |
Return
wild |
public function withPHIDs($phids)
public function withPHIDs($phids)
Parameters
array | $phids |
Return
wild |
public static function loadPolicies($viewer, $object)
public static function loadPolicies($viewer, $object)
Parameters
PhabricatorUser | $viewer | |
PhabricatorPolicyInterface | $object |
Return
wild |
public static function renderPolicyDescriptions($viewer, $object)
public static function renderPolicyDescriptions($viewer, $object)
Parameters
PhabricatorUser | $viewer | |
PhabricatorPolicyInterface | $object |
Return
wild |
protected function loadPage()
protected function loadPage()
Return
wild |
public static function isGlobalPolicy($policy)
public static function isGlobalPolicy($policy)
Parameters
$policy |
Return
wild |
public static function getGlobalPolicy($policy)
public static function getGlobalPolicy($policy)
Parameters
$policy |
Return
wild |
private static function getGlobalPolicies()
private static function getGlobalPolicies()
Return
wild |
private static function getGlobalPolicyName($policy)
private static function getGlobalPolicyName($policy)
Parameters
$policy |
Return
wild |
private static function getGlobalPolicyShortName($policy)
private static function getGlobalPolicyShortName($policy)
Parameters
$policy |
Return
wild |
private function loadObjectPolicyPHIDs()
private function loadObjectPolicyPHIDs()
Return
wild |
protected function shouldDisablePolicyFiltering()
protected function shouldDisablePolicyFiltering()
Return
wild |
public function getQueryApplicationClass()
public function getQueryApplicationClass()
Return
wild |
public static function isSpecialPolicy($identifier)
public static function isSpecialPolicy($identifier)
Parameters
$identifier |
Return
wild |
public static function isObjectPolicy($identifier)
public static function isObjectPolicy($identifier)
Parameters
$identifier |
Return
wild |
public static function getObjectPolicy($identifier)
public static function getObjectPolicy($identifier)
Parameters
$identifier |
Return
wild |
public static function getObjectPolicyRule($identifier)
public static function getObjectPolicyRule($identifier)
Parameters
$identifier |
Return
wild |
public static function getObjectPolicies($object)
public static function getObjectPolicies($object)
Parameters
$object |
Return
wild |
public static function getObjectPolicyRules($object)
public static function getObjectPolicyRules($object)
Parameters
$object |
Return
wild |
public static function getDefaultPolicyForObject($viewer, $object, $capability)
public static function getDefaultPolicyForObject($viewer, $object, $capability)
Parameters
PhabricatorUser | $viewer | |
PhabricatorPolicyInterface | $object | |
$capability |
Return
wild |
private static function getDefaultObjectTypePolicyMap()
private static function getDefaultObjectTypePolicyMap()
Return
wild |