PclZip::__construct

Advertisement

Syntax Syntax

PclZip::__construct( $p_zipname )

Source Source

File: wp-admin/includes/class-pclzip.php

  function __construct($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;
  }

Advertisement

Advertisement

Leave a Reply