/**
* Page title.
*
- * @return page title
+ * @return string page title
*/
function title()
function showBody()
{
- $this->elementStart('body', array('id' => 'error'));
- $this->elementStart('div', array('id' => 'wrap'));
+ $this->elementStart('body', ['id' => 'error']);
+ $this->elementStart('div', ['id' => 'wrap']);
$this->showHeader();
$this->showCore();
$this->showFooter();
function showCore()
{
- $this->elementStart('div', array('id' => 'core'));
- $this->elementStart('div', array('id' => 'aside_primary_wrapper'));
- $this->elementStart('div', array('id' => 'content_wrapper'));
- $this->elementStart('div', array('id' => 'site_nav_local_views_wrapper'));
+ $this->elementStart('div', ['id' => 'core']);
+ $this->elementStart('div', ['id' => 'aside_primary_wrapper']);
+ $this->elementStart('div', ['id' => 'content_wrapper']);
+ $this->elementStart('div', ['id' => 'site_nav_local_views_wrapper']);
$this->showContentBlock();
$this->elementEnd('div');
$this->elementEnd('div');
function showHeader()
{
- $this->elementStart('div', array('id' => 'header'));
+ $this->elementStart('div', ['id' => 'header']);
$this->showLogo();
$this->showPrimaryNav();
$this->elementEnd('div');
/**
* Display content.
*
- * @return nothing
+ * @return void
*/
function showContent()
{
- $this->element('div', array('class' => 'info'), $this->message);
+ $this->element('div', ['class' => 'info'], $this->message);
}
}