Merge pull request #7927 from 3Dgoo/patch-3

Fixing FormAction API documentation
This commit is contained in:
Robbie Averill 2018-03-15 16:12:20 +13:00 committed by GitHub
commit d64fedd5e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<?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.
*
@ -25,7 +25,7 @@ class FormAction extends FormField {
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.
*
* @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
* @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
*/