public function __construct(IndexConfig $config, $name, IndexPage $parent, $count) { $this->config = $config; $this->name = $name; $this->parent = $parent; $this->count = $count; $this->setTitle($config->getTitle()); }
protected function init() { parent::init(); $this->initTarget(); $this->initRootHref(); $this->initTemplate(); $this->initConversionProcess(); $this->initHeadingsProcess(); $this->initTocProcess(); $this->initRenderingProcess(); }
protected function init() { parent::init(); $this->initTarget(); $this->initRootHref(); $this->initCommonMarkExtensions(); $this->initTemplate(); $this->initTocDepth(); $this->initCopyright(); $this->initConversionProcess(); $this->initHeadingsProcess(); $this->initCopyImageProcess(); $this->initTocProcess(); $this->initRenderingProcess(); $this->initCopyrightProcess(); }