Skip to content

Commit

Permalink
Merge pull request cakephp#1923 from blackpuppy/zh
Browse files Browse the repository at this point in the history
[en] change accordingly after FormHelper was removed in previous sentence
  • Loading branch information
bcrowe committed Oct 28, 2014
2 parents 5cc0f89 + 8a6dd0c commit e26be3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions en/models/saving-your-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ following basic format::

Most of the time you won't even need to worry about this format:
CakePHP's :php:class:`FormHelper`, and model find methods all
package data in this format. If you're using either of the helpers,
package data in this format. If you're using :php:class:`FormHelper`,
the data is also conveniently available in ``$this->request->data`` for
quick usage.

Expand Down Expand Up @@ -202,7 +202,7 @@ The saveField method also has an alternate syntax::
``$params`` array can have any of the following available options
as keys:

* ``validate`` Set to true/false to enable disable validation.
* ``validate`` Set to true/false to enable/disable validation.
* ``callbacks`` Set to false to disable callbacks. Using 'before' or 'after'
will enable only those callbacks.
* ``counterCache`` (since 2.4) Boolean to control updating of counter caches (if any)
Expand Down Expand Up @@ -266,8 +266,8 @@ options may be used:
'first' to validate *all* records before any are saved (default),
* ``atomic``: If true (default), will attempt to save all records in a single transaction.
Should be set to false if database/table does not support transactions.
* ``fieldList``: Equivalent to the $fieldList parameter in Model::save()
* ``deep``: (since 2.1) If set to true, also associated data is saved, see also saveAssociated
* ``fieldList``: Equivalent to the $fieldList parameter in Model::save()
* ``deep``: (since 2.1) If set to true, also associated data is saved, see also saveAssociated
* ``callbacks`` Set to false to disable callbacks. Using 'before' or 'after'
will enable only those callbacks.
* ``counterCache`` (since 2.4) Boolean to control updating of counter caches (if any)
Expand Down

0 comments on commit e26be3f

Please sign in to comment.