YiiBase autoload and registerd classes


I try to implement a more complex autoloader and would like to combine the autoloading function of Yii. I dont want Yii to include the classes but i want to know what yii would have included.

But there is no way to get the registered classes of Yii because they are all set to private and there is no function to get them.

So i would wish a function like:



… or autoload would call …

getClassFile( $classname ) … return the filename autoload should include

then i could do the following


function myFunc( $className ){

   $fname = Yii::getClassFile( $className );

   //do fancy things here .. eg check for newer version etc

   include( $fname );