Свойство | Type | Description | |
---|---|---|---|
$dbHandler | mixed | Connection. | |
$fieldNameMap | array | Maps database field names to property names. |
Méthode | Description | |
---|---|---|
__construct ( eZ\Publish\Core\IO\UrlRedecorator $redecorator ) | ||
countImageReferences ( string $uri ) : integer | Returns the number of recorded references to the given $path. | |
extractFilesFromXml ( $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. | |
setConnection ( mixed $dbHandler ) | Set database handler for this gateway. | |
storeImageReference ( string $uri, mixed $fieldId ) | Stores a reference to the image in $path for $fieldId. |
Méthode | Description | |
---|---|---|
canRemoveImageReference ( string $path, integer $versionNo, mixed $fieldId ) : boolean | Checks if image $path can be removed when deleting $versionNo and $fieldId. | |
getConnection ( ) : eZ\Publish\Core\Persistence\Database\DatabaseHandler | Returns the active connection. |
public __construct ( eZ\Publish\Core\IO\UrlRedecorator $redecorator ) | ||
$redecorator | eZ\Publish\Core\IO\UrlRedecorator |
public countImageReferences ( string $uri ) : integer | ||
$uri | string | File IO uri (not legacy) |
Résultat | integer |
protected getConnection ( ) : eZ\Publish\Core\Persistence\Database\DatabaseHandler | ||
Résultat | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
public getNodePathString ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo ) : string | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
Résultat | string |
public setConnection ( mixed $dbHandler ) | ||
$dbHandler | mixed |
public storeImageReference ( string $uri, mixed $fieldId ) | ||
$uri | string | File IO uri (not legacy) |
$fieldId | mixed |
protected array $fieldNameMap | ||
Résultat | array |