Form_Field_File __construct(
string
$name, [boolean
$required = false], integer
$max_file_size
)
|
|
Constructor
Parameters:
|
string |
$name: |
Name of the field |
|
boolean |
$required: |
Is field required. Default is false |
|
integer |
$max_file_size: |
Maximal allowed file size. Please note that php.ini settings "upload_max_filesize" and "file_uploads" are also in effect. |
Redefinition of:
- Form_Field::__construct()
- Constructor
void capture_submit(
string
$form_name,
&$submit_array, array
$submit_array
)
|
|
Captures submit
Parameters:
|
string |
$form_name: |
|
|
array |
$submit_array: |
|
|
|
&$submit_array: |
|
API Tags:
Redefinition of:
- Form_Field::capture_submit()
- Captures submit
integer get_max_file_size(
)
|
|
Returns masximum allowed file size
API Tags: