Trait PlaceHolder
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
Direct Known Users
MvcCore\Ext\Forms\Fields\Number, MvcCore\Ext\Forms\Fields\Text, MvcCore\Ext\Forms\Fields\TextareaIndirect Known Users
MvcCore\Ext\Forms\Fields\Email, MvcCore\Ext\Forms\Fields\Password, MvcCore\Ext\Forms\Fields\Range, MvcCore\Ext\Forms\Fields\Search, MvcCore\Ext\Forms\Fields\Tel, MvcCore\Ext\Forms\Fields\UrlLocated at ext-form/src/MvcCore/Ext/Forms/Field/Props/PlaceHolder.php
protected
|
#
preDispatchPlaceHolder( )
Automatically translate |
public
string|null
|
#
GetPlaceHolder( )
A hint to the user of what can be entered in the control, typically in the form
of an example of the type of information that should be entered. The placeholder
text must not contain carriage returns or line-feeds. |
public
|
#
SetPlaceHolder( string|null $placeHolder, boolean|null $translatePlaceholder = NULL )
A hint to the user of what can be entered in the control, typically in the form
of an example of the type of information that should be entered. The placeholder
text must not contain carriage returns or line-feeds. |
protected
string|null
|
$placeHolder
A hint to the user of what can be entered in the control, typically in the form
of an example of the type of information that should be entered. The placeholder
text must not contain carriage returns or line-feeds. |
#
NULL
|
protected
boolean
|
$translatePlaceholder
Boolean to translate placeholder text, |
#
TRUE
|