getToken()
getToken(mixed $model = null, array|string $actionUrl = null, array $tokenFields = null, array $hiddenFields = array(), array $blacklist = null) : array
Return _Token array.
Parameters
mixed | $model | The model name for which the form is being defined. Should
include the plugin name for plugin models. e.g. |
array|string | $actionUrl | Action url. |
array | $tokenFields | An array of fields to generate inputs for, or null. |
array | $hiddenFields | An array of fields that exist in $tokenFields to generate inputs hidden for, or null. |
array | $blacklist | A array of fields to not create inputs for. |
Returns
array —_Token