Page MenuHomePhorge

final class HeraldEngine
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.

public function setDryRun($dry_run)

This method is not documented.
Parameters
$dry_run
Return
wild

public function getDryRun()

This method is not documented.
Return
wild

public function getRule($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function loadRulesForAdapter($adapter)

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

public static function loadAndApplyRules($adapter)

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

private function resetRuleStack()

This method is not documented.
Return
wild

private function hasRuleOnStack($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

private function pushRuleStack($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

private function getRuleStack()

This method is not documented.
Return
wild

private function resetRuleResults()

This method is not documented.
Return
wild

private function setRuleResult($rule, $result)

This method is not documented.
Parameters
HeraldRule$rule
HeraldRuleResult$result
Return
wild

private function hasRuleResult($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

private function getRuleResult($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

public function applyRules($rules, $object)

This method is not documented.
Parameters
array$rules
HeraldAdapter$object
Return
wild

public function applyEffects($effects, $adapter, $rules)

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

public function getTranscript()

This method is not documented.
Return
wild

public function doesRuleMatch($rule, $object)

This method is not documented.
Parameters
HeraldRule$rule
HeraldAdapter$object
Return
wild

private function getRuleMatchResult($rule, $object)

This method is not documented.
Parameters
HeraldRule$rule
HeraldAdapter$object
Return
wild

private function doesConditionMatch($rule, $condition, $adapter)

This method is not documented.
Parameters
HeraldRule$rule
HeraldCondition$condition
HeraldAdapter$adapter
Return
wild

private function getProfiledConditionMatch($adapter, $rule, $condition, $field_value)

This method is not documented.
Parameters
HeraldAdapter$adapter
HeraldRule$rule
HeraldCondition$condition
$field_value
Return
wild

private function getProfiledObjectFieldValue($adapter, $field_key)

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

private function getObjectFieldValue($field_key)

This method is not documented.
Parameters
$field_key
Return
wild

protected function getRuleEffects($rule, $object)

This method is not documented.
Parameters
HeraldRule$rule
HeraldAdapter$object
Return
wild

private function canAuthorViewObject($rule, $adapter)

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

private function canRuleApplyToObject($rule, $adapter)

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

private function newRuleTranscript($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

private function newConditionTranscript($rule, $condition)

This method is not documented.
Parameters
HeraldRule$rule
HeraldCondition$condition
Return
wild

private function newApplyTranscript($adapter, $rule, $action)

This method is not documented.
Parameters
HeraldAdapter$adapter
HeraldRule$rule
HeraldActionRecord$action
Return
wild

private function isForbidden($rule, $adapter)

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

private function pushProfilerField($field_key)

This method is not documented.
Parameters
$field_key
Return
wild

private function popProfilerField($field_key)

This method is not documented.
Parameters
$field_key
Return
wild

private function pushProfilerRule($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

private function popProfilerRule($rule)

This method is not documented.
Parameters
HeraldRule$rule
Return
wild

private function pushProfilerStack($type, $key)

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

private function popProfilerStack($type, $key)

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

private function getProfile()

This method is not documented.
Return
wild