ePages 7.26.0 - DE_EPAGES/Shop/API/Object/ShopNotification.pm

Package DE_EPAGES::Shop::API::Object::ShopNotification

Class for shop notification

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

Functions

activate
className
deactivate
deleteAllObjects
setToFirstPosition

activate

Set the notification as activated (IsActive=1)

Syntax
$ShopNotification->activate();

className

Returns the class name.

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

deactivate

Set the notification as deactivated (IsActive=0)

Syntax
$ShopNotification->deactivate();

deleteAllObjects

Delete all notification object ids

Syntax
$ShopNotification->deleteAllObjects();

setToFirstPosition

Changes a notification position to the 1st position. Notifications with Position < NOTIFICATION_POSITION_TOP are the before

Syntax
$ShopNotification->setToFirstPosition();