$sPortalId, 'object' => $oObject) containing the portal id and a DBObject instance (the object on * the current line) * @api */ public 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 */ public 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 */ public 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 */ public 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 */ public const PORTAL_MENU_ACTIONS = 10; /** * Get the list of items to be added to the backoffice top-bar items * $param is [] for now, in a distant future we want to give a complete context * @since 3.3.0 */ public const MENU_TOPBAR_ACTIONS = 11; /** * Get the list of items to be added to the actions on a given form field (i.e. the attribute of an object) * $param is an array: ['object' => DBObject, att_code => attribute code , mode => edit/read] * @since 3.3.0 */ public const MENU_OBJDETAILS_FIELD_ACTIONS = 12; /** * Get the list of items to be added to the actions in the activity panel (read-only mode) * $param = ['object' => DBObject, caselog_att_code => caselog attribute code or 'activity'] * @since 3.3.0 */ public const MENU_OBJDETAILS_ACTIVITY_PANEL_ACTIONS = 13; /** * 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); }