Page MenuHomePhabricator

final class HeraldRule
Phabricator Technical Documentation (Herald)

This class is not documented.

Tasks

Configuring Storage

Other Methods

Methods

public static function pushStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

public static function popStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getDefaultStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getStorageNamespace()
Inherited

This method is not documented.
Return
wild

public function setForcedStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

protected function establishLiveConnection($mode)
Inherited

This method is not documented.
Parameters
$mode
Return
wild

private function newClusterConnection($application, $database, $mode)
Inherited

This method is not documented.
Parameters
$application
$database
$mode
Return
wild

private function raiseImproperWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseImpossibleWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnconfigured($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnreachable($database, $proxy)
Inherited

This method is not documented.
Parameters
$database
Exception$proxy
Return
wild

public function getTableName()
Inherited

This method is not documented.
Return
wild

public function getApplicationName()
Inherited

This method is not documented.
Return
wild

protected function getDatabaseName()
Inherited

This method is not documented.
Return
wild

public static function chunkSQL($fragments, $limit)
Inherited

PhabricatorLiskDAO

Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with qsprintf()) into chunks which will fit under the MySQL 'max_allowed_packet' limit.

If a statement is too large to fit within the limit, it is broken into its own chunk (but might fail when the query executes).

Parameters
array$fragments
$limit
Return
wild

protected function assertAttached($property)
Inherited

This method is not documented.
Parameters
$property
Return
wild

protected function assertAttachedKey($value, $key)
Inherited

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

protected function detectEncodingForStorage($string)
Inherited

This method is not documented.
Parameters
$string
Return
wild

protected function getUTF8StringFromStorage($string, $encoding)
Inherited

This method is not documented.
Parameters
$string
$encoding
Return
wild

protected function willReadData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

protected function willWriteData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

protected function getConfiguration()

This method is not documented.
Return
wild

public function generatePHID()

This method is not documented.
Return
wild

public function getRuleApplied($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function setRuleApplied($phid, $applied)

This method is not documented.
Parameters
$phid
$applied
Return
wild

public function loadConditions()

This method is not documented.
Return
wild

public function attachConditions($conditions)

This method is not documented.
Parameters
array$conditions
Return
wild

public function getConditions()

This method is not documented.
Return
wild

public function loadActions()

This method is not documented.
Return
wild

public function attachActions($actions)

This method is not documented.
Parameters
array$actions
Return
wild

public function getActions()

This method is not documented.
Return
wild

public function saveConditions($conditions)

This method is not documented.
Parameters
array$conditions
Return
wild

public function saveActions($actions)

This method is not documented.
Parameters
array$actions
Return
wild

protected function saveChildren($table_name, $children)

This method is not documented.
Parameters
$table_name
array$children
Return
wild

public function delete()

This method is not documented.
Return
wild

public function hasValidAuthor()

This method is not documented.
Return
wild

public function attachValidAuthor($valid)

This method is not documented.
Parameters
$valid
Return
wild

public function getAuthor()

This method is not documented.
Return
wild

public function attachAuthor($user)

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

public function isGlobalRule()

This method is not documented.
Return
wild

public function isPersonalRule()

This method is not documented.
Return
wild

public function isObjectRule()

This method is not documented.
Return
wild

public function attachTriggerObject($trigger_object)

This method is not documented.
Parameters
$trigger_object
Return
wild

public function getTriggerObject()

This method is not documented.
Return
wild

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
stringA sortable key for this rule.

public function getMonogram()

This method is not documented.
Return
wild

public function getURI()

This method is not documented.
Return
wild

public function getEditorSortVector()

This method is not documented.
Return
wild

public function getEditorDisplayName()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function setRepetitionPolicyStringConstant($value)

This method is not documented.
Parameters
$value
Return
wild

public function isRepeatEvery()

This method is not documented.
Return
wild

public function isRepeatFirst()

This method is not documented.
Return
wild

public function isRepeatOnChange()

This method is not documented.
Return
wild

public static function getRepetitionPolicySelectOptionMap()

This method is not documented.
Return
wild

private static function getRepetitionPolicyMap()

This method is not documented.
Return
wild
This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function getCapabilities()

This method is not documented.
Return
wild

public function getPolicy($capability)

This method is not documented.
Parameters
$capability
Return
wild

public function hasAutomaticCapability($capability, $viewer)

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

public function describeAutomaticCapability($capability)

This method is not documented.
Parameters
$capability
Return
wild

public function isAutomaticallySubscribed($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function destroyObjectPermanently($engine)

This method is not documented.
Parameters
PhabricatorDestructionEngine$engine
Return
wild