public function setDryRun($dry_run)
public function setDryRun($dry_run)
Parameters
$dry_run |
Return
wild |
public function getDryRun()
public function getDryRun()
Return
wild |
public function getRule($phid)
public function getRule($phid)
Parameters
$phid |
Return
wild |
public function loadRulesForAdapter($adapter)
public function loadRulesForAdapter($adapter)
Parameters
HeraldAdapter | $adapter |
Return
wild |
public static function loadAndApplyRules($adapter)
public static function loadAndApplyRules($adapter)
Parameters
HeraldAdapter | $adapter |
Return
wild |
private function resetRuleStack()
private function resetRuleStack()
Return
wild |
private function hasRuleOnStack($rule)
private function hasRuleOnStack($rule)
Parameters
HeraldRule | $rule |
Return
wild |
private function pushRuleStack($rule)
private function pushRuleStack($rule)
Parameters
HeraldRule | $rule |
Return
wild |
private function getRuleStack()
private function getRuleStack()
Return
wild |
private function resetRuleResults()
private function resetRuleResults()
Return
wild |
private function setRuleResult($rule, $result)
private function setRuleResult($rule, $result)
Parameters
HeraldRule | $rule | |
HeraldRuleResult | $result |
Return
wild |
private function hasRuleResult($rule)
private function hasRuleResult($rule)
Parameters
HeraldRule | $rule |
Return
wild |
private function getRuleResult($rule)
private function getRuleResult($rule)
Parameters
HeraldRule | $rule |
Return
wild |
public function applyRules($rules, $object)
public function applyRules($rules, $object)
Parameters
array | $rules | |
HeraldAdapter | $object |
Return
wild |
public function applyEffects($effects, $adapter, $rules)
public function applyEffects($effects, $adapter, $rules)
Parameters
array | $effects | |
HeraldAdapter | $adapter | |
array | $rules |
Return
wild |
public function getTranscript()
public function getTranscript()
Return
wild |
public function doesRuleMatch($rule, $object)
public function doesRuleMatch($rule, $object)
Parameters
HeraldRule | $rule | |
HeraldAdapter | $object |
Return
wild |
private function getRuleMatchResult($rule, $object)
private function getRuleMatchResult($rule, $object)
Parameters
HeraldRule | $rule | |
HeraldAdapter | $object |
Return
wild |
private function doesConditionMatch($rule, $condition, $adapter)
private function doesConditionMatch($rule, $condition, $adapter)
Parameters
HeraldRule | $rule | |
HeraldCondition | $condition | |
HeraldAdapter | $adapter |
Return
wild |
private function getProfiledConditionMatch($adapter, $rule, $condition, $field_value)
private function getProfiledConditionMatch($adapter, $rule, $condition, $field_value)
Parameters
HeraldAdapter | $adapter | |
HeraldRule | $rule | |
HeraldCondition | $condition | |
$field_value |
Return
wild |
private function getProfiledObjectFieldValue($adapter, $field_key)
private function getProfiledObjectFieldValue($adapter, $field_key)
Parameters
HeraldAdapter | $adapter | |
$field_key |
Return
wild |
private function getObjectFieldValue($field_key)
private function getObjectFieldValue($field_key)
Parameters
$field_key |
Return
wild |
protected function getRuleEffects($rule, $object)
protected function getRuleEffects($rule, $object)
Parameters
HeraldRule | $rule | |
HeraldAdapter | $object |
Return
wild |
private function canAuthorViewObject($rule, $adapter)
private function canAuthorViewObject($rule, $adapter)
Parameters
HeraldRule | $rule | |
HeraldAdapter | $adapter |
Return
wild |
private function canRuleApplyToObject($rule, $adapter)
private function canRuleApplyToObject($rule, $adapter)
Parameters
HeraldRule | $rule | |
HeraldAdapter | $adapter |
Return
wild |
private function newRuleTranscript($rule)
private function newRuleTranscript($rule)
Parameters
HeraldRule | $rule |
Return
wild |
private function newConditionTranscript($rule, $condition)
private function newConditionTranscript($rule, $condition)
Parameters
HeraldRule | $rule | |
HeraldCondition | $condition |
Return
wild |
private function newApplyTranscript($adapter, $rule, $action)
private function newApplyTranscript($adapter, $rule, $action)
Parameters
HeraldAdapter | $adapter | |
HeraldRule | $rule | |
HeraldActionRecord | $action |
Return
wild |
private function isForbidden($rule, $adapter)
private function isForbidden($rule, $adapter)
Parameters
HeraldRule | $rule | |
HeraldAdapter | $adapter |
Return
wild |
private function pushProfilerField($field_key)
private function pushProfilerField($field_key)
Parameters
$field_key |
Return
wild |
private function popProfilerField($field_key)
private function popProfilerField($field_key)
Parameters
$field_key |
Return
wild |
private function pushProfilerRule($rule)
private function pushProfilerRule($rule)
Parameters
HeraldRule | $rule |
Return
wild |
private function popProfilerRule($rule)
private function popProfilerRule($rule)
Parameters
HeraldRule | $rule |
Return
wild |
private function pushProfilerStack($type, $key)
private function pushProfilerStack($type, $key)
Parameters
$type | ||
$key |
Return
wild |
private function popProfilerStack($type, $key)
private function popProfilerStack($type, $key)
Parameters
$type | ||
$key |
Return
wild |
private function getProfile()
private function getProfile()
Return
wild |