Hi,
i have a little problem when using namespace in model class. The model has relation defined and when i want to access this relation data error is thrown:
include(../foo/models/Iterator.php): failed to open stream: No such file or directory
Model is defined like this:
namespace foo\models;
class Bar extends \CActiveRecord { ... }
So the Iterator is not using global namespace here but the one defined in model Bar. Any idea is it possible to fix it?
i have a little problem when using namespace in model class. The model has relation defined and when i want to access this relation data error is thrown:
include(../foo/models/Iterator.php): failed to open stream: No such file or directory
Model is defined like this:
namespace foo\models;
class Bar extends \CActiveRecord { ... }
So the Iterator is not using global namespace here but the one defined in model Bar. Any idea is it possible to fix it?