PclZipUtilOptionText

Definition:
function PclZipUtilOptionText($p_option)

Parameters

  • $p_option

Source code

  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;

  }

2491

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: