Collections functions
General functions
Render functions
Theme permission functions
Resource functions

set_unique_filename()

Description

Ensures filename is unique in $filenames array and adds resulting filename to the array

Parameters

ColumnTypeDefaultDescription
&$filename
&$filenames
$filename string Requested filename to be added. Passed by reference
$filenames array Array of filenames already in use. Passed by reference

Return

string New filename

This article was last updated 29th January 2023 22:05 Europe/London time based on the source file dated 19th January 2023 09:30 Europe/London time.