mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
7fab739efd
commit
4527aaf57a
@ -355,7 +355,7 @@ abstract class Form extends Zend_Form
|
||||
*
|
||||
* This method should be used for testing purposes only
|
||||
*
|
||||
* @param bool $disabled
|
||||
* @param bool $disabled Set true in order to disable CSRF tokens in this form (default: true), otherwise false
|
||||
*
|
||||
* @see tokenDisabled
|
||||
*/
|
||||
|
@ -38,6 +38,7 @@ class CommandForm extends Form
|
||||
{
|
||||
/**
|
||||
* Create an instance name containing hidden field
|
||||
*
|
||||
* @return Zend_Form_Element_Hidden
|
||||
*/
|
||||
private function createInstanceHiddenField()
|
||||
@ -60,7 +61,8 @@ class CommandForm extends Form
|
||||
|
||||
/**
|
||||
* Get the author name
|
||||
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getAuthorName()
|
||||
{
|
||||
|
@ -99,7 +99,7 @@ class CustomNotificationForm extends CommandForm
|
||||
/**
|
||||
* Create Custom Notification from request data
|
||||
*
|
||||
* @return \Icinga\Protocol\Commandpipe\CustomNotification
|
||||
* @return CustomNotification
|
||||
*/
|
||||
public function getCustomNotification()
|
||||
{
|
||||
|
@ -258,8 +258,9 @@ class ScheduleDowntimeForm extends WithChildrenCommandForm
|
||||
/**
|
||||
* Change validators at runtime
|
||||
*
|
||||
* @param array $data The user provided data that will go into validation
|
||||
*
|
||||
* @see Form::preValidation
|
||||
* @param array $data
|
||||
*/
|
||||
protected function preValidation(array $data)
|
||||
{
|
||||
|
@ -83,7 +83,6 @@ class EditBackendForm extends Form
|
||||
/**
|
||||
* Set a custom array of resources to be used in this form instead of the ones from DbAdapterFactory
|
||||
* (used for testing)
|
||||
*
|
||||
*/
|
||||
public function setResources($resources)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user