API15:JArchiveZip/hasNativeSupport/ja

出典: Joomla! ドキュメンテーション

目次

Description

Method to determine if the server has native zip support for faster handling

[Edit Descripton]



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'));
}

[Edit See Also]



Examples

<CodeExamplesForm />