ePages 6.17.48 - DE_EPAGES/DocdataPay/API/SOAP/Tools.pm

Package DE_EPAGES::DocdataPay::API::SOAP::Tools

tools for Soap request to Docdata

Functions

getAttributesAndTruncateIfNeeded
new
truncateAttribute

getAttributesAndTruncateIfNeeded

truncates, if needed, a list of attributes

Syntax
getAttributesAndTruncateIfNeeded( $DataSorce, $aFieldNames );
Input
$DataBaseObject (object)
an ePages Database object
$aFieldNames (arrayRef)
list of attributes names
Return
$hAttributes (refhash)
truncated attributes

new

Constructor

Syntax
new( );
Return
$self (object)
self

truncateAttribute

truncates an Attributes to the maximum allowed length

Syntax
truncateAttribute( $Attribute, $FieldName );
Input
$Attribute (String)
an attribute
$aFieldNames (arrayRef)
list of attributes names
Return
$TruncatedAttribute (String)
a truncated attribute