![]() |
Home / Documentation / 2.0 / API / | |||
| Apache::Util - Perl API for XXX | ||||
|
|
||
format_timeMETA: Autogenerated - needs to be reviewed/completed
Convert a time from an integer into a string in a specified format
$time_str = Apache::format_time($time, $fmt, $gmt, $p);
$time (number)
The time to convert
$fmt (string)
The format to use for the conversion
$gmt (integer)
Convert the time for GMT?
$p (APR::Pool)
The pool to allocate memory from
$time_str (string)
The string that represents the specified time
escape_pathMETA: Autogenerated - needs to be reviewed/completed
convert an OS path to a URL in an OS dependant way.
$path = Apache::escape_path($path, $p, $partial);
$path (string)
The path to convert
$p (APR::Pool)
The pool to allocate from
$partial (integer)
if set, assume that the path will be appended to something with a '/' in it (and thus does not prefix "./")
$path (string)
The converted URL
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
|
|