mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Tidy doc block.
This commit is contained in:
parent
fb9360767e
commit
cf4a9f420f
1 changed files with 5 additions and 5 deletions
|
@ -168,14 +168,14 @@ class FormHelper extends AppHelper {
|
|||
*
|
||||
* The $key parameter accepts the following list of values:
|
||||
*
|
||||
* - key: Returns the name of the primary key for the model
|
||||
* - fields: Returns the model schema
|
||||
* - validates: returns the list of fields that are required
|
||||
* - errors: returns the list of validation errors
|
||||
* - key: Returns the name of the primary key for the model
|
||||
* - fields: Returns the model schema
|
||||
* - validates: returns the list of fields that are required
|
||||
* - errors: returns the list of validation errors
|
||||
*
|
||||
* If the $field parameter is passed if will return the information for that sole field.
|
||||
*
|
||||
* `$this->_introspectModel('Post', 'fields', 'title');` will return the schema information for title column
|
||||
* `$this->_introspectModel('Post', 'fields', 'title');` will return the schema information for title column
|
||||
*
|
||||
* @param string $model name of the model to extract information from
|
||||
* @param string $key name of the special information key to obtain (key, fields, validates, errors)
|
||||
|
|
Loading…
Reference in a new issue