wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
pclziputiloptiontext › WordPress Function
Depuisn/a
Dépréciéen/a
› pclziputiloptiontext ( $p_option )
Défini(e) dans: |
|
Codex: |
Pas encore de description.
Fonctions en relation: pclziputilpathinclusion, pclziputilpathreduction, pclziputilcopyblock, pclziputiltranslatewinpath, pclziputilrename
Source
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; } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclZipUtilTranslateWinPath() // Description : // Translate windows path by replacing '\' by '/' and optionally removing // drive letter. // Parameters : // $p_path : path to translate. // $p_remove_disk_letter : true | false // Return Values : // The path translated. // --------------------------------------------------------------------------------