Package DE_EPAGES::ImageGallery::API::Object::ImageGallery
object interface for ImageGallery.
Base |
DE_EPAGES::Content::API::Object::ContentObject |
Functions
- addImage
- addImagesFromDirectory
- className
- createURI
- dbPackage
- deleteFiles
- featureName
- requiredChildClass
addImage
Adds the image to the image gallery and generates all preview images.
Syntax |
$ImageGallery->addImage($File, $Position); |
Input |
|
addImagesFromDirectory
Updates the content of the image gallery by looking into $ImageDirectory, which must be underneath the MediaGallery root. The file list is not recursive, due to preview image directories, that are created in the same directory.
Syntax |
$ImageGallery->addImagesFromDirectory($ImageDirectory); |
Input |
|
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $ImageGallery->className; |
Return |
|
createURI
Returns a suggestion for a short url.
Syntax |
$URI = $Object->createURI($Name, $Parent, $LanguageID); |
Return |
|
dbPackage
Returns the database package, used for DAL access.
Syntax |
$DbPackage = $ImageGallery->dbPackage; |
Return |
|
deleteFiles
Deletes the directories PublicPath, PrivatePath. If Site.IsFilePathPartUsed and defined FilePathPart the directories will not deleted. Delete the directory StaticPath.
Syntax |
$Object->deleteFiles; |
featureName
Returns the feature name ('ImageGallery').
Syntax |
$FeatureName = $ImageGallery->featureName; |
Return |
|
requiredChildClass
Returns the name of the class a new child is required to be an instance of or undef if no class is allowed (no children).
Syntax |
$RequiredChildClass = $ContentObject->requiredChildClass; |
Return |
|