selectlistLink()
selectlistLink(string $link_text, string $link_style, string $formid, boolean $icon = false, string $selectid = '') : string
Creates a link to the gollem file selection window.
The file section window will return a cache ID value which should be
used (along with the selectListResults and returnFromSelectList
functions below) to obtain the data from a list of selected files.
There MUST be a form field named 'selectlist_selectid' in the calling
form. This field will be populated with the selection ID when the user
completes file selection.
There MUST be a form parameter named 'actionID' in the calling form.
This form will be populated with the value 'selectlist_process' when
the user completes file selection. The calling form will be submitted
after the window closes (i.e. the calling form must process the
'selectlist_process' actionID).
Parameters
string |
$link_text |
The text to use in the link. |
string |
$link_style |
The style to use for the link. |
string |
$formid |
The formid of the calling script. |
boolean |
$icon |
Create the link with an icon instead of
text? |
string |
$selectid |
Selection ID. |
Returns
string
— The URL string.