Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 22nd May 2024 15:35 Europe/London time based on the source file dated 22nd May 2024 09:15 Europe/London time.