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()Inherited
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.
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 |
public function willMarkupChildBlocks()Inherited
wild |
public function didMarkupChildBlocks()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 highlightSource($text, $options)
$text | ||
array | $options |
wild |
private static function isKnownLanguageCode($lang)
Check if a language code can be used in a generic flavored markdown.
string | $lang | Language code |
bool |
private static function knownLanguageCodes()
Get the available languages for a generic flavored markdown.
array | Languages as array keys. Ignore the value. |
private function guessFilenameExtension($name)
Get the extension from a filename.
string | $name | "/path/to/something.name" |
null|string | ".name" |