ePages 6.11.0 - DE_EPAGES/Design/API/Object/NavBarElement.pm

Package DE_EPAGES::Design::API::Object::NavBarElement

object interface for NavBarElement.

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

Functions

canInvalidatePageCache
clone
template

canInvalidatePageCache

Overwrites method DE_EPAGES::Object::API::Object::Object->canInvalidatePageCache to invalidate page cache.

Syntax
$Object->canInvalidatePageCache;

clone

Inserts a new object into the database as copy from old object.

Syntax
$Clone = $NavBarElement->clone ($hInfo);
$Clone = $NavBarElement->clone( $hInfo, $Recursive );
Input
$hInfo (hash ref)
hash with attribute values that are different in the clone object.
Note that the clone cannot have the same parent and the same alias.
$Recursive (boolean)
clone child objects, too (optional, default is false)
Return
$Clone (object)
the new object

template

This function is used to overwrite the given template for the purpose that each navelement can defined there own editor template (visualisation).

Syntax
$Name = $Object->template($Name, $ObjectPageType);
Input
$Name (string)
include name
$ObjectPageType (DE_EPAGES::Presentation::API::Object::ObjectPageType)
object related pagetype
Return
$Name (string)
include name