Class AdminPageFramework_FieldType_file
A file uploader that lets the user upload files.
This class defines the file field type.
Field Definition Arguments
Common Field Definition Arguments
For common field definition arguments, seeAdminPageFramework_Factory_Controller::addSettingField()
.
Example
array( 'field_id' => 'file_single', 'title' => __( 'File', 'admin-page-framework-loader' ), 'type' => 'file', 'label' => __( 'Select the file', 'admin-page-framework-loader' ) . ": ", ),
Package: AdminPageFramework\Common\Form\FieldType
Since: 2.1.5
Image: http://admin-page-framework.michaeluno.jp/image/common/form/field_type/file.png
Located at factory/_common/form/field_type/file/AdminPageFramework_FieldType_file.php
Since: 2.1.5
Image: http://admin-page-framework.michaeluno.jp/image/common/form/field_type/file.png
Located at factory/_common/form/field_type/file/AdminPageFramework_FieldType_file.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.
|