Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F568239
PhutilRemarkupBlockInterpreter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
PhutilRemarkupBlockInterpreter.php
View Options
<?php
abstract
class
PhutilRemarkupBlockInterpreter
extends
Phobject
{
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
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 1:20 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
111433
Default Alt Text
PhutilRemarkupBlockInterpreter.php (686 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment