ePages 6.11.0 - DE_EPAGES/Content/UI/JSON.pm

Package DE_EPAGES::Content::UI::JSON

Common user interface to show, save and delete objects.

Functions

JSONContentClasses
JSONGenerateShortURL
JSONValidateShortURL

JSONContentClasses

Returns the avaiable childclasses for a specified class and shop

Syntax
$Handler->JSONContentClasses( $Servlet );
Input
$Servlet (object)
current servlet (contains form data)

JSONGenerateShortURL

Returns a suggested URI for a given name of a new content object.

Syntax
$Handler->JSONGenerateShortURL( $Servlet );
Input
$Servlet (object)
current servlet (contains form data)

JSONValidateShortURL

Returns true if shorturl is valid Returns false, a suggested URI and the reason if shorturl is not valid.

Syntax
$Handler->JSONValidateShortURL( $Servlet );
Input
$Servlet (object)
current servlet (contains form data)