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. |
final public function getCapabilityKey()Inherited
final public function getCapabilityKey()
Inherited
PhabricatorPolicyCapability
Get the unique key identifying this capability. This key must be globally unique. Application capabilities should be namespaced. For example:
application.create
Return
string | Globally unique capability key. |
public function getCapabilityName()
public function getCapabilityName()
PhabricatorPolicyCapability
Return a human-readable descriptive name for this capability, like "Can View".
PhabricatorBadgesCreateCapability
Return
string | Human-readable name describing the capability. |
public function describeCapabilityRejection()
public function describeCapabilityRejection()
PhabricatorPolicyCapability
Return a human-readable string describing what not having this capability prevents the user from doing. For example:
- You do not have permission to edit this object.
- You do not have permission to create new tasks.
PhabricatorBadgesCreateCapability
Return
string | Human-readable name describing what failing a check for this capability prevents the user from doing. |
public function shouldAllowPublicPolicySetting()Inherited
public function shouldAllowPublicPolicySetting()
Inherited
PhabricatorPolicyCapability
Can this capability be set to "public"? Broadly, this is only appropriate for view and view-related policies.
Return
bool | True to allow the "public" policy. Returns false by default. |
final public static function getCapabilityByKey($key)Inherited
final public static function getCapabilityByKey($key)
Inherited
Parameters
$key |
Return
wild |
final public static function getCapabilityMap()Inherited
final public static function getCapabilityMap()
Inherited
Return
wild |