This commit is contained in:
chinpei215 2017-12-04 23:31:32 +09:00
parent 9f65402d2c
commit 6ad30946d8

View file

@ -1688,9 +1688,6 @@ class Model extends CakeObject implements CakeEventListener {
* Saves the value of a single field to the database, based on the current * Saves the value of a single field to the database, based on the current
* model ID. * model ID.
* *
* @deprecated 3.0.0 To ease migration to the new major, do not use this method anymore.
* Stateful model usage will be removed. Use the existing save() methods instead.
*
* @param string $name Name of the table field * @param string $name Name of the table field
* @param mixed $value Value of the field * @param mixed $value Value of the field
* @param bool|array $validate Either a boolean, or an array. * @param bool|array $validate Either a boolean, or an array.
@ -1698,6 +1695,8 @@ class Model extends CakeObject implements CakeEventListener {
* If an array, allows control of 'validate', 'callbacks' and 'counterCache' options. * If an array, allows control of 'validate', 'callbacks' and 'counterCache' options.
* See Model::save() for details of each options. * See Model::save() for details of each options.
* @return bool|array See Model::save() False on failure or an array of model data on success. * @return bool|array See Model::save() False on failure or an array of model data on success.
* @deprecated 3.0.0 To ease migration to the new major, do not use this method anymore.
* Stateful model usage will be removed. Use the existing save() methods instead.
* @see Model::save() * @see Model::save()
* @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savefield-string-fieldname-string-fieldvalue-validate-false * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savefield-string-fieldname-string-fieldvalue-validate-false
*/ */