GT::Plugins::Installer
$mgr->install_hooks('PluginName', ['hook_name', 'PRE|POST', 'code']); $mgr->install_menu('PluginName', ['menu_name', 'menu_url', 'enabled']); $mgr->install_options('PluginName', ['option_key', 'option_val', 'instructions']);
The installer is an object that is passed into plugins during installation. It provides methods to add hooks, menu options, admin options or copy files into the users application.
install_hooks
takes as arguments the plugin name and an array of:
install_hooks
returns 1 on success, undef on failure with the error
message in $GT::Plugins::error.
install_menu
takes as arguments the plugin name and an array of:
install_menu
returns 1 on success, undef on failure with the error
message in $GT::Plugins::error.
install_options
takes as arguments the plugin name and an array of:
install_options
returns 1 on success, undef on failure with the error
message in $GT::Plugins::error.
Copyright (c) 2004 Gossamer Threads Inc. All Rights Reserved. http://www.gossamer-threads.com/
Revision: $Id: Installer.pm,v 1.13 2004/08/23 19:54:27 jagerman Exp $