Class Gadget_Service

Description

Gadget_Service

Gadget's service base class.

  • since: 1.0

Located in /Gadget/Service.php (line 91)

Gadget_Plugin
   |
   --Gadget_Service
Direct descendents
Class Description
Gadget_Service_Auth Gadget_Service_Auth
Gadget_Service_Errordisplay Gadget_Service_Errordisplay
Gadget_Service_Errorlog Gadget_Service_Errorlog
Gadget_Service_Errornotify Gadget_Service_Errornotify
Gadget_Service_Log Gadget_Service_Log
Gadget_Service_Mailaccount Gadget_Service_Mailaccount
Gadget_Service_Render Gadget_Service_Render
Gadget_Service_Rights Gadget_Service_Rights
Gadget_Service_Security Gadget_Service_Security
Gadget_Service_Stats Gadget_Service_Stats
Variable Summary
string $plugin
string $service
Method Summary
void configure (string $service, mixed $params)
array lookup (string $service)
bool onFailure ([mixed $log = null])
bool onSuccess ([mixed $log = null])
void register (string $service, string $class, [string $file = null])
bool run (mixed $args,)
object &singleton (string $service)
Variables
Methods
configure (line 129)

Configure a Service

  • access: public
  • static:
void configure (string $service, mixed $params)
  • string $service
  • mixed $params

Redefinition of:
Gadget_Plugin::configure()
Configure a Plugin
lookup (line 157)

Lookup

  • access: public
  • static:
array lookup (string $service)
  • string $service

Redefinition of:
Gadget_Plugin::lookup()
Lookup Plugin
onFailure (line 198)

On Failure

  • return: false
  • access: protected
bool onFailure ([mixed $log = null])

Redefined in descendants as:
onSuccess (line 185)

On Success

  • return: true
  • access: protected
bool onSuccess ([mixed $log = null])

Redefined in descendants as:
register (line 144)

Register Service

  • access: public
  • static:
void register (string $service, string $class, [string $file = null])
  • string $service
  • string $class
  • string $file

Redefinition of:
Gadget_Plugin::register()
Register Plugin
run (line 169)

Run the Service

  • access: public
bool run (mixed $args,)
  • mixed $args,: ...
singleton (line 115)

Singleton

  • access: public
  • static:
object &singleton (string $service)
  • string $service

Redefinition of:
Gadget_Plugin::singleton()
Singleton

Inherited Methods

Inherited From Gadget_Plugin

Gadget_Plugin::Gadget_Plugin()
Gadget_Plugin::configure()
Gadget_Plugin::init()
Gadget_Plugin::lookup()
Gadget_Plugin::register()
Gadget_Plugin::singleton()

Documentation generated on Sun, 03 Jul 2005 12:46:08 +0200 by phpDocumentor 1.3.0RC3