Commit graph

4 commits

Author SHA1 Message Date
47b759d993 Loader::Find()
Added a method to the loader which can find all sub-classes /
implementations of a class / interface. The method must be called with
at least one argument (the name of the class / interface to find
subclasses / implementations of).

By default Loader::Find() will look for 'extra' classes. However, it is
possible to specify something else (e.g. 'ctrl' for controllers) as the
second argument.

Finally, by default, only packages which have already been loaded when
the method is called are considered. Passing false as the 3rd argument
will cause packages to be loaded.
2012-02-07 09:22:25 +01:00
dd87433f82 Internal loader function availability
One of the loader's internal methods has been renamed and made
available. This allows components to be loaded from e.g. arrays
directly.
2012-02-05 17:49:54 +01:00
3b91a6fc8c Multiple paths for configuration and packages
Added Loader::AddPath() which allows additional paths to be added to
the list in which the loader tries to find both configuration files
and components.
2012-02-05 13:58:55 +01:00
871d28cd16 Importing bits and pieces
This is the initial import based on a few files I had around.
2012-02-05 12:56:54 +01:00