eZPublishCommunityProject  2013.6
eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway Class Reference
+ Inheritance diagram for eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway:
+ Collaboration diagram for eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway:

Public Member Functions

 countImageReferences ($path)
 Returns the number of recorded references to the given $path. More...
 
 getNodePathString (VersionInfo $versionInfo)
 Returns the node path string of $versionInfo. More...
 
 getXmlForImages ($versionNo, array $fieldIds)
 Returns a the XML content stored for the given $fieldIds. More...
 
 removeImageReferences ($path, $versionNo, $fieldId)
 Removes all references from $fieldId to a path that starts with $path. More...
 
 storeImageReference ($path, $fieldId)
 Stores a reference to the image in $path for $fieldId. More...
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\StorageGateway
 setConnection ($connection)
 Sets the data storage connection to use. More...
 

Member Function Documentation

eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway::countImageReferences (   $path)
abstract

Returns the number of recorded references to the given $path.

Parameters
string$path
Returns
int
eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway::getNodePathString ( VersionInfo  $versionInfo)
abstract

Returns the node path string of $versionInfo.

Parameters
VersionInfo$versionInfo
Returns
string
eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway::getXmlForImages (   $versionNo,
array  $fieldIds 
)
abstract

Returns a the XML content stored for the given $fieldIds.

Parameters
int$versionNo
array$fieldIds
Returns
array
eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway::removeImageReferences (   $path,
  $versionNo,
  $fieldId 
)
abstract

Removes all references from $fieldId to a path that starts with $path.

Parameters
string$path
int$versionNo
mixed$fieldId
Returns
void
eZ\Publish\Core\FieldType\Image\ImageStorage\Gateway::storeImageReference (   $path,
  $fieldId 
)
abstract

Stores a reference to the image in $path for $fieldId.

Parameters
string$path
mixed$fieldId
Returns
void

The documentation for this class was generated from the following file: