Changeset 20152 for lang/php/misc/Hermit/src/Hermit/Hermit.php
- Timestamp:
- 09/28/08 19:29:10 (3 months ago)
- Files:
-
- 1 modified
-
lang/php/misc/Hermit/src/Hermit/Hermit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/misc/Hermit/src/Hermit/Hermit.php
r19836 r20152 5 5 */ 6 6 class Hermit { 7 protected $proxy; 7 8 protected $listeners = array(); 8 9 protected $delegators = array(); … … 15 16 $class = HermitDaoManager::get($class); 16 17 } 17 $this->proxy = self::__create($class); 18 $proxy = self::__create($class); 19 $this->proxy = self::wrap($proxy, $class); 18 20 } 19 21 public function __call($name, $parameters = array()){ … … 45 47 return HermitClassProxy::delegate($reflector); 46 48 } 49 protected static function wrap(HermitProxy $proxy, $targetClass){ 50 if(HermitTransactionManager::has($targetClass)){ 51 return HermitTransactionManager::createProxy($proxy, $targetClass); 52 } 53 return $proxy; 54 } 47 55 } 48 56
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)