Page MenuHomeMTRNord's Forge

final class HeraldEngine
Phorge Technical Documentation (Herald)

This class is not documented.

Methods

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<HeraldRule>$rules$rules
HeraldAdapter$object$object
Return
array<HeraldEffect>

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

This method is not documented.
Parameters
array<HeraldEffect>$effects$effects
HeraldAdapter$adapter$adapter
array<HeraldRule>$rules$rules
Return
array

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