AdminPageFramework_Zip::_replyToCompressFile PHP Метод

_replyToCompressFile() публичный Метод

public _replyToCompressFile ( ZipArchive $oZip, $sSourceFilePath, $aCallbacks = null )
$oZip ZipArchive
    public function _replyToCompressFile(ZipArchive $oZip, $sSourceFilePath, $aCallbacks = null)
    {
        $this->_addFromString($oZip, basename($sSourceFilePath), file_get_contents($sSourceFilePath), $aCallbacks);
        return $oZip->close();
    }