Page MenuHomeContribution Center
Diviner Phabricator Tech Docs PhabricatorObjectRemarkupRule

abstract class PhabricatorObjectRemarkupRule
Phabricator Technical Documentation (Remarkup)

This class is not documented.

Methods

abstract protected function getObjectNamePrefix()

This method is not documented.
Return
wild

abstract protected function loadObjects($ids)

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

public function getPriority()

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

protected function getObjectIDPattern()

This method is not documented.
Return
wild

protected function shouldMarkupObject($params)

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

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

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

protected function loadHandles($objects)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public function apply($text)

This method is not documented.
Parameters
$text
Return
wild

private function getObjectEmbedPattern()

This method is not documented.
Return
wild

private function getObjectReferencePattern()

This method is not documented.
Return
wild

public function extractReferences($text)

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)

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

public function markupObjectReference($matches)

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

private function markupObject($params)

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

public function didMarkupText()

This method is not documented.
Return
wild