Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95681888
PhutilRemarkupBlockInterpreter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 18, 08:16
Size
686 B
Mime Type
text/x-php
Expires
Fri, Dec 20, 08:16 (2 d)
Engine
blob
Format
Raw Data
Handle
23039919
Attached To
rPHU libphutil
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
);
}
}
}
Event Timeline
Log In to Comment