Project

General

Profile

Actions

Feature proposal #7084

closed

Improve URL functions to better support additional Itemid parsing

Added by krileon over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
14 March 2018
Due date:
% Done:

100%

Estimated time:

Description

Currently plugin, tab, and field class URL functions can not extend the Itemid parsing. Improve the $plugin, $tab, and $field variables to support being an array, which would be merged with $variables but more importantly would extend the Itemid parsing. Examples as follows.

New:
$_CB_framework->viewUrl( array( 'emailuser', 'uid' => $user->id ) )
Old:
$_CB_framework->viewUrl( 'emailuser', true, array( 'uid' => $user->id ), 'html', 0, '&uid=' . $user->id )

Actions

Also available in: Atom PDF