jimport('joomla.application.component.helper'); $params = JComponentHelper::getParams('com_example'); echo $params->get('title');
jimport('joomla.application.component.helper'); $items = JComponentHelper::getComponent('com_example')->getMenu(); foreach ($items as $item) { echo $item->title; }This example gets the menu items for the component "com_example" and outputs the title of each menu item. These examples use the Joomla Platform library.