PclZip::privCreate() –

You appear to be a bot. Output may be restricted

Description

Usage

PclZip::privCreate( $p_filedescr_list, $p_result_list, $p_options );

Parameters

$p_filedescr_list
( mixed ) required
$p_result_list
( mixed ) required
$p_options
( mixed ) required

Returns

void

Source

File name: wordpress/wp-admin/includes/class-pclzip.php
Lines:

1 to 27 of 27
  function privCreate($p_filedescr_list, &$p_result_list, &$p_options)
  {
    $v_result=1;
    $v_list_detail = array();

    // ----- Magic quotes trick
    $this->PclZip::privDisableMagicQuotes();

    // ----- Open the file in write mode
    if (($v_result = $this->PclZip::privOpenFd('wb')) != 1)
    {
      // ----- Return
      return $v_result;
    }

    // ----- Add the list of files
    $v_result = $this->PclZip::privAddList($p_filedescr_list, $p_result_list, $p_options);

    // ----- Close
    $this->PclZip::privCloseFd();

    // ----- Magic quotes trick
    $this->PclZip::privSwapBackMagicQuotes();

    // ----- Return
    return $v_result;
  }
 

 View on GitHub View on Trac