Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:dto:uploadedfiledto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:dto:uploadedfiledto [2026/09/26 09:09] – admin adminscriptlog:lib:dto:uploadedfiledto [2026/09/26 09:34] (current) – admin admin
Line 14: Line 14:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | DTO | +| ''@category'' | DTO | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 | +| ''@version'' | 1.0 | 
-  | ''@since'' | Since Release 1.0 |+| ''@since'' | Since Release 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 29: Line 29:
 //None.// //None.//
  
-======= Properties (0) =======+======= Properties (5) =======
  
-//None declared.//+^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
 +| ''public'' | ''(untyped)'' | ''$tmpName'' |  | 21 | 
 +| ''public'' | ''(untyped)'' | ''$type'' |  | 24 | 
 +| ''public'' | ''(untyped)'' | ''$name'' |  | 27 | 
 +| ''public'' | ''(untyped)'' | ''$size'' |  | 30 | 
 +| ''public'' | ''(untyped)'' | ''$error'' |  | 33 |
  
 ======= Methods (6) ======= ======= Methods (6) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | (undocumented) | 35 | +| public | ''__construct()'' | (undocumented) | 35 | 
-  | public static | ''fromGlobals()'' | Factory method from $_FILES global. | 49 | +| public static | ''fromGlobals()'' | Factory method from $_FILES global. | 49 | 
-  | public | ''isValid()'' | Check whether the file was uploaded successfully. | 60 | +| public | ''isValid()'' | Check whether the file was uploaded successfully. | 60 | 
-  | public | ''hasUploadError()'' | Check whether an upload error occurred. | 70 | +| public | ''hasUploadError()'' | Check whether an upload error occurred. | 70 | 
-  | public | ''getExtension()'' | Return the file extension. | 80 | +| public | ''getExtension()'' | Return the file extension. | 80 | 
-  | public | ''getGeneratedFilename()'' | Generate safe filename array using existing utility. | 90 |+| public | ''getGeneratedFilename()'' | Generate safe filename array using existing utility. | 90 |
  
  
Line 52: Line 57:
 //lines 35–42 (8)// //lines 35–42 (8)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$file'' | ''array'' | //required// | //none// |+|  ''$file'' |  ''array'' |  //required// |  //none// |
  
  
scriptlog/lib/dto/uploadedfiledto.1790413761.txt.gz · Last modified: by admin