XOOPS  2.6.0
Xoops\Core\Service\AbstractContract Class Reference
Inheritance diagram for Xoops\Core\Service\AbstractContract:
Inheritance graph

Public Member Functions

 getDescription ()
 
 getMode ()
 
 getName ()
 
 getPriority ()
 
 setPriority ($priority)
 

Protected Attributes

 $priority = Manager::PRIORITY_MEDIUM
 

Detailed Description

Definition at line 29 of file AbstractContract.php.

Member Function Documentation

Xoops\Core\Service\AbstractContract::getDescription ( )
abstract

getDescription - get human readable description of the service provider

Returns
string
Xoops\Core\Service\AbstractContract::getMode ( )

getMode - get the MODE for the contract. The MODE is set in the contract Interface, and permissible values defined in Manager

Returns
integer - a MODE constant indicating how multiple services are handled

Definition at line 62 of file AbstractContract.php.

Xoops\Core\Service\AbstractContract::getName ( )
abstract

getName - get a short name for this service provider. This should be unique within the scope of the named service, so using module dirname is suggested.

Returns
string - a unique name for the service provider
Xoops\Core\Service\AbstractContract::getPriority ( )

getPriority - get the priority for this contract provider

Returns
integer - priority of this contract provider

Definition at line 51 of file AbstractContract.php.

References Xoops\Core\Service\AbstractContract\$priority.

Xoops\Core\Service\AbstractContract::setPriority (   $priority)

setPriority - set the priority for this contract provider

Parameters
integer$priority- priority of this contract provider
Returns
void

Definition at line 41 of file AbstractContract.php.

References Xoops\Core\Service\AbstractContract\$priority.

Member Data Documentation

Xoops\Core\Service\AbstractContract::$priority = Manager::PRIORITY_MEDIUM
protected

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