ePages 7.17.0 - DE_EPAGES/Shop/API/Feature.pm

Package DE_EPAGES::Shop::API::Feature

This package provides the feature functions.

@EXPORT_OK
LoadFeatureByAlias
ExistsFeatureByAlias

Functions

ExistsFeatureByAlias
LoadFeatureByAlias

ExistsFeatureByAlias

Returns true if the feature exists

Syntax
$ExistsFeature = ExistsFeatureByAlias( $Alias );
Example
$ExistsFeature = ExistsFeatureByAlias( 'OrderDocument' );
Input
$Alias (string)
feature alias
Return
(boolean)
$ExistsFeature

LoadFeatureByAlias

Returns the feature object.

Syntax
$Feature = LoadFeatureByAlias( $Alias );
Example
$Feature = LoadFeatureByAlias( 'OrderDocument' );
Input
$Alias (string)
feature alias
Return
$Feature (DE_EPAGES::Shop::API::Object::Feature)
feature object