Skip to content

Admin Pack File Object

An Admin Pack File Object is an object returned from the API which contains information about a file/folder stored in your packs files area. The details about what data it provides is listed below.

Returned Data (Represented by $object)

NameTypeDescription
$object->filenamestringThe filename of the file/folder
$object->sizeintThe size of the file in bytes (won’t show up if it’s a folder)
$object->md5stringThe md5 hash of the file (won’t show up if it’s a folder)
$object->pathstringThe path to the file for use in your XML (won’t show up if it’s a folder)
$object->filebooleanIf this object represents a file (will be true) or a folder (will be false)
$object->__LINKstringThe link to this file or folder in the API