public function __get($name)Inherited
| $name |
| wild |
public function __set($name, $value)Inherited
| $name | ||
| $value |
| wild |
public function current()Inherited
| wild |
public function key()Inherited
| wild |
public function next()Inherited
| wild |
public function rewind()Inherited
| wild |
public function valid()Inherited
| wild |
private function throwOnAttemptedIteration()Inherited
| wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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.
| string | $key | Name of the constant. |
| int|null | $byte_limit | Maximum number of bytes permitted in the value. |
| string | Value of the constant. |
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.
This rule must apply before the Code block rule because it needs to win blocks which begin - Lorem ipsum.
| int | Priority at which this block should execute. |
final public function getPriorityVector()Inherited
| wild |
public function markupText($text, $children)
| $text | ||
| $children |
| wild |
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.
| array | $lines | $lines |
| int | $cursor | $cursor |
| int |
protected function didMarkupText()Inherited
| wild |
final public function setEngine($engine)Inherited
| PhutilRemarkupEngine | $engine |
| wild |
final protected function getEngine()Inherited
| wild |
public function setMarkupRules($rules)Inherited
| array | $rules |
| wild |
private function updateRules()Inherited
| wild |
final public function getMarkupRules()Inherited
| wild |
final public function postprocess()Inherited
| wild |
final protected function applyRules($text)Inherited
| $text |
| wild |
public function supportsChildBlocks()Inherited
| wild |
public function extractChildText($text)Inherited
| $text |
| wild |
protected function renderRemarkupTable($out_rows)Inherited
| array | $out_rows |
| wild |
private function buildTree($items, $l, $r, $cur_level)
See additional notes in markupText().
| array | $items | |
| $l | ||
| $r | ||
| $cur_level |
| wild |
private function adjustTreeStyleInformation(&$tree)
See additional notes in markupText().
| array | &$tree |
| wild |
private function renderTree($tree, $level, $has_marks, $starts_at)
See additional notes in markupText().
| array | $tree | |
| $level | ||
| $has_marks | ||
| $starts_at |
| wild |