ePages 6.14.0 - DE_EPAGES/Object/API/Constants.pm

Package DE_EPAGES::Object::API::Constants

Constants for automatic renumbering of Position attributes and buffer size for next object IDs. Used by DE_EPAGES::Object::API::Object::Object::renumberChildren.

@EXPORT_OK
POSITION_START
POSITION_STEP
NEXTID_MAX
USERDEFINED_ATTRIBUTE_PACKAGES
ISFILEPATHPARTUSED
ISWEBSERVERSCRIPTNAMEPARTUNIQUE
EXPANDWWWDOMAIN
TYPEINFO

Functions

TYPEINFO

POSITION_START (integer)

first position number: 10

POSITION_STEP (integer)

increment: 10

NEXTID_MAX (integer)

buffer size for next object IDs : 20

ISFILEPATHPARTUSED (boolean)

used by Attribute Site.IsFilePathPartUsed : 0

ISWEBSERVERSCRIPTNAMEPARTUNIQUE (boolean)

(default: false (0))
you may want to set this option to true (1) if the short URL part is
unique for all shops, including those that have their own domain name.
In this case the SSL URLs are composed using the domain name of the
System and the short URL of the shop.

EXPANDWWWDOMAIN (boolean)

(default: false (0))
allow the use of domain names beginning with or without "www.".

TYPEINFO

Gets default values for creating user-defined attributes. Throws an error if the type is unknown.

Syntax
$aTypeInfo = TYPEINFO($Type);
Input
$Type (string)
type name, e.g. 'String', 'Money' etc.
Return
(attribute name => value hash for new attributes
  • Type - type name - string
  • Package - attribute package name - string
  • IsObject - true if attribute value is an object - boolean
  • IsArray - true if attribute value is an array ref - boolean
  • IsCacheable - true if attribute value is cacheable - boolean
)
$hTypeInfo