## Interface IService

Description

IService interface.

This interface must be implemented by services.

- since: 3.0
- version: $Id: interfaces.php 2541 2008-10-21 15:05:13Z qiang.xue $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /interfaces.php (line 50)

Method Summary
boolean getEnabled ()
string getID ()
void init (TXmlElement $config)
void run ()
void setEnabled (boolean $value)
void setID (string $id)
Methods
getEnabled (line 68)

- return: whether the service is enabled
- access: public

boolean getEnabled ()
getID (line 60)

- return: ID of the service
- access: public

string getID ()
init (line 56)

Initializes the service.

- access: public

void init (TXmlElement $config)

- TXmlElement $config: the configuration for the service

run (line 76)

Runs the service.

- access: public

void run ()
setEnabled (line 72)

- access: public

void setEnabled (boolean $value)

- boolean $value: whether the service is enabled

setID (line 64)

- access: public

void setID (string $id)

- string $id: ID of the service

Documentation generated on Sun, 11 Jan 2009 20:15:26 -0500 by phpDocumentor 1.3.0RC4