Plugin_Base Class Reference

Inherited by Plugin.

List of all members.

Public Member Functions

 Plugin_Base ()
 depend ($plugin)

Public Attributes

 $web
 $depends

Detailed Description

PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet

Author:
Judd Vinet <jvinet@zeroflux.org>

Description: Base class for all page/template plugins.

Definition at line 11 of file plugin.php.


Member Function Documentation

Plugin_Base::depend ( plugin  ) 

Load another plugin as a dependency of this one. Plugins can only load dependencies of their own kind. Templates plugins load template plugins, page plugins load page plugins.

Parameters:
string $plugin The name of the plugin to import. Will be saved as $this->depends->$plugin

Definition at line 35 of file plugin.php.

References Factory::plugin().

Referenced by tpAJAX::autocomplete(), tpAJAX::autocomplete_multisel(), ppFile::process_image(), tpAJAX::tpAJAX(), tpForm::tpForm(), tpGrid::tpGrid(), tpjqGrid::tpjqGrid(), tpNavigation::tpNavigation(), tpPager::tpPager(), and tpTable::tpTable().

Plugin_Base::Plugin_Base (  ) 

Constructor for all Plugins

Definition at line 19 of file plugin.php.

References Registry::get().

Referenced by Plugin::Plugin().


Member Data Documentation

Plugin_Base::$depends

Definition at line 14 of file plugin.php.

Plugin_Base::$web

Definition at line 13 of file plugin.php.


The documentation for this class was generated from the following file:

Generated on Wed Jan 13 09:21:04 2010 for Pronto Framework by  doxygen 1.6.1