Changeset 278 for trunk/trax/vendor/trax

Show
Ignore:
Timestamp:
01/29/07 12:12:11 (5 years ago)
Author:
john
Message:

changed to on the call after_find()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/active_record.php

    r275 r278  
    13821382            } 
    13831383            $objects[$objects_key] = $object; 
    1384             unset($object); 
    13851384            # If callback is defined in model run it. 
    13861385            # this will probably hurt performance... 
    1387             if(method_exists($this, 'after_find')) { 
    1388                 $this->after_find();     
    1389             } 
     1386            if(method_exists($object, 'after_find')) { 
     1387                $object->after_find();     
     1388            } 
     1389            unset($object); 
    13901390        } 
    13911391        return $objects;