ePages 6.11.0 - DE_EPAGES/ShopConfiguration/API/Object/ShopFeatureCollection.pm

Package DE_EPAGES::ShopConfiguration::API::Object::ShopFeatureCollection

object interface for ShopFeatureCollection.

Base
DE_EPAGES::Object::API::Object::Object

Functions

className
dbPackage
differentFeatures
exportXMLElements
featureMaxValue

className

Returns the class name, used for DAL access.

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

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $ShopFeatureCollection->dbPackage;
Return
$DbPackage (String)
database package name

differentFeatures

Returns the features, which are different.

Syntax
$ahDifferentFeatures = $ShopFeatureCollection->differentFeatures( $Collection );
Example
$ahDifferentFeatures = $ShopFeatureCollection->differentFeatures( $ShopFeatureCollection2 );
$ahDifferentFeatures = $ShopFeatureCollection->differentFeatures( $FeatureCollection );
Input
$Collection (object)
shop feature collectcollection, featurepack or shop type
Return
$ahDifferentFeatures (ref.array.hash)
differences between self and collection, keys:
  • FeatureID
  • SelfValue
  • CollectionValue

exportXMLElements

Exports multilinguagal attribute value of this object to the xml SAX driver.

Syntax
$Object->exportXMLElements($Driver, $hAllAttributes);
Input
$Driver (object)
export driver
$hAllAttributes (ref.hash)
all attributes of object,
see $Object->allAttributes

featureMaxValue

Returns the maximum value of a feature.

Syntax
$MaxValue = $Collection->featureMaxValue( $FeatureRef );
Input
$FeatureRef (object)
feature object
Return
$MaxValue (int)
maximum allowed value