Package DE_EPAGES::MultiStore::API::Object
Affiliate Object API
Base |
Exporter |
@EXPORT_OK |
Functions
- DeserializeObject
- MapAttributeNames
- PathStringFromSite
- PathStringFromSubShop
- SerializeObject
- VisibleInSubShop
DeserializeObject
Checks if $Element is deserializable by calling ->can('doDeserialize'). If yes, it returns the result of that. If not, $Element is returned unchanged
Syntax |
DeserializeObject( $Element, $Site ); |
Input |
|
Return |
|
MapAttributeNames
Maps internal (SuperProductID) to external (SuperProduct) names
Syntax |
MapAttributeNames( $Object, $aNames ); |
Input |
|
Return |
|
PathStringFromSite
Returns the relative path based from the object's site
Syntax |
PathStringFromSite( $Object ); |
Input |
|
Return |
|
PathStringFromSubShop
Returns the relative path based from the object's site
Syntax |
PathStringFromSubShop( $Object ); |
Input |
|
Return |
|
SerializeObject
Serializes an Object into a placeholder containing a the object path If no object is passed, $Element is returned unchanged.
Syntax |
SerializeObject( $Element ); |
Input |
|
Return |
|
VisibleInSubShop
Returns true if affiliate object is visible in subshop
Syntax |
my $IsVisible = VisibleInSubShop( $RemoteObject, $SubShop ); |
Input |
|
Return |
|