icingaweb2/library/Icinga/Web/Wizard/Page.php

55 lines
962 B
PHP
Raw Normal View History

2014-05-13 14:24:51 +02:00
<?php
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
namespace Icinga\Web\Wizard;
use Icinga\Web\Form;
class Page extends Form
{
/**
* Whether a CSRF token should not be added to this wizard page
*
* @var bool
*/
protected $tokenDisabled = true;
/**
* The title of this wizard page
*
* @var string
*/
protected $title = '';
/**
* Set the title for this wizard page
*
* @param string $title The title to set
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* Return the title of this wizard page
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Return a config containing all values of this wizard page
*
* @return Zend_Config
*/
public function getConfig()
{
return $this->getConfiguration();
}
}