API17

API17:JInstallerHelper::unpack

From Joomla! Documentation

Joomla 11.1 JInstallerHelper::unpack

Description

Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip.


public static function unpack ($p_filename)
Parameter Type Default Description
$p_filename string The uploaded package filename or install directory
  • Returns Array Two elements - extractdir and packagefile
  • Defined on line 114 of libraries/joomla/installer/helper.php
  • Since Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples