Form::getPhpFiles()

array getPhpFiles()

Gets the file field values as PHP.

This method converts fields with the array notation (like foo[bar] to arrays) like PHP does. The returned array is consistent with the array for field values (see getPhpValues), rather than uploaded files found in $FILES. For a compound file field foo[bar] it will create foo[bar][name], instead of foo[name][bar] which would be found in $FILES.

Return Value

array An array of file field values
doc_Symfony
2016-10-28 06:17:19
Comments
Leave a Comment

Please login to continue.