| API | Package | Class | phpDocumentor | Last reviewed | Doc status |
|---|---|---|---|---|---|
Joomla.Framework | Application | JComponentHelper | JComponentHelper->getInfo | never | Work in progress |
Gets information about a component.
During the first invokation of this method, all the entries are retrieved from the components table. Subsequent calls will return the record for the specified component.
stdClass &getInfo ( $name )
| $name | string | is a string containing the name of the component for which to obtain information. |
Example
$info =& JComponentHelper::getInfo( 'com_weblinks' ); print_r( $info );
might produce
Result
stdClass Object
(
[id] => 4
[name] => Web Links
[link] => option=com_weblinks
[menuid] => 0
[parent] => 0
[admin_menu_link] =>
[admin_menu_alt] => Manage Weblinks
[option] => com_weblinks
[ordering] => 0
[admin_menu_img] => js/ThemeOffice/component.png
[iscore] => 0
[params] =>
[enabled] => 1
)