PmWiki pmwiki.php. / Cookbook:Functions.
FmtPageName
($fmt, $pagename
)
$fmt
, $ $[], pagename
-- . () , Variables.
PmWiki. FmtPageName.
Markup
($name, $when, $pattern, $replace)
PmWiki. Markup()
, :
$name
- . , .
$when
- . "
<xyz
" "xyz", ">xyz
" "xyz". . $pattern
- .
$replace
- . : Cookbook:Functions#Markup
MarkupToHTML
($pagename
, $str)
$str
PmWiki HTML , $pagename
.
: Cookbook:Functions#MarkupToHTML
mkdirp
($dir)
mkdirp
($dir)$dir
( ) . PmWiki . PHP (safe_mode).mkdirp
() /,mkdirp
() , , PmWiki .
MakeLink
($pagename
, $target, $txt, $suffix, $fmt)
MakeLink
($pagename
, $target, $txt, $suffix, $fmt) HTML . :
$pagename
$target
$txt
$suffix
- $txt
$fmt
-
$txt NULL , $target.
$fmt NULL , MakeLink . ,
$LinkPageExistsFmt
$LinkPageCreateFmt
, (InterMap) --$IMapLinkFmt
$UrlLinkFmt
. , $LinkUrl URL , $LinkText -- , $LinkAlt "title" (alt ) . : PmWiki:MakeLink Cookbook:Functions#MakeLink
<< Variables | DocumentationIndex | >>
PmWikiRu.Functions -
Backlinks
PmWikiRu.Functions: 2011-09-10
PmWiki.Functions: 2023-02-07