XOOPS
2.6.0
|
Public Member Functions | |
__construct (Manager $manager, $service) | |
__call ($name, $arguments) | |
getProviderMode () | |
& | getRegistered () |
isAvailable () | |
register ($object) | |
sortProviders () | |
Static Public Member Functions | |
static | __callStatic ($name, $arguments) |
Protected Attributes | |
$manager = null | |
$providers = array() | |
$service = null | |
Definition at line 51 of file Provider.php.
Xoops\Core\Service\Provider::__construct | ( | Manager | $manager, |
$service | |||
) |
__construct
Definition at line 65 of file Provider.php.
References Xoops\Core\Service\Provider\$manager, Xoops\Core\Service\Provider\$service, and Xoops\service().
Xoops\Core\Service\Provider::__call | ( | $name, | |
$arguments | |||
) |
All contract specified methods go here
type | $name | method to call |
type | $arguments | any arguments |
Definition at line 159 of file Provider.php.
References $name, $response, Xoops\Core\Events\getInstance(), and Xoops\Core\Service\Provider\getProviderMode().
|
static |
All static methods go here and will return null
type | $name | not used |
type | $arguments | not used |
Definition at line 190 of file Provider.php.
Xoops\Core\Service\Provider::getProviderMode | ( | ) |
getProviderMode
Definition at line 76 of file Provider.php.
References Xoops\Core\Service\Manager\MODE_EXCLUSIVE.
Referenced by Xoops\Core\Service\Provider\__call().
& Xoops\Core\Service\Provider::getRegistered | ( | ) |
getRegistered - access list of registered providers
Definition at line 114 of file Provider.php.
References Xoops\Core\Service\Provider\$providers.
Xoops\Core\Service\Provider::isAvailable | ( | ) |
isAvailable - indicate the availability of an actual provider
In many cases a null provider can be called without changing the flow of the calling program. In some cases, the availability of a provider may need to be reflected in the caller, i.e. adding a UI button or menu item.
Definition at line 146 of file Provider.php.
Xoops\Core\Service\Provider::register | ( | $object | ) |
registerProvider - register a provider of a named service
string | $object | instantiated object that provides the service |
Definition at line 97 of file Provider.php.
References Xoops\service().
Referenced by GravatarsPreload\eventCoreServiceLocateAvatar(), AvatarsPreload\eventCoreServiceLocateAvatar(), SystemPreload\eventCoreServiceLocateCountryflag(), PdfPreload\eventCoreServiceLocateHtmlToPdf(), QrcodePreload\eventCoreServiceLocateQrcode(), and ThumbsPreload\eventCoreServiceLocateThumbnail().
Xoops\Core\Service\Provider::sortProviders | ( | ) |
sortProviders - sort providers into priority order
Definition at line 124 of file Provider.php.
References Xoops\Core\Service\Provider\$providers.
|
protected |
Definition at line 53 of file Provider.php.
Referenced by Xoops\Core\Service\Provider\__construct().
|
protected |
Definition at line 57 of file Provider.php.
Referenced by Xoops\Core\Service\Provider\getRegistered(), and Xoops\Core\Service\Provider\sortProviders().
|
protected |
Definition at line 55 of file Provider.php.
Referenced by Xoops\Core\Service\NullProvider\__construct(), and Xoops\Core\Service\Provider\__construct().