ePages 6.13.1 - DE_EPAGES/Content/API/Object/Category.pm

Package DE_EPAGES::Content::API::Object::Category

object interface for Category.

Base
DE_EPAGES::Content::API::Object::ContentObject

Functions

createURI
featureName
recursivSubCategories

createURI

Returns a suggestion for a short url.

Syntax
$URI = $Object->createURI($Name, $Parent, $LanguageID);
Input
$Name (string)
Name of category
$Parent (object)
parant object
$LanguageID (integer)
id of language
Return
$URI (string)
suggested URI

featureName

Returns the feature name.

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

recursivSubCategories

Returns all sub categories, recurive depth can limit bei $MaxLevel.

Syntax
$aSubCategories = $category->recursivSubCategories;
Input
$MaxLevel (integer)
maximum depth of category tree
Return
$aSubCategories (reference to array of object)
list of sub categories