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 4th October 2022 11:05 Europe/London time based on the source file dated 15th September 2022 15:40 Europe/London time.