ePages 6.10 - DE_EPAGES/ShoppingList/API/Object/ShoppingListItem.pm

Package DE_EPAGES::ShoppingList::API::Object::ShoppingListItem

object interface for ShoppingListItem.

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

Functions

className
dbPackage
importXML

className

Returns the class name, used for DAL access.

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

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $ShoppingListItem->dbPackage;
Return
$DbPackage (String)
database package name

importXML

Imports an object from an XML file. This function is called at the XML start tag. The end tag triggers the importXMLEnd function.

Syntax
$Object = DE_EPAGES::Object::API::Object::Object->importXML($Handler, $hElement, $Class, $hAttributes);
Input
$Handler (object)
xml import handler with support function addObject
$hElement (ref.hash)
XML element structure, see XML::SAX
$Class (object)
class object; the new object will be an instance of this class
$hAttributes (ref.hash)
attributes hash
Return
$Object (object)
the imported object