public function renderIndex($index) { $this->start(); $this->currentIndex = $this->indices[$index]; $this->current = $index; $this->blockConstruct(); $this->blockStart(); $this->content(); $this->blockDestruct(); $this->blockEnd(); $this->end(); }