API15:JArchiveBzip2/ construct/ja
出典: Joomla! ドキュメンテーション
目次 |
Description
Constructor tries to load the bz2 extension of not loaded
Syntax
__construct()
Returns
void
Defined in
libraries/joomla/filesystem/archive/bzip2.php
Importing
jimport( 'joomla.filesystem.archive.bzip2' );
Source Body
function __construct() { // Is bz2 extension loaded? If not try to load it if (!extension_loaded('bz2')) { if (JPATH_ISWIN) { @ dl('php_bz2.dll'); } else { @ dl('bz2.so'); } } }
Examples
<CodeExamplesForm />
