Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111681290
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
Sun, May 4, 09:25
Size
686 B
Mime Type
text/x-php
Expires
Tue, May 6, 09:25 (2 d)
Engine
blob
Format
Raw Data
Handle
25957916
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