Page MenuHomec4science

PhutilRemarkupBlockInterpreter.php
No OneTemporary

File Metadata

Created
Mon, Nov 4, 08:04

PhutilRemarkupBlockInterpreter.php

<?php
abstract class PhutilRemarkupBlockInterpreter {
private $engine;
final public function setEngine($engine) {
$this->engine = $engine;
return $this;
}
final public function getEngine() {
return $this->engine;
}
/**
* @return string
*/
abstract public function getInterpreterName();
abstract public function markupContent($content, array $argv);
protected function markupError($string) {
if ($this->getEngine()->isTextMode()) {
return '('.$string.')';
} else {
return phutil_tag(
'div',
array(
'class' => 'remarkup-interpreter-error',
),
$string);
}
}
}

Event Timeline