Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90739569
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
Mon, Nov 4, 08:04
Size
669 B
Mime Type
text/x-php
Expires
Wed, Nov 6, 08:04 (2 d)
Engine
blob
Format
Raw Data
Handle
22127258
Attached To
rPHU libphutil
PhutilRemarkupBlockInterpreter.php
View Options
<?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
Log In to Comment