Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F456671
DivinerRenderer.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
910 B
Referenced Files
None
Subscribers
None
DivinerRenderer.php
View Options
<?php
abstract
class
DivinerRenderer
{
private
$publisher
;
private
$atomStack
;
public
function
setPublisher
(
$publisher
)
{
$this
->
publisher
=
$publisher
;
return
$this
;
}
public
function
getPublisher
()
{
return
$this
->
publisher
;
}
public
function
getConfig
(
$key
,
$default
=
null
)
{
return
$this
->
getPublisher
()->
getConfig
(
$key
,
$default
);
}
protected
function
pushAtomStack
(
DivinerAtom
$atom
)
{
$this
->
atomStack
[]
=
$atom
;
return
$this
;
}
protected
function
peekAtomStack
()
{
return
end
(
$this
->
atomStack
);
}
protected
function
popAtomStack
()
{
array_pop
(
$this
->
atomStack
);
return
$this
;
}
abstract
public
function
renderAtom
(
DivinerAtom
$atom
);
abstract
public
function
renderAtomSummary
(
DivinerAtom
$atom
);
abstract
public
function
renderAtomIndex
(
array
$refs
);
abstract
public
function
getHrefForAtomRef
(
DivinerAtomRef
$ref
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:40 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70491
Default Alt Text
DivinerRenderer.php (910 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment