cakephp2-php8/cake/libs/model/datasources
phpnut f1de783295 Fixing bug when instances of an HABTM association was automatically created.
Deprecated using $this->(ModelName) if an associations is created with an alias.

 
 	example with alias: var $hasMany = array('Assoc' => array('className' => 'ModelName'));
 					correct usage: $this->Assoc->modelMethods();

  	example without alias: var $hasMany = array('ModelName');
 					correct usage: $this->ModelName->modelMethods();

Fixed instances of 'className' that was still used in the core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5608 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-29 20:47:03 +00:00
..
dbo Refactoring automatic model creations for HABTM associations 2007-08-29 10:14:14 +00:00
datasource.php Adding hasMany optimization fixes for failing model tests 2007-08-27 03:15:11 +00:00
dbo_source.php Fixing bug when instances of an HABTM association was automatically created. 2007-08-29 20:47:03 +00:00