$sPortalId, 'object' => $oObject) containing the portal id and a DBObject instance (the object on * the current line) * @api */ const PORTAL_OBJLISTITEM_ACTIONS = 7; /** * Insert an item into the Action menu on an object details page in the portal * * $param is an array('portal_id' => $sPortalId, 'object' => $oObject) containing the portal id and a DBObject instance (the object * currently displayed) * @api */ const PORTAL_OBJDETAILS_ACTIONS = 8; /** * Insert an item into the Actions menu of a list in the portal * Note: This is not implemented yet ! * * $param is an array('portal_id' => $sPortalId, 'object_set' => $oSet) containing DBObjectSet containing the list of objects * * @todo */ const PORTAL_OBJLIST_ACTIONS = 6; /** * Insert an item into the user menu of the portal * Note: This is not implemented yet ! * * $param is the portal id * * @todo */ const PORTAL_USER_ACTIONS = 9; /** * Insert an item into the navigation menu of the portal * Note: This is not implemented yet ! * * $param is the portal id * * @todo */ const PORTAL_MENU_ACTIONS = 10; /** * Get the list of items to be added to a menu. * * This method is called by the framework for each menu. * The items will be inserted in the menu in the order of the returned array. * * @param int $iMenuId The identifier of the type of menu, as listed by the constants MENU_xxx * @param mixed $param Depends on $iMenuId, see the constants defined above * * @return object[] An array of ApplicationPopupMenuItem or an empty array if no action is to be added to the menu * @api */ public static function EnumItems($iMenuId, $param); }