Return component list
App::__Def()->getComponentList([Component Name]);
Parameter |
Type |
Description |
---|---|---|
Component Name |
Optional |
Name of the component |
See below example:
// Return all component info
$info = App::__Def()->getComponentList();
// return entered component info
$info = App::__Def()->getComponentList('updatemanager');
/*
Return
Array
(
[error] => Array
(
)
[name] => Update Manager
[namespace] => updatemanager
[help] =>
Check system update
[version] => 0.1.0
[uri] => http://www.apprain.com
[description] =>
Notify new system update
[author] => Reazaul Karim
[author_uri] => http://reazulk.wordpress.com
[checkfiles] => Array
(
[filepath] => D:\xampp\htdocs\works\apprain\quickcoms/component/updatemanager/register.php
)
[mypath] => D:\xampp\htdocs\works\apprain\quickcoms/component/updatemanager
[base_class_name] => Updatemanager_Updatemanager
[status] => Active
)
*/