mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update phpdoc for FormField::setRightTitle regarding escaped HTML
This commit is contained in:
parent
8a6686bc0f
commit
c0ffe2797a
@ -490,7 +490,7 @@ class FormField extends RequestHandler
|
|||||||
* Gets the contextual label than can be used for additional field description.
|
* Gets the contextual label than can be used for additional field description.
|
||||||
* Can be shown to the right or under the field in question.
|
* Can be shown to the right or under the field in question.
|
||||||
*
|
*
|
||||||
* @return string Contextual label text.
|
* @return string Contextual label text
|
||||||
*/
|
*/
|
||||||
public function RightTitle()
|
public function RightTitle()
|
||||||
{
|
{
|
||||||
@ -499,9 +499,8 @@ class FormField extends RequestHandler
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the right title for this formfield
|
* Sets the right title for this formfield
|
||||||
* Note: This expects escaped HTML.
|
|
||||||
*
|
*
|
||||||
* @param string $rightTitle Escaped HTML for title
|
* @param string|DBField Plain text string, or a DBField with appropriately escaped HTML
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setRightTitle($rightTitle)
|
public function setRightTitle($rightTitle)
|
||||||
|
Loading…
Reference in New Issue
Block a user