Class AdminPageFramework_FieldType_section_title
Defines the section_title
field type.
When a field is defined with this field type, the section title will be replaced with this field. This is used for repeatable tabbed sections.
Field Definition Arguments
Common Field Definition Arguments
For common field definition arguments, seeAdminPageFramework_Factory_Controller::addSettingField()
.
Example
Set a field definition normally. Only the first item with the typesection_title
can be displayed.
$this->addSettingFields( 'my_section', // the target section ID array( 'field_id' => 'section_title_field', 'type' => 'section_title', 'label' => '<h3>' . __( 'Section Name', 'admin-page-framework-loader' ) . '</h3>', 'attributes' => array( 'size' => 30, ), ) );
Package: AdminPageFramework\Common\Form\FieldType
Since: 3.0.0
Since: 3.3.1 Changed to extend
Since: 3.5.3 Changed to extend
Extends: AdminPageFramework_FieldType_text
Image: http://admin-page-framework.michaeluno.jp/image/common/form/field_type/section_title.png
Located at factory/_common/form/field_type/section_title/AdminPageFramework_FieldType_section_title.php
Since: 3.0.0
Since: 3.3.1 Changed to extend
AdminPageFramework_FieldType
from
AdminPageFramework_FieldType_Base
.Since: 3.5.3 Changed to extend
AdminPageFramework_FieldType_text
from
AdminPageFramework_FieldType
.Extends: AdminPageFramework_FieldType_text
Image: http://admin-page-framework.michaeluno.jp/image/common/form/field_type/section_title.png
Located at factory/_common/form/field_type/section_title/AdminPageFramework_FieldType_section_title.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. Remark
$_aDefaultKeys holds shared default key-values defined in the base class.
|