final public function setDropCaches($drop_caches)Inherited
final public function setDropCaches($drop_caches)
Inherited
Parameters
$drop_caches |
Return
wild |
final public function setRenderer($renderer)Inherited
final public function setRenderer($renderer)
Inherited
Parameters
DivinerRenderer | $renderer |
Return
wild |
final public function getRenderer()Inherited
final public function getRenderer()
Inherited
Return
wild |
final public function setConfig($config)Inherited
final public function setConfig($config)
Inherited
Parameters
array | $config |
Return
wild |
final public function getConfig($key, $default)Inherited
final public function getConfig($key, $default)
Inherited
Parameters
$key | ||
$default |
Return
wild |
final public function getConfigurationData()Inherited
final public function getConfigurationData()
Inherited
Return
wild |
final public function setAtomCache($cache)Inherited
final public function setAtomCache($cache)
Inherited
Parameters
DivinerAtomCache | $cache |
Return
wild |
final protected function getAtomFromGraphHash($graph_hash)Inherited
final protected function getAtomFromGraphHash($graph_hash)
Inherited
Parameters
$graph_hash |
Return
wild |
final protected function getAtomFromNodeHash($node_hash)Inherited
final protected function getAtomFromNodeHash($node_hash)
Inherited
Parameters
$node_hash |
Return
wild |
final protected function getSimilarAtoms($atom)Inherited
final protected function getSimilarAtoms($atom)
Inherited
Parameters
DivinerAtom | $atom |
Return
wild |
final protected function getAtomSimilarIndex($atom)Inherited
final protected function getAtomSimilarIndex($atom)
Inherited
DivinerPublisher
If a book contains multiple definitions of some atom, like some function f(), we assign them an arbitrary (but fairly stable) order and publish them as function/f/1/, function/f/2/, etc., or similar.
Parameters
DivinerAtom | $atom |
Return
wild |
protected function loadAllPublishedHashes()
protected function loadAllPublishedHashes()
Return
wild |
protected function deleteDocumentsByHash($hashes)
protected function deleteDocumentsByHash($hashes)
Parameters
array | $hashes |
Return
wild |
protected function createDocumentsByHash($hashes)
protected function createDocumentsByHash($hashes)
Parameters
array | $hashes |
Return
wild |
public function findAtomByRef($ref)
public function findAtomByRef($ref)
Parameters
DivinerAtomRef | $ref |
Return
wild |
final public function publishAtoms($hashes)Inherited
final public function publishAtoms($hashes)
Inherited
Parameters
array | $hashes |
Return
wild |
final protected function shouldGenerateDocumentForAtom($atom)Inherited
final protected function shouldGenerateDocumentForAtom($atom)
Inherited
Parameters
DivinerAtom | $atom |
Return
wild |
final public function getRepositoryPHID()Inherited
final public function getRepositoryPHID()
Inherited
Return
wild |
final public function setRepositoryPHID($repository_phid)Inherited
final public function setRepositoryPHID($repository_phid)
Inherited
Parameters
$repository_phid |
Return
wild |
private function getPublishCache()
private function getPublishCache()
Return
wild |
private function publishIndex()
private function publishIndex()
Return
wild |
private function addAtomToIndex($hash, $atom)
private function addAtomToIndex($hash, $atom)
Parameters
$hash | ||
DivinerAtom | $atom |
Return
wild |
private function writeDocument($atom, $content)
private function writeDocument($atom, $content)
Parameters
DivinerAtom | $atom | |
$content |
Return
wild |
private function getAtomRelativePath($atom)
private function getAtomRelativePath($atom)
Parameters
DivinerAtom | $atom |
Return
wild |