Changeset 8382
- Timestamp:
- 04/10/08 11:44:53 (7 months ago)
- Files:
-
- plugins/sfPropelImpersonatorPlugin/trunk/lib/objects (added)
- plugins/sfPropelImpersonatorPlugin/trunk/lib/objects/sfPropelConstantObject.class.php (moved) (moved from plugins/sfPropelImpersonatorPlugin/trunk/lib/sfPropelConstantObject.class.php)
- plugins/sfPropelImpersonatorPlugin/trunk/lib/objects/sfPropelFunctionObject.class.php (moved) (moved from plugins/sfPropelImpersonatorPlugin/trunk/lib/sfPropelFunctionObject.class.php)
- plugins/sfPropelImpersonatorPlugin/trunk/lib/objects/sfPropelObject.class.php (added)
- plugins/sfPropelImpersonatorPlugin/trunk/lib/sfPropelObjectPeerImpersonator.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPropelImpersonatorPlugin/trunk/lib/sfPropelObjectPeerImpersonator.class.php
r8121 r8382 6 6 * A class that imitates in some way Peer static classes, for doing custom queries. 7 7 * This class is not static, but the ->doSelect should return an array of 8 * sfPropelObjectImpersonator which will implements same methods as usual propel's 9 * BaseObject subclasses (in the limit of what was actually implemented for our 10 * admin generation/object helper needs, or any other class provided at construction 11 * time. 8 * sfPropelObject which implements same methods as usual propel's BaseObject subclasses 9 * (in the limit of what was actually implemented for our admin generation/object helper 10 * needs, or any other class provided at construction time. 12 11 * 13 12 * Constructor takes mixed arguments, either strings or arrays, and arrays can be … … 766 765 if (count($fields)) 767 766 { 768 $this->addObject(new sfPropelObject Impersonator($fields));767 $this->addObject(new sfPropelObject($fields)); 769 768 $fields = array(); 770 769 return true;