PmWiki /
FunctionListA simple list of the functions provided by PmWiki. Eventually to be fleshed out with more descriptions, and links to appropriate pages. pmwiki.php:Helper functions
Markup helper functionsPSS($x) - strip backslashes (added by the /e option to preg_replace) from $x. functions PVS($x) - Convert \n\n sequences to <:vspace> PVSE($x) - Convert special characters to HTML entities (excluding quotes) and convert \n\n sequences to <:vspace> PZZ($x,$y='') - return a null string (used for its side effect of evaluating $x and $y) PRR($x=NULL) - indicate that we need to restart markup processing PQA($x) - "prepare quoted arguments" -- quote any attributes in HTML tags NoCache($x='') - indicate that current page is not to be cached Markup functions CompareArgs($arg)
CondAuth($pagename, $condparm)
CondExpr($pagename, $condname, $condparm)
SetTmplDisplay($var, $val)
AsSpaced($text)
MatchPageNames($pagelist, $pat)
FixGlob($x, $rep = '$1*.$2')
ResolvePageName($pagename)
MakePageName($basepage,$x)
PCache($pagename, $page)
SetProperty($pagename, $prop, $value, $sep = NULL)
PageVar($pagename, $var, $pn = '')
FmtPageName($fmt, $pagename)
XL($key)
XLSDV($lang,$a)
XLPage($lang,$p)
CmpPageAttr($a, $b)
PageStore($d=' scripts/author.php:RequireAuthor($pagename, &$page, &$new) scripts/authuser.php:AuthUserId($pagename, $id, $pw=NULL) AuthUserConfig($pagename, $id, $pw, $pwlist) AuthUserHtPasswd($pagename, $id, $pw, $pwlist) AuthUserLDAP($pagename, $id, $pw, $pwlist) _crypt($plain, $salt=null) scripts/compat1x.php:ConvertV1WikiD($path) is a that allows pages to be converted read($pagename) UseV1WikiD($path) ConvertV1WikiD($path) scripts/crypt.php:HandleCrypt($pagename, $auth='read') scripts/diag.php:Ruleset() HandleRuleset($pagename) StopWatchHTML() scripts/draft.php:EditDraft(&$pagename, &$page, &$new) scripts/feeds.php:HandleFeed($pagename, $auth = 'read') RSSEnclosure($pagename, &$page, $k) scripts/forms.php:InputMarkup($pagename, $type, $args) scripts/guiedit.php:GUIButtonCode($pagename) scripts/httpauth.php:HTTPBasicAuthPrompt($pagename) scripts/notify.php:NotifyCheck($pagename) PostNotify($pagename, &$page, &$new) NotifyUpdate($pagename, $dir='') scripts/pagelist.php:SearchBox($pagename, $opt) FmtPageList($outfmt, $pagename, $opt) MakePageList($pagename, $opt, $retpages = 1) SortPageList(&$matches, $order) HandleSearchA($pagename, $level = 'read') FPLTemplate($pagename, &$matches, $opt) PageIndexTerms($terms) PageIndexUpdate($pagelist, $dir = '') PageIndexGrep($terms, $invert = false) PostPageIndex($pagename, &$page, &$new) scripts/pagerev.php:LinkSuppress($pagename,$imap,$path,$title,$txt,$fmt=NULL) PrintDiff($pagename) HandleDiff($pagename, $auth='read') scripts/phpdiff.php:PHPDiff($old,$new) scripts/simuledit.php:Merge($newtext,$oldtext,$pagetext) MergeSimulEdits($pagename,&$page,&$new) scripts/skins.php:SetSkin($pagename, $skin) LoadPageTemplate($pagename,$tfilefmt) PrintSkin($pagename, $arg) scripts/stdmarkup.php:PreserveText($sigil, $text, $lead) PrintMetaTags($pagename, $args) TrackAnchors($x) { global $SeenAnchor; return @$SeenAnchor[$x]++; } WSIndent($i) Cells($name,$attr) MarkupMarkup($pagename, $text, $opt = '') CondDate($condparm) scripts/trails.php:ReadTrail($pagename,$trailname) MakeTrailStop($pagename,$trailname) MakeTrailStopB($pagename,$trailname) MakeTrailPath($pagename,$trailname) scripts/transition.php:FPLByGroup($pagename, &$matches, $opt) GUIEdit($pagename, &$page, &$new) scripts/upload.php:MakeUploadName($pagename,$x) LinkUpload($pagename, $imap, $path, $title, $txt, $fmt=NULL) HandleUpload($pagename, $auth = 'upload') HandleDownload($pagename, $auth = 'read') HandlePostUpload($pagename, $auth = 'upload') UploadVerifyBasic($pagename,$uploadfile,$filepath) dirsize($dir) FmtUploadList($pagename, $args) AttachExist($pagename) scripts/urlapprove.php:LinkHTTP($pagename,$imap,$path,$title,$txt,$fmt=NULL) ReadApprovedUrls($pagename) HandleApprove($pagename, $auth='edit') BlockUnapprovedPosts($pagename, &$page, &$new) scripts/vardoc.php:VarLink($pagename,$tgt,$txt) VarIndexLoad($pagename) VarIndexList($pagename) scripts/wikistyles.php:ApplyStyles($x) scripts/xlpage-utf-8.php:utf8toupper($x) Category: PmWiki Internals PmWiki Developer
This page may have a more recent version on pmwiki.org: PmWiki:FunctionList, and a talk page: PmWiki:FunctionList-Talk. |