‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Domain\Model\FileReference Class Reference
Inheritance diagram for 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 TYPO3\CMS\Form\Mvc\Property\TypeConverter\PseudoFileReference

Public Member Functions

 setOriginalResource (ResourceInterface $originalResource)
 
TYPO3 CMS Core Resource FileReference getOriginalResource ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 _getProperty (string $propertyName)
 
 _memorizeCleanState (string|null $propertyName=null)
 
 _memorizePropertyCleanState (string $propertyName)
 
 _getCleanProperty (string $propertyName)
 
 _isDirty (string|null $propertyName=null)
 
 _isClone ()
 
 _setClone (bool $clone)
 
 __clone ()
 
non empty string __toString ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface
 getUid ()
 
 setPid (int $pid)
 
 getPid ()
 
 _isNew ()
 
 _hasProperty (string $propertyName)
 
 _setProperty (string $propertyName, mixed $value)
 

Protected Attributes

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< 1, $uid;protected int|null $_localizedUid=null;protected int|null $_languageUid=null;protected int|null $_versionedUid=null;protected int< 0, $pid;private bool $_isClone=false;private array $_cleanProperties=[];public int< 1, function getUid():int|null { if($this->uid !==null) { return(int) $this->uid;} return null;} public function setPid(int $pid):void { $this->pid=$pid;} public int< 0, function getPid():int|null { if($this->pid===null) { return null;} return(int) $this->pid;} public function _setProperty(string $propertyName, mixed $propertyValue):bool { if($this->_hasProperty($propertyName)) { $this-> {$propertyName} = $propertyValue
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
const PROPERTY_UID = 'uid'
 
const PROPERTY_PID = 'pid'
 
const PROPERTY_LOCALIZED_UID = '_localizedUid'
 
const PROPERTY_LANGUAGE_UID = '_languageUid'
 
const PROPERTY_VERSIONED_UID = '_versionedUid'
 
return true
 
return false
 
array< non-empty-string, function _getProperties():array { $properties=get_object_vars( $this);foreach( $properties as $propertyName=> $propertyValue) { if(str_starts_with( $propertyName, '_')) { unset( $properties[ $propertyName]);} } return $properties;} public function _hasProperty(string $propertyName):bool { return property_exists( $this, $propertyName);} public function _isNew():bool { return $this-> uid === null
 
array< non-empty-string, function _getCleanProperties():array { return $this-> _cleanProperties
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 isPropertyDirty (mixed $previousValue, mixed $currentValue)
 

Detailed Description

A file reference object (File Abstraction Layer)

Definition at line 25 of file FileReference.php.

Member Function Documentation

◆ getOriginalResource()

TYPO3 CMS Core Resource FileReference TYPO3\CMS\Extbase\Domain\Model\FileReference::getOriginalResource ( )

◆ setOriginalResource()

TYPO3\CMS\Extbase\Domain\Model\FileReference::setOriginalResource ( ResourceInterface  $originalResource)

Member Data Documentation

◆ $uidLocal

int TYPO3\CMS\Extbase\Domain\Model\FileReference::$uidLocal
protected

Uid of the referenced sys_file. Needed for extbase to serialize the reference correctly.

Definition at line 32 of file FileReference.php.