public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function getPriority()
public function getPriority()
Determine the order in which blocks execute. Blocks with smaller priority numbers execute sooner than blocks with larger priority numbers. The default priority for blocks is 500.
Priorities are used to disambiguate syntax which can match multiple patterns. For example, - Lorem ipsum... may be a code block or a list.
Return
int | Priority at which this block should execute. |
final public function getPriorityVector()
final public function getPriorityVector()
Return
wild |
abstract public function markupText($text, $children)
abstract public function markupText($text, $children)
Parameters
$text | ||
$children |
Return
wild |
abstract public function getMatchingLineCount($lines, $cursor)
abstract public function getMatchingLineCount($lines, $cursor)
This will get an array of unparsed lines and return the number of lines from the first array value that it can parse.
Parameters
array | $lines | $lines |
int | $cursor | $cursor |
Return
int |
protected function didMarkupText()
protected function didMarkupText()
Return
wild |
public function willMarkupChildBlocks()
public function willMarkupChildBlocks()
Return
wild |
public function didMarkupChildBlocks()
public function didMarkupChildBlocks()
Return
wild |
final public function setEngine($engine)
final public function setEngine($engine)
Parameters
PhutilRemarkupEngine | $engine |
Return
wild |
final protected function getEngine()
final protected function getEngine()
Return
wild |
public function setMarkupRules($rules)
public function setMarkupRules($rules)
Parameters
array | $rules |
Return
wild |
private function updateRules()
private function updateRules()
Return
wild |
final public function getMarkupRules()
final public function getMarkupRules()
Return
wild |
final public function postprocess()
final public function postprocess()
Return
wild |
final protected function applyRules($text)
final protected function applyRules($text)
Parameters
$text |
Return
wild |
public function supportsChildBlocks()
public function supportsChildBlocks()
Return
wild |
public function extractChildText($text)
public function extractChildText($text)
Parameters
$text |
Return
wild |
protected function renderRemarkupTable($out_rows)
protected function renderRemarkupTable($out_rows)
Parameters
array | $out_rows |
Return
wild |