summaryrefslogtreecommitdiff
path: root/core/helpers/module.php
AgeCommit message (Collapse)Author
2008-12-151) Move the deletion of the vars into module::delete helperTim Almdal
2) remove the watermark_add_form.html.php
2008-12-12Refaactor module::install() and module::uninstall() out of theBharat Mediratta
scaffolding and unit test code so that we can use it consistently. This fixes an issue where adding a module was not refreshing the statically cached module list causing the test framework to break.
2008-12-12Make the error handler public, else it can't be called from outsideBharat Mediratta
this class (which is the most likely scenario).
2008-12-12Cache modules and module_names when we call load_modules so that we don't ↵Bharat Mediratta
have to check every time
2008-12-12Yet another deal with bootstrapping when we've got no core install yet.Bharat Mediratta
2008-12-12Fix module::_core_installed() hack.Bharat Mediratta
2008-12-12Expand on our core-is-installed checking code.Bharat Mediratta
2008-12-11Guard load_modules() against the case that the database isn't installed.Bharat Mediratta
2008-12-11Change the name of the implmentation of module parameters to module varsTim Almdal
2008-12-10Create a module parameter table. This will be useful if a module wants to ↵Tim Almdal
store information, but is not enough to warrant a table of its own
2008-12-05* Add a moveTo unit testTim Almdal
* Pass the module::event(..., $data) by reference to the handlers
2008-12-04Change the startup code to only put installed modules on the autoloadBharat Mediratta
path. This breaks a bunch of places where we had hardcoded dependencies, so guard all of those cases. Restructure module::available() a bit and the way that we do install/uninstall in the scaffolding.
2008-11-28Remove debugging statementsTim Almdal
2008-11-28Dynamically create the list of available modules. This permits new modules ↵Tim Almdal
to be added without having to update the config.php file
2008-11-28Create module::event() which runs Gallery events. It works byBharat Mediratta
convention. To respond to the "photo_created" event in the gmaps module, you create modules/gmaps/helpers/gmaps_event.php containing class gmaps_event which has function photo_created. Renamed all events from gallery.foo.bar to foo_bar Updated tag module to use new convention.
2008-11-28Rename module::get_list() to module::installed()Bharat Mediratta
2008-11-27Centralize logging around installing/uninstalling modules.Bharat Mediratta
2008-11-22Correct case on helper class names. By convention, helper class names are ↵Tim Almdal
lower case: http://docs.kohanaphp.com/general/helpers Remove block_helper file as the abstract class os no longer required.
2008-11-212nd attempt at inserting html by modules.Tim Almdal
2008-11-18Added the is_installed to the module helper and change to photo.html to not ↵Tim Almdal
try to display a comment if it is not installed
2008-11-15Add Theme::module() and module::get()Bharat Mediratta
2008-11-13Create module helper and refactor all the code that creates, updatesBharat Mediratta
and deletes modules into it.