, !
< |MailPosts| | Variables
PmWiki pmwiki.php. / Cookbook:Functions.
FmtPageName
($fmt, $pagename
)
$fmt
, $ $[], pagename
-- . () , Variables.
PmWiki. |FmtPageName|.
Markup
($name, $when, $pattern, $replace)
. |CustomMarkup|.
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 | >>
PmWiki.Functions -
PmWikiRu.Functions -
Backlinks
PmWikiRu.Functions: September 10, 2011, at 06:48 PM
PmWiki.Functions: May 19, 2023, at 05:47 AM