Closed tracend closed 11 years ago
In addition, limiting the lookup to the default (base) folder would be desirable in some cases.
var NewController = brisk.getBaseController("main")
var NewModel = brisk.getBaseModel("base")
Closing as addressed
The method
getClass
is currently the main method to get the parent class when extending any controller/modelThe scope of this feature needs to be broaden and specialised based on the type of class.
So for example we might have:
These methods may be focused requests of the more generic getClass(), in which case the equivalent syntax would be:
getClass should lookup in all paths using
findPath
instead of expecting everything in the default location. This means the class may live either in app folder, in a plugins folder or in the default folder - with that priority order.