public function __construct(array $vars) { $format = !empty($_REQUEST['format']) ? $_REQUEST['format'] : 'html'; parent::__construct('admin', $format, $vars); $this->blocks[] = new Block('people/list.inc', ['people' => $this->people]); $this->blocks[] = new Block('pageNavigation.inc', ['paginator' => $this->people]); }
public function __construct(array $vars) { parent::__construct('admin', 'html', $vars); $this->blocks[] = new Block('users/updateForm.inc', ['user' => $this->user]); if ($this->user->getId()) { $this->blocks[] = new Block('people/info.inc', ['person' => $this->user]); } }
public function __construct(array $vars) { $format = !empty($_REQUEST['format']) ? $_REQUEST['format'] : 'html'; parent::__construct('map', $format, $vars); $this->blocks['panel1'][] = new Block('maps/searchForm.inc'); $this->blocks['panel1'][] = new Block('maps/relatedLinks.inc', ['linksMarkdown' => $this->map->getRelatedMarkdown()]); $this->blocks[] = new Block('maps/view.inc', ['map' => $this->map]); }
public function __construct(array $vars = null) { $format = !empty($_REQUEST['format']) ? $_REQUEST['format'] : 'html'; parent::__construct('default', $format, $vars); $this->blocks[] = new Block('loginForm.inc', ['return_url' => $this->return_url]); }
public function __construct(array $vars) { $format = !empty($_REQUEST['format']) ? $_REQUEST['format'] : 'html'; parent::__construct('map', $format, $vars); $this->blocks[] = new Block('maps/updateForm.inc', ['map' => $this->map]); }
public function __construct(array $vars = null) { $format = !empty($_REQUEST['format']) ? $_REQUEST['format'] : 'html'; parent::__construct('map', $format, $vars); }
public function __construct(array $vars) { parent::__construct('admin', 'html', $vars); $this->blocks[] = new Block('people/updateForm.inc', ['person' => $this->person, 'return_url' => $this->return_url]); }
public function __construct(array $vars) { parent::__construct('admin', 'html', $vars); $this->blocks[] = new Block('users/list.inc', ['users' => $this->users]); $this->blocks[] = new Block('pageNavigation.inc', ['paginator' => $this->users]); }
public function __construct(array $vars) { $format = !empty($_REQUEST['format']) ? $_REQUEST['format'] : 'html'; parent::__construct('admin', $format, $vars); $this->blocks[] = new Block('people/info.inc', ['person' => $this->person]); }
public function __construct(array $vars = null) { header('HTTP/1.1 403 Forbidden', true, 403); parent::__construct('admin', 'html', $vars); }
public function __construct(array $vars = null) { header('HTTP/1.1 404 Not Found', true, 404); parent::__construct('admin', 'html', $vars); $this->blocks[] = new Block('404.inc'); }