ePages 7.47.0 - DE_EPAGES/MultiStore/API/Object/SubShopCategory.pm

Package DE_EPAGES::MultiStore::API::Object::SubShopCategory

object interface for SubShopProduct.

Base
DE_EPAGES::MultiStore::API::Object::SubShopObject
DE_EPAGES::Product::API::Object::Product

Functions

canClone
className
deleteFiles
featureName
importXML

canClone

Check if a object can be cloned.

Syntax
$Object->canClone();
Return
$CanClone (boolean)
true or false

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $Product->className;
Return
$ClassName (String)
class name

deleteFiles

Deletes the directory StaticPath and the symbolic link to PublicPath.

Syntax
$Object->deleteFiles;

featureName

Returns the feature name.

Syntax
$FeatureName = $Product->featureName;
Return
$FeatureName (String)
feature name (undef means no feature count)

importXML

Imports an object from an XML file. This function is called at the XML start tag.

Syntax
$Object = DE_EPAGES::MultiStore::API::Object::SubShopCategory->importXML($Handler, $hElement, $Class, $hAttributes);
Input
$Handler (object)
xml import handler with support function addObject
$hElement (ref.hash)
XML element structure, see XML::SAX
$Class (object)
class object; the new object will be an instance of this class
$hAttributes (ref.hash)
attributes hash
Return
$Object (object)
the imported object