PclZip::PclZip PHP Method

PclZip() public method

--------------------------------------------------------------------------------
public PclZip ( $p_zipname )
    public function PclZip($p_zipname)
    {
        // ----- Tests the zlib
        if (!function_exists('gzopen')) {
            die('Abort ' . basename(__FILE__) . ' : Missing zlib extensions');
        }
        // ----- Set the attributes
        $this->zipname = $p_zipname;
        $this->zip_fd = 0;
        $this->magic_quotes_status = -1;
        // ----- Return
        return;
    }

Usage Example

Example #1
0
 function zip_cla()
 {
     parent::PclZip('');
 }
All Usage Examples Of PclZip::PclZip