Class AdminPageFramework_FieldType_text
A text field that lets the user set short text values.
This class defines the text
field type. Also, the field types of
'password', 'datetime', 'datetime-local', 'email', 'month', 'search', 'tel',
'url', and 'week' are defined.
Example
array( 'field_id' => 'text', 'title' => __( 'Text', 'admin-page-framework-loader' ), 'type' => 'text', 'default' => 123456, 'attributes' => array( 'size' => 40, 'placeholder' => __( 'Type something here.', 'admin-page-framework-loader' ), ), )
For common field definition arguments, see AdminPageFramework_Factory_Controller::addSettingField()
.
Package: AdminPageFramework\Common\Form\FieldType
Since: 2.1.5
Since: 3.3.1 Changed to extend
Image: http://admin-page-framework.michaeluno.jp/image/common/form/field_type/text_field_type.png
Located at factory/_common/form/field_type/text/AdminPageFramework_FieldType_text.php
Since: 2.1.5
Since: 3.3.1 Changed to extend
AdminPageFramework_FieldType
from
AdminPageFramework_FieldType_Base
.Image: http://admin-page-framework.michaeluno.jp/image/common/form/field_type/text_field_type.png
Located at factory/_common/form/field_type/text/AdminPageFramework_FieldType_text.php
Methods summary
Magic methods summary
Properties summary
public
array
|
$aFieldTypeSlugs |
#
Defines the field type slugs used for this field type. |
protected
array
|
$aDefaultKeys |
#
Defines the default key-values of this field type. |
Related
Direct known subclasses
AdminPageFramework_FieldType_file
,
AdminPageFramework_FieldType_number
,
AdminPageFramework_FieldType_section_title