ePages 6.0 Patch 5 - DE_EPAGES/MediaGallery/API/Object/Tools.pm

Package DE_EPAGES::MediaGallery::API::Object::Tools

Helper methods.

@EXPORT_OK
RemoveMediaGalleryFromString

Functions

RemoveMediaGalleryFromString

RemoveMediaGalleryFromString

Helper function, removes the string "MediaGallery" from a directory path string.

Syntax
$CleanPathString = RemoveMediaGalleryFromString($PathString);
Example
$CleanPathString = RemoveMediaGalleryFromString('MediaGallery/a/b/c');
Input
$PathString (string)
path containing leading "MediaGallery"
Return
$CleanPathString (string)
path without the "MediaGallery"