PclZipUtilOptionText() –

You appear to be a bot. Output may be restricted

Description

Usage

PclZipUtilOptionText( $p_option );

Parameters

$p_option
( mixed ) required

Returns

void

Source

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

1 to 18 of 18
  function PclZipUtilOptionText($p_option)
  {

    $v_list = get_defined_constants();
    for (reset($v_list); $v_key = key($v_list); next($v_list)) {
      $v_prefix = substr($v_key, 0, 10);
      if ((   ($v_prefix == 'PCLZIP_OPT')
           || ($v_prefix == 'PCLZIP_CB_')
           || ($v_prefix == 'PCLZIP_ATT'))
          && ($v_list[$v_key] == $p_option)) {
        return $v_key;
      }
    }

    $v_result = 'Unknown';

    return $v_result;
  }
 

 View on GitHub View on Trac