WebMail Pro 7 documentation

Files

API reference on CApiFilestorageManager class

Files manager provides all the methods required for manipulating files, folders and links. The approach for invoking API manager for file storage is a common point for any methods listed here:

include_once '/var/www/webmail/libraries/afterlogic/api.php';
if (class_exists('CApi') && CApi::IsValid()) {
    $oApiCalendarManager = CApi::Manager('filestorage');
    ...
} else {
    echo 'AfterLogic API isn\'t available';
}

NOTE: many methods of this API manager return boolean values. If not stated otherwise, bool value true/false stands for success or failure respectively.

API reference on CApiFilestorageManager class