PmWikiRu / Functions
, !
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". CustomMarkup?. $pattern
- .
$replace
- . : CustomMarkup? 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: September 10, 2011, at 01:48 PM EST
PmWiki.Functions: May 19, 2023, at 12:47 AM EST