CakePHP
61
The following functions are used to create
hidden element
on HTML page.
Syntax
hidden( string
$fieldName
, array
$options
array() )
Parameters
Name of a field, in the form of "Modelname.fieldname"
Array of HTML attributes.
Returns
A
generated hidden input
Description
Creates a hidden input field
The following functions are used to generate
input element
on HTML page.
Syntax
Input (string $fieldName , array $options array() )
Parameters
This should be "Modelname.fieldname"
Each type of input takes different options
Do'stlaringiz bilan baham: