Changeset 939

Show
Ignore:
Timestamp:
06/06/10 18:09:21 (20 months ago)
Author:
ort
Message:

fix делегирования мапперов

Location:
trunk/engine
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/engine/classes/Engine.class.php

    r938 r939  
    431431                                $oConnect=Engine::getInstance()->Database_GetConnect(); 
    432432                        } 
     433                        $sClass=self::getInstance()->Plugin_GetDelegate('mapper',$sClass); 
    433434                        return new $sClass($oConnect); 
    434435                }                
     
    583584                $sPlugin=$aMatch[1]; 
    584585                $sInheritClass=$aMatch[2]; 
    585                 $sParentClass=Engine::getInstance()->Plugin_GetParentInherit($sInheritClass);            
     586                $sParentClass=Engine::getInstance()->Plugin_GetParentInherit($sInheritClass); 
    586587                class_alias($sParentClass,$sClassName); 
    587588        } 
  • trunk/engine/modules/plugin/Plugin.class.php

    r908 r939  
    5454        protected $aDelegates=array( 
    5555                'module' => array(), 
     56                'mapper' => array(), 
    5657                'action' => array(), 
    5758                'entity' => array(),