ePages 7.17.0 - DE_EPAGES/Object/API/Object/Country.pm

Package DE_EPAGES::Object::API::Object::Country

object interface for Country.

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

Functions

className
dbPackage
deleteXML
importXML

className

Returns the class name, used for DAL access.

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

dbPackage

Returns the database package, used for DAL access.

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

deleteXML

Adds the CountryID to the delete handler stack

Syntax
$Object = DE_EPAGES::Object::API::Object::Object->deleteXML($Handler, $hElement, $Class, $hAttributes);
Input
$Handler (object)
xml delete handler
$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

importXML

Adds the CountryID to the import handler stack

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