API16:JArchiveZip/hasNativeSupport
From Joomla! Documentation
Description
Method to determine if the server has native zip support for faster handling
<! removed transcluded page call, red link never existed >
Syntax
hasNativeSupport()
Returns
boolean True if php has native ZIP support
Defined in
libraries/joomla/filesystem/archive/zip.php
Importing
jimport( 'joomla.filesystem.archive.zip' );
Source Body
function hasNativeSupport()
{
return (function_exists('zip_open') && function_exists('zip_read'));
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples