mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-04 23:28:41 +02:00
Fixing FormAction API documentation
The API documentation for FormAction is currently broken: http://api.silverstripe.org/3/FormAction.html This is because there are unescaped tags in the class description. This fix changes the tag in the description to be escaped.
This commit is contained in:
parent
cf35aadfe5
commit
97f22cbaa5
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The action buttons are <input type="submit"> as well as <button> tags.
|
* The action buttons are <input type="submit"> as well as <button> tags.
|
||||||
*
|
*
|
||||||
* Upon clicking the button below will redirect the user to doAction under the current controller.
|
* Upon clicking the button below will redirect the user to doAction under the current controller.
|
||||||
*
|
*
|
||||||
@ -25,7 +25,7 @@ class FormAction extends FormField {
|
|||||||
protected $action;
|
protected $action;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables the use of <button> instead of <input>
|
* Enables the use of <button> instead of <input>
|
||||||
* in {@link Field()} - for more customizeable styling.
|
* in {@link Field()} - for more customizeable styling.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
@ -154,7 +154,7 @@ class FormAction extends FormField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable or disable the rendering of this action as a <button />
|
* Enable or disable the rendering of this action as a <button />
|
||||||
*
|
*
|
||||||
* @param boolean
|
* @param boolean
|
||||||
* @return $this
|
* @return $this
|
||||||
@ -165,7 +165,7 @@ class FormAction extends FormField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if this action is rendered as a <button />
|
* Determine if this action is rendered as a <button />
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user