Hello, I'm trying to use php reflection to inspect some of my controller classes

If I try the following with any class in the distro it works fine

$class = new ReflectionClass(<distro class>);

I have a 'library' folder at the root level of my application and I can reflect 
classes in there as  well. ( the library path is set in 'set_include_path' in 
index.php)

However when I try to reflect a class in one of my module's controllers, then  
no go

Here is my layout

modules/admin/controller/AuthController.php

The class is named 'Admin_Controller_Auth'

The 'modules' directory is included with set_include_path in my index.php file

When I try $class= new ReflectionClass('Admin_Controller_Auth'); in my 
bootstrap file

It throws an exception and says 'Class Admin_Controller_Auth does not exist'

Any thoughts?


Reply via email to