Page MenuHomePhorge

DivinerRenderer.php
No OneTemporary

Size
937 B
Referenced Files
None
Subscribers
None

DivinerRenderer.php

<?php
abstract class DivinerRenderer extends Phobject {
private $publisher;
private $atomStack = array();
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

Mime Type
text/x-php
Expires
Tue, May 13, 1:11 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124279
Default Alt Text
DivinerRenderer.php (937 B)

Event Timeline