Permalink
Browse files

Adding docblock for saveStrategy

  • Loading branch information...
lorenzo committed Dec 17, 2013
1 parent 2a12b22 commit 8f6b9623b99787987ec343eb14474e2aedee77bc
Showing with 5 additions and 1 deletion.
  1. +5 −1 Cake/ORM/Table.php
View
@@ -640,6 +640,10 @@ public function hasMany($associated, array $options = []) {
* or 'subquery'. If subquery is selected the query used to return results
* in the source table will be used as conditions for getting rows in the
* target table.
* - saveStrategy: Either 'append' or 'replace'. Indicates the mode to be used
* for saving associated entities. The former will only create new links
* between both side of the relation and the latter will do a wipe and
* replace to create the links between the passed entities when saving.
*
* This method will return the association object that was built.
*
@@ -1516,7 +1520,7 @@ public function __call($method, $args) {
* Override this method if you want a table object to use custom
* marshalling logic.
*
* @param boolean $safe Whether or not this marshaller
* @param boolean $safe Whether or not this marshaller
* should be in safe mode.
* @return Cake\ORM\Marhsaller;
* @see Cake\ORM\Marshaller

0 comments on commit 8f6b962

Please sign in to comment.