index = $index; $this->class = $index->getPageIndexClass(); } protected function html_content() { $index = $this->index->getPageIndex(); echo '