An Index of PHPlist Functions and Class Methods
The location of the definition of each function or method is listed by file name and line number. Each file is located relative to the admin directory in the phplist distribution, that is, relative to the subdirectory public_html/lists/admin.
For each function or method, the arguments are listed and explained, as well as the return value if any. Some explanation of the function is planned to be given among the Comments. These pages are under construction. Most entries are incomplete. But every entry has the location for the definition of the function or method, so that you can look up the definition in file containing the source code.
The line numbers shown for each function listed correspond to version 3.05 of Phplist. In most cases the locations of these functions have changed in later releases, Usually these functions involve only a small change in the line number, so that you can locate the function in the vicinity of the line number specified.
P
pad_right($str,$len)
lib.php, line 1560
Arguments:
$str: An input string
$len: An integer
Return value: The padded string.
Comments: If $str is longer than $len, $str is padded with spaces on the left to form a string of length $len, essentially moving $str rightwards in the output string. If the input string is longer than $len, only the rightmost characters of the input are taken. In either case, the length of the output string is $len.
PageAttributes($data)
connect.php, line 1375
Arguments:
$data
Return value:
Comments:
pageCategory($page)
connect.php, line 686
Arguments:
$page
Return value:
Comments:
PageData($id)
connect.php, line 1317
Arguments:
$id
Return value:
Comments:
pageInfo($id = '')
commonlib/lib/interfacelib.php, line 966
Arguments:
$id
Return value:
Comments:
PageLink2($name,$desc="",$url="",$no_plugin = false,$title = '')
connect.php, line 953
Arguments:
$name
$desc
$url
$no_plugin
$title
Return value:
Comments:
connect.php, line 1059
Arguments:
$name
$desc
$url
$extraclass
$title
Return value:
Comments:
connect.php, line 1033
Arguments:
$name
$desc
$url
$extraclass
Return value:
Comments:
connect.php, line 1055
Arguments:
$name
$desc
$url
$extraclass
$title
Return value:
Comments:
PageLinkClass($name,$desc="",$url="",$class = '',$title = '')
connect.php, line 1043
Arguments:
$name
$desc
$url
$class
$title
Return value:
Comments:
connect.php, line 1013
Arguments:
$name
$desc
$url
$extraclass
Return value:
Comments:
connect.php, line 1023
Arguments:
$name
$desc
$url
$extraclass
Return value:
Comments:
pageTitle($page)
languages.php, line 312
Arguments:
$page
Return value:
Comments:
pageTitleHover($page)
languages.php, line 345
Arguments:
$page
Return value:
Comments:
PageURL2($name,$desc = "",$url="",$no_plugin = false)
connect.php, line 1084
Arguments:
$name
$desc
$url
$no_plugin
Return value:
Comments:
Paging($base_url,$start,$total,$numpp = 10,$label = "")
connect.php, line 1815
Arguments:
$base_url
$start
$total
$numpp
$label
Return value:
Comments:
PagingNext($base_url,$start,$total,$numpp,$label = "")
connect.php, line 1843
Arguments:
$base_url
$start
$total
$numpp
$label
Return value:
Comments:
PagingPrevious($base_url,$start,$total,$numpp,$label = "")
connect.php, line 1852
Arguments:
$base_url
$start
$total
$numpp
$label
Return value:
Comments:
parseCline()
index.php, line 584
Explanation: parses the arguments passed to the Phplist script index.php when it is run from the command line
Arguments: None. The function picks up its input from $GLOBALS['argv']
Return value: An associative array of argument values with the argument names as the keys.
Comments: Used only in initializing Phplist. The return value is stored in the $cline array. See line 27 of index.php.
lib.php, line 1405
Arguments:
$strdate
$format
Return value:
Comments:
commonlib/pages/usermgt.php, line 19
Arguments:
$strdate
$format
Return value:
Comments:
parseDelimitedData($value)
connect.php, line 1483
Arguments:
$value
Return value:
Comments:
parseFinalMessage($sendformat, $htmlmessage, $textmessage, & $mail,$messageid)
defaultplugin.php, line 504
Arguments:
$sendformat
$htmlmessage
$textmessage
$mail
$messageid
Return value:
Comments:
parseMessage($content,$template,$adminid = 0)
lib.php, line 600
Arguments:
$content
$template
$adminid
Return value:
Comments:
parseOutgoingHTMLMessage($messageid, $content, $destination, $userdata = null)
defaultplugin.php, line 434
Arguments:
$messageid
$content
$destination
$userdata
Return value:
Comments:
parseOutgoingTextMessage($messageid, $content, $destination, $userdata = null)
defaultplugin.php, line 422
Arguments:
$messageid
$content
$destination
$userdata
Return value:
Comments:
parsePlaceHolders($content,$array = array())
sendemaillib.php, line 1186
Explanation: This is the function that replaces standard placeholders by the value of the attribute specified in upper case between square brackets.
Arguments:
$content: A text string. This function is used to process text or
HTML content of a message.
$array: An array in the form $key ⇒ $value. The key is the name of an attribute; $value is the value associated with the current subscriber and/or message.
Return value: The that was input but with placeholders replaced by values.
Comments: If the attribute inside the square brackets is not one of the keys in $array, the placeholder is left untouched.
parsePlaceHolders($templ, $data)
importlib.php, line 19
Arguments:
$templ
$data
Return value:
Comments:
parsePo($translationUpdate)
languages.php, line 622
Arguments:
$translationUpdate
Return value:
Comments:
parseQueryString($str)
lib.php, line 1128
Arguments:
$str
Return value:
Comments:
rsslib.php, line 4
Arguments:
$template
$data
Return value:
Comments:
parseText($text)
sendemaillib.php, line 1218
Arguments:
$text
Return value:
Comments:
parseThankyou($pageid= 0, $userid= 0, $text= "")
defaultplugin.php, line 291
Arguments:
$pageid
$userid
$text
Return value:
Comments:
phpcfgsize2bytes($val)
connect.php, line 1260
Arguments:
$val
Return value:
Comments:
phplist_I18N()
languages.php, line 175
Arguments:
Return value:
Comments:
phplist_shutdown ()
connect.php, line 1651
Arguments:
Return value:
Comments:
PHPlistMailer($messageid,$email,$inBlast = true,$exceptions = false)
class.phplistmailer.php, line 40
Arguments:
$messageid
$email
$inBlast
$exceptions
Return value:
Comments:
phplistplugin()
defaultplugin.php, line 87
Arguments:
Return value:
Comments:
phplistTest()
defaulttest.php, line 9
Arguments:
Return value:
Comments:
plainText($text)
commonlib/lib/interfacelib.php, line 425
Arguments:
$text
Return value:
Comments:
pluginsCall($method)
pluginlib.php, line 163
Arguments:
$method
Return value:
Comments:
precacheMessage($messageid,$forwardContent = 0)
sendemaillib.php, line 1292
Arguments:
$messageid
$forwardContent
Return value:
Comments:
prepareOutput()
readtestmail.php, line 37
Arguments:
Return value:
Comments:
lib.php, line 527
Arguments:
$id
$adminid
$text
$footer
Return value:
Comments:
previous()
commonlib/lib/interfacelib.php, line 874
Arguments:
Return value:
Comments:
previousLink()
commonlib/lib/interfacelib.php, line 867
Arguments:
Return value:
Comments:
prevNextNav()
commonlib/lib/interfacelib.php, line 892
Arguments:
Return value:
Comments:
printarray($array)
connect.php, line 1766
Arguments:
$array
Return value:
Comments:
printobject($object)
connect.php, line 1754
Arguments:
$object
Return value:
Comments:
===printTree($tree,$root,$delim)
import3.php, line 66
Arguments:
$tree
$root
$delim
Return value:
Comments:
processBounceData($bounceid,$msgid,$userid)
processbounces.php, line 202
Arguments:
$bounceid
$msgid
$userid
Return value:
Comments:
processbounces_shutdown()
processbounces.php, line 46
Arguments:
Return value:
Comments:
processDBerror($errorid)
defaultplugin.php, line 582
Arguments:
$errorid
Return value:
Comments:
processEditList($id)
defaultplugin.php, line 706
Arguments:
$id
Return value:
Comments:
ProcessError ($message)
actions/processqueue.php, line 305
Arguments:
$message
Return value:
Comments:
ProcessError($message)
readtestmail.php, line 62
Arguments:
$message
Return value:
Comments:
processError($msg)
defaultplugin.php, line 597
Arguments:
$msg
Return value:
Comments:
processbounces.php, line 170
Arguments:
$link
$num
$header
Return value:
Comments:
processImapFolder($server,$user,$password,$folder,$fieldlist = array())
import3.php, line 136
Arguments:
$server
$user
$password
$folder
$fieldlist
Return value:
Comments:
processMbox ($file)
processbounces.php, line 330
Arguments:
$file
Return value:
Comments:
processMessages($link,$max = 3000)
processbounces.php, line 345
Arguments:
$link
$max
Return value:
Comments:
processPop ($server,$user,$password)
processbounces.php, line 310
Arguments:
$server
$user
$password
Return value:
Comments:
processQueueStart()
defaultplugin.php, line 605
processSendFailed($messageid, $userdata, $isTest = false)
defaultplugin.php, line 541
Arguments:
$messageid
$userdata
$isTest
Return value:
Comments:
processSendStats($sent = 0,$invalid = 0,$failed_sent = 0,$unconfirmed = 0,$counters = array())
defaultplugin.php, line 557
Arguments:
$sent
$invalid
$failed_sent
$unconfirmed
$counters
Return value:
Comments:
processSendSuccess($messageid, $userdata, $isTest = false)
defaultplugin.php, line 528
Arguments:
$messageid
$userdata
$isTest
Return value:
Comments:
processSpamComplaint($email,$date)
defaultplugin.php, line 713
Arguments:
$email
$date
Return value:
Comments:
processSubscribePageEdit($subscribePageID)
defaultplugin.php, line 736
Arguments:
$subscribePageID
Return value:
Comments:
defaultplugin.php, line 508
Arguments:
$messageid
$sendformat
$userdata
$success
Return value:
Comments:
processTestEmails_shutdown()
readtestmail.php, line 68
Arguments:
Return value:
Comments: