Page MenuHomeContribution Center
Diviner Phabricator Tech Docs DiffusionRepositoryRemarkupRule

final class DiffusionRepositoryRemarkupRule
Phabricator Technical Documentation (Diffusion)

This class is not documented.

Methods

protected function getObjectNamePrefix()

This method is not documented.
Return
wild

protected function loadObjects($ids)

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

public function getPriority()

This method is not documented.
Return
wild

protected function getObjectNamePrefixBeginsWithWordCharacter()
Inherited

This method is not documented.
Return
wild

protected function getObjectIDPattern()

This method is not documented.
Return
wild

protected function shouldMarkupObject($params)
Inherited

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

protected function getObjectNameText($object, $handle, $id)
Inherited

This method is not documented.
Parameters
$object
PhabricatorObjectHandle$handle
$id
Return
wild

protected function loadHandles($objects)
Inherited

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

protected function getObjectHref($object, $handle, $id)
Inherited

This method is not documented.
Parameters
$object
PhabricatorObjectHandle$handle
$id
Return
wild

protected function renderObjectRefForAnyMedia($object, $handle, $anchor, $id)
Inherited

This method is not documented.
Parameters
$object
PhabricatorObjectHandle$handle
$anchor
$id
Return
wild

protected function renderObjectRef($object, $handle, $anchor, $id)
Inherited

This method is not documented.
Parameters
$object
PhabricatorObjectHandle$handle
$anchor
$id
Return
wild

protected function renderObjectEmbedForAnyMedia($object, $handle, $options)
Inherited

This method is not documented.
Parameters
$object
PhabricatorObjectHandle$handle
$options
Return
wild

protected function renderObjectEmbed($object, $handle, $options)
Inherited

This method is not documented.
Parameters
$object
PhabricatorObjectHandle$handle
$options
Return
wild

protected function renderObjectTagForMail($text, $href, $handle)
Inherited

This method is not documented.
Parameters
$text
$href
PhabricatorObjectHandle$handle
Return
wild

protected function renderHovertag($name, $href, $attr)
Inherited

This method is not documented.
Parameters
$name
$href
array$attr
Return
wild

public function apply($text)
Inherited

This method is not documented.
Parameters
$text
Return
wild

private function getObjectEmbedPattern()
Inherited

This method is not documented.
Return
wild

private function getObjectReferencePattern()
Inherited

This method is not documented.
Return
wild

public function extractReferences($text)
Inherited

PhabricatorObjectRemarkupRule

Extract matched object references from a block of text.

This is intended to make it easy to write unit tests for object remarkup rules. Production code is not normally expected to call this method.

Parameters
string$textText to match rules against.
Return
wildMatches, suitable for writing unit tests against.

public function markupObjectEmbed($matches)
Inherited

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

public function markupObjectReference($matches)
Inherited

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

private function markupObject($params)
Inherited

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

public function didMarkupText()
Inherited

This method is not documented.
Return
wild