public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function getPolicyShortName()
public function getPolicyShortName()
Return
wild |
public function getPolicyIcon()
public function getPolicyIcon()
Return
wild |
public function getPolicyTagClasses()
public function getPolicyTagClasses()
Return
wild |
public function getPolicySpecialRuleDescriptions()
public function getPolicySpecialRuleDescriptions()
Return
wild |
public function getPolicyForEdit($capability)
public function getPolicyForEdit($capability)
Parameters
$capability |
Return
wild |
public function getDefaultPolicy()
public function getDefaultPolicy()
Return
wild |
final protected function newRule()
final protected function newRule()
Return
wild |
final public function setViewer($viewer)
final public function setViewer($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
final public function getViewer()
final public function getViewer()
Return
wild |
final public function setObject($object)
final public function setObject($object)
Parameters
PhabricatorPolicyCodexInterface | $object |
Return
wild |
final public function getObject()
final public function getObject()
Return
wild |
final public function setCapability($capability)
final public function setCapability($capability)
Parameters
$capability |
Return
wild |
final public function getCapability()
final public function getCapability()
Return
wild |
final public function setPolicy($policy)
final public function setPolicy($policy)
Parameters
PhabricatorPolicy | $policy |
Return
wild |
final public function getPolicy()
final public function getPolicy()
Return
wild |
final public static function newFromObject($object, $viewer)
final public static function newFromObject($object, $viewer)
Parameters
PhabricatorPolicyCodexInterface | $object | |
PhabricatorUser | $viewer |
Return
wild |