ePages 6.17.15 - DE_EPAGES/Diagnostics/API/HelpCenter.pm

Package DE_EPAGES::Diagnostics::API::HelpCenter

Provides functions to get data from helpcenter.epages.com

@EXPORT_OK
GetApiInfoFromDocRoot
GetModelsInfoFromDocRoot

Functions

GetApiInfoFromDocRoot
GetModelsInfoFromDocRoot

GetApiInfoFromDocRoot

Returns array with all .html files in $DocRoot/API (http://helpcenter.epages.com/Doc/ver_X_Y_Z/epages/API)

Syntax
my $aKnownAPIDocs = GetApiInfoFromDocRoot($DocRoot);
Input
$DocRoot (string)
URL; default: System.DocRoot
Return
$aKnownAPIDocs (ref. array)
array of .html files relative to DocRoot/API

GetModelsInfoFromDocRoot

Returns hash with cartridge names (w/o DE_EPAGES::) as key and cvs list of all .pdf files in $DocRoot/Models for that key as value (http://helpcenter.epages.com/Doc/ver_X_Y_Z/epages/Models)

Syntax
my $hModelsInfo = GetModelsInfoFromDocRoot($DocRoot);
Input
$DocRoot (string)
URL; default: System.DocRoot
Return
$hModelsInfo (ref. hash)
hash with cartridge names as key and .pdf files as value