Development

Changeset 8382

You must first sign up to be able to contribute.

Changeset 8382

Show
Ignore:
Timestamp:
04/10/08 11:44:53 (7 months ago)
Author:
hartym
Message:

sfPropelImpersonatorPlugin: last weeks refactorings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelImpersonatorPlugin/trunk/lib/sfPropelObjectPeerImpersonator.class.php

    r8121 r8382  
    66 * A class that imitates in some way Peer static classes, for doing custom queries. 
    77 * 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. 
    1211 * 
    1312 * Constructor takes mixed arguments, either strings or arrays, and arrays can be 
     
    766765    if (count($fields)) 
    767766    { 
    768       $this->addObject(new sfPropelObjectImpersonator($fields)); 
     767      $this->addObject(new sfPropelObject($fields)); 
    769768      $fields = array(); 
    770769      return true;