protected function getObjectNamePrefix()
protected function getObjectNamePrefix()
Return
wild |
protected function loadObjects($ids)
protected function loadObjects($ids)
Parameters
array | $ids |
Return
wild |
public function getPriority()Inherited
public function getPriority()
Inherited
Return
wild |
protected function getObjectNamePrefixBeginsWithWordCharacter()Inherited
protected function getObjectNamePrefixBeginsWithWordCharacter()
Inherited
Return
wild |
protected function getObjectIDPattern()Inherited
protected function getObjectIDPattern()
Inherited
Return
wild |
protected function shouldMarkupObject($params)Inherited
protected function shouldMarkupObject($params)
Inherited
Parameters
array | $params |
Return
wild |
protected function getObjectNameText($object, $handle, $id)Inherited
protected function getObjectNameText($object, $handle, $id)
Inherited
Parameters
$object | ||
PhabricatorObjectHandle | $handle | |
$id |
Return
wild |
protected function loadHandles($objects)Inherited
protected function loadHandles($objects)
Inherited
Parameters
array | $objects |
Return
wild |
protected function getObjectHref($object, $handle, $id)Inherited
protected function getObjectHref($object, $handle, $id)
Inherited
Parameters
$object | ||
PhabricatorObjectHandle | $handle | |
$id |
Return
wild |
protected function renderObjectRefForAnyMedia($object, $handle, $anchor, $id)Inherited
protected function renderObjectRefForAnyMedia($object, $handle, $anchor, $id)
Inherited
Parameters
$object | ||
PhabricatorObjectHandle | $handle | |
$anchor | ||
$id |
Return
wild |
protected function renderObjectRef($object, $handle, $anchor, $id)Inherited
protected function renderObjectRef($object, $handle, $anchor, $id)
Inherited
Parameters
$object | ||
PhabricatorObjectHandle | $handle | |
$anchor | ||
$id |
Return
wild |
protected function renderObjectEmbedForAnyMedia($object, $handle, $options)Inherited
protected function renderObjectEmbedForAnyMedia($object, $handle, $options)
Inherited
Parameters
$object | ||
PhabricatorObjectHandle | $handle | |
$options |
Return
wild |
protected function renderObjectEmbed($object, $handle, $options)
protected function renderObjectEmbed($object, $handle, $options)
Parameters
$object | ||
PhabricatorObjectHandle | $handle | |
$options |
Return
wild |
protected function renderObjectTagForMail($text, $href, $handle)Inherited
protected function renderObjectTagForMail($text, $href, $handle)
Inherited
Parameters
$text | ||
$href | ||
PhabricatorObjectHandle | $handle |
Return
wild |
protected function renderHovertag($name, $href, $attr)Inherited
protected function renderHovertag($name, $href, $attr)
Inherited
Parameters
$name | ||
$href | ||
array | $attr |
Return
wild |
public function apply($text)Inherited
public function apply($text)
Inherited
Parameters
$text |
Return
wild |
private function getObjectEmbedPattern()Inherited
private function getObjectEmbedPattern()
Inherited
Return
wild |
private function getObjectReferencePattern()Inherited
private function getObjectReferencePattern()
Inherited
Return
wild |
public function extractReferences($text)Inherited
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 | $text | Text to match rules against. |
Return
wild | Matches, suitable for writing unit tests against. |
public function markupObjectEmbed($matches)Inherited
public function markupObjectEmbed($matches)
Inherited
Parameters
array | $matches |
Return
wild |
public function markupObjectReference($matches)Inherited
public function markupObjectReference($matches)
Inherited
Parameters
array | $matches |
Return
wild |
private function markupObject($params)Inherited
private function markupObject($params)
Inherited
Parameters
array | $params |
Return
wild |
public function didMarkupText()Inherited
public function didMarkupText()
Inherited
Return
wild |
private function getFileOptions($option_string)
private function getFileOptions($option_string)
Parameters
$option_string |
Return
wild |
private function renderImageFile($file, $handle, $options)
private function renderImageFile($file, $handle, $options)
Parameters
PhabricatorFile | $file | |
PhabricatorObjectHandle | $handle | |
array | $options |
Return
wild |
private function renderAudioFile($file, $handle, $options)
private function renderAudioFile($file, $handle, $options)
Parameters
PhabricatorFile | $file | |
PhabricatorObjectHandle | $handle | |
array | $options |
Return
wild |
private function renderVideoFile($file, $handle, $options)
private function renderVideoFile($file, $handle, $options)
Parameters
PhabricatorFile | $file | |
PhabricatorObjectHandle | $handle | |
array | $options |
Return
wild |
private function renderMediaFile($tag, $file, $handle, $options)
private function renderMediaFile($tag, $file, $handle, $options)
Parameters
$tag | ||
PhabricatorFile | $file | |
PhabricatorObjectHandle | $handle | |
array | $options |
Return
wild |
private function renderFileLink($file, $handle, $options)
private function renderFileLink($file, $handle, $options)
Parameters
PhabricatorFile | $file | |
PhabricatorObjectHandle | $handle | |
array | $options |
Return
wild |
private function parseDimension($string)
private function parseDimension($string)
Parameters
$string |
Return
wild |