mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
02d90348f8
Revision: [2064] Added doc block for Model::__resetAssocitions(); Removed unused params in Model::__constructLinkedModel(); Revision: [2063] Refactored bindTo<ModelName> to allow method to be used to change associations settings. This method will change the association on the fly, and reset them back once the query has completed. This will allow something like this simple example. $this->Book->bindToAuthor(array('belongsTo' => array('conditions' => array('Author.active'=>'1')))); $this->set('changed', $this->Book->findAll()); $this->set('original', $this->Book->findAll()); $changed would have the associated for Books/Authors where Author.active = 1. $original would have the associations for Books that where set in the Book class association vars. Revision: [2062] Added magic method to allow late binding of association model. Revision: [2058] Adding fix for error in acl.php reported in google group git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2065 3807eeeb-6ff5-0310-8944-8be069107fe0 |
||
---|---|---|
.. | ||
datasources | ||
dbo | ||
connection_manager.php | ||
model.php | ||
model_php4.php | ||
model_php5.php |