[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/herald/storage/ -> HeraldRule.php (summary)

(no description)

File Size: 325 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 31 functions

  getConfiguration()
  generatePHID()
  getRuleApplied()
  setRuleApplied()
  loadConditions()
  attachConditions()
  getConditions()
  loadActions()
  attachActions()
  getActions()
  loadEdits()
  logEdit()
  saveConditions()
  saveActions()
  saveChildren()
  delete()
  hasValidAuthor()
  attachValidAuthor()
  getAuthor()
  attachAuthor()
  isGlobalRule()
  isPersonalRule()
  isObjectRule()
  attachTriggerObject()
  getTriggerObject()
  getRuleExecutionOrderSortKey()
  getCapabilities()
  getPolicy()
  hasAutomaticCapability()
  describeAutomaticCapability()
  destroyObjectPermanently()

Functions
Functions that are not part of a class:

getConfiguration()   X-Ref
No description

generatePHID()   X-Ref
No description

getRuleApplied($phid)   X-Ref
No description

setRuleApplied($phid, $applied)   X-Ref
No description

loadConditions()   X-Ref
No description

attachConditions(array $conditions)   X-Ref
No description

getConditions()   X-Ref
No description

loadActions()   X-Ref
No description

attachActions(array $actions)   X-Ref
No description

getActions()   X-Ref
No description

loadEdits()   X-Ref
No description

logEdit($editor_phid, $action)   X-Ref
No description

saveConditions(array $conditions)   X-Ref
No description

saveActions(array $actions)   X-Ref
No description

saveChildren($table_name, array $children)   X-Ref
No description

delete()   X-Ref
No description

hasValidAuthor()   X-Ref
No description

attachValidAuthor($valid)   X-Ref
No description

getAuthor()   X-Ref
No description

attachAuthor(PhabricatorUser $user)   X-Ref
No description

isGlobalRule()   X-Ref
No description

isPersonalRule()   X-Ref
No description

isObjectRule()   X-Ref
No description

attachTriggerObject($trigger_object)   X-Ref
No description

getTriggerObject()   X-Ref
No description

getRuleExecutionOrderSortKey()   X-Ref
Get a sortable key for rule execution order.

Rules execute in a well-defined order: personal rules first, then object
rules, then global rules. Within each rule type, rules execute from lowest
ID to highest ID.

This ordering allows more powerful rules (like global rules) to override
weaker rules (like personal rules) when multiple rules exist which try to
affect the same field. Executing from low IDs to high IDs makes
interactions easier to understand when adding new rules, because the newest
rules always happen last.

return: string A sortable key for this rule.

getCapabilities()   X-Ref
No description

getPolicy($capability)   X-Ref
No description

hasAutomaticCapability($capability, PhabricatorUser $viewer)   X-Ref
No description

describeAutomaticCapability($capability)   X-Ref
No description

destroyObjectPermanently(PhabricatorDestructionEngine $engine)   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1