Actions

API15

JArchiveZip/hasNativeSupport

< API15:JArchiveZip

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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


Advertisement