Changeset 4573 for branches/0.11/lib/Doctrine/Table.php
- Timestamp:
- 06/27/08 19:39:41 (2 years ago)
- Files:
-
- 1 modified
-
branches/0.11/lib/Doctrine/Table.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Table.php
r4508 r4573 471 471 472 472 /** 473 * Gets the record instance 473 * Gets the record instance for this table. The Doctrine_Table instance always holds at least one 474 * instance of a model so that it can be reused for several things, but primarily it is first 475 * used to instantiate all the internal in memory meta data 474 476 * 475 477 * @return object Empty instance of the record … … 477 479 public function getRecordInstance() 478 480 { 481 if ( ! $this->record) { 482 $this->record = new $this->_options['name']; 483 } 479 484 return $this->record; 480 485 }