‪TYPO3CMS  10.4
TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference Class Reference
Inheritance diagram for TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference:
TYPO3\CMS\Extbase\Domain\Model\FileReference TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Member Functions

 __sleep ()
 
 __wakeup ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Domain\Model\FileReference
 setOriginalResource (ResourceInterface $originalResource)
 
TYPO3 CMS Core Resource FileReference getOriginalResource ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int null getUid ()
 
 setPid (int $pid)
 
int null getPid ()
 
bool _setProperty (string $propertyName, $propertyValue)
 
mixed _getProperty (string $propertyName)
 
array _getProperties ()
 
bool _hasProperty ($propertyName)
 
bool _isNew ()
 
 _memorizeCleanState ($propertyName=null)
 
 _memorizePropertyCleanState ($propertyName)
 
array _getCleanProperties ()
 
mixed _getCleanProperty (string $propertyName)
 
bool _isDirty ($propertyName=null)
 
bool _isClone ()
 
 _setClone ($clone)
 
 __clone ()
 
string __toString ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface
 _memorizeCleanState ()
 
bool _isDirty ()
 

Private Attributes

int null $_uid
 
int null $_uidLocal
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
bool isPropertyDirty ($previousValue, $currentValue)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Domain\Model\FileReference
int $uidLocal
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder
TYPO3 CMS Core Resource ResourceInterface $originalResource
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int $uid
 
int $_localizedUid
 
int $_languageUid
 
int $_versionedUid
 
int $pid
 

Detailed Description

Use in UploadedFileReferenceConverter handling file uploads. PseudoFile and PseudoFileReference are independent and not associated.

This facade hides (potential) internal properties from being exposed to the public during serialization. sys_file_reference.uid or sys_file.uid are the only aspects used externally. In case of missing integrity checks during deserialization, both properties would allow direct object reference (IDOR).

Definition at line 35 of file PseudoFileReference.php.

Member Function Documentation

◆ __sleep()

TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference::__sleep ( )

◆ __wakeup()

TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference::__wakeup ( )

Definition at line 64 of file PseudoFileReference.php.

Member Data Documentation

◆ $_uid

int null TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference::$_uid
private

Definition at line 39 of file PseudoFileReference.php.

◆ $_uidLocal

int null TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference::$_uidLocal
private

Definition at line 43 of file PseudoFileReference.php.