Lines Matching defs:format
540 * This builds a link to an alternate page format
545 * @param string $format the export renderer to use
552 function exportlink($id = '', $format = 'raw', $urlParameters = '', $abs = false, $sep = '&')
561 $format = rawurlencode($format);
570 $xlink .= DOKU_SCRIPT . '/' . $id . '?do=export_' . $format;
573 $xlink .= '_export/' . $format . '/' . $id;
576 $xlink .= DOKU_SCRIPT . '?do=export_' . $format . $sep . 'id=' . $id;
966 * convert line ending to unix format
990 * It also converts line endings to Windows format which is
1006 * Returns the specified local text in raw format
1452 * The format default to $conf['dformat']. It is passed to
1456 * @param string $format empty default to $conf['dformat'], or provide format as recognized by strftime()
1462 function dformat($dt = null, $format = '')
1468 if (!$format) $format = $conf['dformat'];
1470 $format = str_replace('%f', datetime_h($dt), $format);
1471 return strftime($format, $dt);