Lines Matching defs:format
548 * This builds a link to an alternate page format
553 * @param string $format the export renderer to use
560 function exportlink($id = '', $format = 'raw', $urlParameters = '', $abs = false, $sep = '&')
569 $format = rawurlencode($format);
578 $xlink .= DOKU_SCRIPT . '/' . $id . '?do=export_' . $format;
581 $xlink .= '_export/' . $format . '/' . $id;
584 $xlink .= DOKU_SCRIPT . '?do=export_' . $format . $sep . 'id=' . $id;
1000 * convert line ending to unix format
1024 * It also converts line endings to Windows format which is
1040 * Returns the specified local text in raw format
1486 * The format default to $conf['dformat']. It is passed to
1490 * @param string $format empty default to $conf['dformat'], or provide format as recognized by strftime()
1496 function dformat($dt = null, $format = '')
1502 if (!$format) $format = $conf['dformat'];
1504 $format = str_replace('%f', datetime_h($dt), $format);
1505 return strftime($format, $dt);