public function build() { parent::build(); header('Content-Type: ' . $this->photo->getMimeType($this->dimension_shortname)); readfile($this->photo->getFilePath($this->dimension_shortname)); exit; }
public function build() { parent::build(); $form = $this->ui->getWidget('login_form'); $this->layout->startCapture('content', true); $this->ui->display(); $this->layout->endCapture(); }
public function build() { parent::build(); if (!$this->app->config->pinhole->search_engine_indexable) { $this->displayDisallowString(); } else { $this->displayGeneralRules(); } exit; }
public function build() { parent::build(); $this->buildInternal(); $this->layout->startCapture('header_content'); $this->displayHeaderContent(); $this->layout->endCapture(); $this->layout->startCapture('sidebar_content'); $this->displaySidebarContent(); $this->layout->endCapture(); $this->layout->startCapture('content'); Pinhole::displayAd($this->app, 'top'); $this->displayContent(); Pinhole::displayAd($this->app, 'bottom'); $this->layout->endCapture(); }