Page MenuHomePhorge

abstract class HeraldAction
Phorge Technical Documentation (Herald)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

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$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

abstract public function getHeraldActionName()

This method is not documented.
Return
wild

abstract public function supportsObject($object)

This method is not documented.
Parameters
$object
Return
wild

abstract public function supportsRuleType($rule_type)

This method is not documented.
Parameters
$rule_type
Return
wild

abstract public function applyEffect($object, $effect)

This method is not documented.
Parameters
$object
HeraldEffect$effect
Return
wild

abstract public function renderActionDescription($value)

This method is not documented.
Parameters
$value
Return
wild

public function getRequiredAdapterStates()

This method is not documented.
Return
wild

protected function renderActionEffectDescription($type, $data)

This method is not documented.
Parameters
$type
$data
Return
wild

public function getActionGroupKey()

This method is not documented.
Return
wild

public function getActionsForObject($object)

This method is not documented.
Parameters
$object
Return
wild

protected function getDatasource()

This method is not documented.
Return
wild

protected function getDatasourceValueMap()

This method is not documented.
Return
wild

public function getHeraldActionStandardType()

This method is not documented.
Return
wild

public function getHeraldActionValueType()

This method is not documented.
Return
wild

public function willSaveActionValue($value)

This method is not documented.
Parameters
$value
Return
wild

public function getEditorValue($viewer, $target)

This method is not documented.
Parameters
PhabricatorUser$viewer
$target
Return
wild

final public function setAdapter($adapter)

This method is not documented.
Parameters
HeraldAdapter$adapter
Return
wild

final public function getAdapter()

This method is not documented.
Return
wild

final public function setViewer($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

final public function getViewer()

This method is not documented.
Return
wild

final public function getActionConstant()

This method is not documented.
Return
wild

final public static function getAllActions()

This method is not documented.
Return
wild

protected function logEffect($type, $data)

This method is not documented.
Parameters
$type
$data
Return
wild

final public function getApplyTranscript($effect)

This method is not documented.
Parameters
HeraldEffect$effect
Return
wild

protected function getActionEffectMap()

This method is not documented.
Return
wild

private function getActionEffectSpec($type)

This method is not documented.
Parameters
$type
Return
wild

final public function renderActionEffectIcon($type, $data)

This method is not documented.
Parameters
$type
$data
Return
wild

final public function renderActionEffectColor($type, $data)

This method is not documented.
Parameters
$type
$data
Return
wild

final public function renderActionEffectName($type, $data)

This method is not documented.
Parameters
$type
$data
Return
wild

protected function renderHandleList($phids)

This method is not documented.
Parameters
$phids
Return
wild

protected function loadStandardTargets($phids, $allowed_types, $current_value)

This method is not documented.
Parameters
array$phids
array$allowed_types
array$current_value
Return
wild

protected function getStandardEffectMap()

This method is not documented.
Return
wild

final public function renderEffectDescription($type, $data)

This method is not documented.
Parameters
$type
$data
Return
wild

public function getPHIDsAffectedByAction($record)

This method is not documented.
Parameters
HeraldActionRecord$record
Return
wild

public function isActionAvailable()

This method is not documented.
Return
wild