references:joomla.framework:application:jcomponenthelper-getinfogetInfo
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. SyntaxstdClass &getInfo ( $name )
ExamplesExample $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
)
|


