Back to Phoca Gallery project (class list)

Class PhocaGalleryFileUpload - list of methods

Copyright: Copyright (C) Jan Pavelka https://www.phoca.cz
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 and later
Located at: Phocagallery/file/fileupload.php
Project: Phoca Gallery

Method Summary

public static
(mixed $frontEnd = 0)

Show source code of this method: realMultipleUpload Source Code

public static
(mixed $frontEnd = 0)

Show source code of this method: realSingleUpload Source Code

public static
(mixed $frontEnd = 0)

Show source code of this method: realJavaUpload Source Code

public static bool
(mixed $file, mixed &$errUploadMsg, mixed $frontEnd = 0, mixed $chunkEnabled = 0, mixed $realSize = 0)

can Upload
Parameters
  • array $file
  • string $errorUploadMsg
  • int $frontEnd - if it is called from frontend or backend (1 - category view, 2 user control panel)
  • bool $chunkMethod - if chunk method is used (multiple upload) then there are special rules
  • string $realSize - if chunk method is used we get info about real size of file (not only the part)
Returns
  • bool True on success
Since
  • 1.5
Show source code of this method: canUpload Source Code

public static
()

Show source code of this method: renderFTPaccess Source Code

public static
(mixed $sessName, mixed $sessId, mixed $currentFolder, mixed $viewBack, mixed $attribs = '')

Show source code of this method: renderCreateFolder Source Code