cakephp2-php8/cake/libs
phpnut 02d90348f8 Merging fixes and enhancements into trunk.
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
2006-02-20 03:03:05 +00:00
..
controller Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
model Merging fixes and enhancements into trunk. 2006-02-20 03:03:05 +00:00
view Merging fixes and enhancements into trunk. 2006-02-19 22:14:21 +00:00
bake.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
cache.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
cake_log.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
class_registry.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
error.php Merging fixes and enhancements into trunk 2006-02-01 13:26:23 +00:00
file.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
flay.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
folder.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
inflector.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
legacy.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
neat_array.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
neat_string.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
object.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
router.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
sanitize.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
security.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00
session.php Merging fixes and enhancements into trunk. 2006-02-19 22:14:21 +00:00
validators.php Merging fixes and enhancements into trunk 2006-02-18 23:42:21 +00:00