PHP 클래스 eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway

상속: extends eZ\Publish\Core\FieldType\StorageGateway
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
countImageReferences ( string $uri ) : integer Returns the number of recorded references to the given $path.
extractFilesFromXml ( $xml ) Returns the public uris for the images stored in $xml.
getNodePathString ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo ) : string Returns the node path string of $versionInfo.
getXmlForImages ( integer $versionNo, array $fieldIds ) : array Returns a the XML content stored for the given $fieldIds.
removeImageReferences ( string $uri, integer $versionNo, mixed $fieldId ) Removes all references from $fieldId to a path that starts with $path.
storeImageReference ( string $uri, mixed $fieldId ) Stores a reference to the image in $path for $fieldId.

메소드 상세

countImageReferences() 추상적인 공개 메소드

Returns the number of recorded references to the given $path.
abstract public countImageReferences ( string $uri ) : integer
$uri string File IO uri (not legacy uri)
리턴 integer

extractFilesFromXml() 추상적인 공개 메소드

Returns the public uris for the images stored in $xml.
abstract public extractFilesFromXml ( $xml )

getNodePathString() 추상적인 공개 메소드

Returns the node path string of $versionInfo.
abstract public getNodePathString ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo ) : string
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo
리턴 string

getXmlForImages() 추상적인 공개 메소드

Returns a the XML content stored for the given $fieldIds.
abstract public getXmlForImages ( integer $versionNo, array $fieldIds ) : array
$versionNo integer
$fieldIds array
리턴 array

removeImageReferences() 추상적인 공개 메소드

Removes all references from $fieldId to a path that starts with $path.
abstract public removeImageReferences ( string $uri, integer $versionNo, mixed $fieldId )
$uri string File IO uri (not legacy uri)
$versionNo integer
$fieldId mixed

storeImageReference() 추상적인 공개 메소드

Stores a reference to the image in $path for $fieldId.
abstract public storeImageReference ( string $uri, mixed $fieldId )
$uri string File IO uri
$fieldId mixed