Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 _
A
 absolutizeBBCodeURI, Entry
 absolutizeHTMLURI, Entry
 activateEvent, EventRegister
 activateEventFull, EventRegister
 addEvent, EventRegister
 addHandler, EventRegister
 addHeader, Page
 addInlineScript, Page
 addInlineStylesheet, Page
 addLink, Page
 addMeta, Page
 addOption, Plugin
 addRSSFeed, Page
 addScript, Page
 addStylesheet, Page
 addToGroup
B
 baselink
 bbcodeToHTML, Entry
 blog_get_post_data
 blog_set_template
C
 calcPrettyPermalink, BlogEntry
 calculate_document_root
 canAddTo, System
 canonicalize
 chdir, FS
 checkLogin, User
 checkPassword, User
 checkPingbackEnabled, Pingback
 chmod, FS
 commentlink, BlogEntry
 completed, FileUpload
 COOKIE
 copy, FS
 createEvent, LnBlogObject
 current_file
 current_uri
 current_url
D
 defaultGroup, User
 delete
 destruct, FS
 display, Page
 displayName, User
E
 editPost
 email, User
 entry_set_template
 entryID
 errorMessage, FileUpload
 exportVars
 extractLinks, BlogEntry
F
 fetchPage, Pingback
 fixDirectoryPermissions, Blog
 fmtdate
function _($str)
Mimics the behavior of gettext.
function absolutizeBBCodeURI($data,
$current_uri)
A function to search LBCode marked-up text and convert the URIs in links and images from relative to absolute.
function absolutizeHTMLURI($data,
$current_uri)
A version of absolutizeBBCodeURI that works with HTML markup.
function activateEvent(&$raiser,
$event)
Activates an event for the raising object.
function activateEventFull(&$param,
$raisecls,
$event)
Raises an arbitrary event for the given class.
function addEvent($raising_class,
$name)
Creates a new event.
function addHandler($raising_class,  
$name,  
&$catching_class,  
$handler,  
$static = false)
Adds a handler function to an event.
function addHeader($name,
$content)
Add an item to the HTTP header for the page.
function addInlineScript($text,  
$type = "text/javascript")
Adds an inline script to the header of the page.
function addInlineStylesheet()
Adds style sheets to be added inline into the page.
function addLink($attribs)
Adds a generic link element to the page header.
function addMeta($content,  
$name = false,
$httpequiv = false)
Adds a META item to the page.
function addOption($name,  
$description,  
$default,  
$control = "text",
$options = false)
A short-hand way to add configuration options.
function addRSSFeed($href,
$type,
$title)
Adds an RSS feed to the link elements of the page header.
function addScript($href,  
$type = "text/javascript")
Adds a script file to the header of the page.
function addStylesheet()
Adds style sheets to be link into the page.
function addToGroup(&$usr,
$group)
Adds a user to a group.
function addToGroup($groupname)
Adds the user to the specified group.
function baselink()
Returns a link to the object’s base directory.
function baselink()
Gets a link to the object’s base directory, to use for converting relative to absolute paths.
Converts LBCode markup into HTML.
function blog_get_post_data(&$blog)
Get data from the HTTP POST and put it into the blog object.
function blog_set_template(&$tpl,
&$blog)
Sets template variables for display of a blog.
function calcPrettyPermalink($use_broken_regex = false)
Calculates a file name for a “pretty” permalink wrapper script.
function calculate_document_root()
An alternate way to find the document root.
function canAddTo($parm,  
$usr = false)
Determines if a given user has permissions to add child objects to some particular object.
function canonicalize ($path)
Return the canonical path for a given file.
function chdir($dir)
Change working directory
function checkLogin($uname = false)
Checks tokens to determine if the user is logged in.
function checkPassword($pass)
Checks if a password is valid for the current user.
function checkPingbackEnabled($url)
Checks if a given URL is pingback-enabled or not.
function chmod($path,
$mode)
Change permissions on a file or directory.
Get the permalink to the object.
function completed()
Determines the status of the upload.
function COOKIE($key,  
$val = "")
function copy($src,
$dest)
Copy a single file.
function createEvent($name)
Creates an event for the current class.
function current_file($no_escape = false)
An alias for current_uri(true, false, $no_escape).
function current_uri ($relative = false,
$query_string = false,
$no_escape = false)
Convenience function to return the path to the current script.
function current_url()
The absolute URL of the requested script.
function defaultGroup($val = false)
Gets or sets the default group for this user.
function delete ()
Removes an existing weblog.
function delete ()
Delete a comment.
function delete ()
Delete the current object.
function delete($src)
Delete a single file.
function delete()
Permanently delete a trackback.
function destruct()
An explicitly called destructor because PHP 4 doesn’t have proper destructors.
function display($page_body,  
$blog = false)
Displays the page, i.e.
function displayName()
Returns a name to display.
Edit an existing post.
Change an existing post.
function email($mail = false)
Set or return the user’s e-mail address.
function entry_set_template(&$tpl,
&$ent)
Sets variables in an entry template for display.
function entryID()
Gets the ID of the article, which is normally just the last portion of the path.
function entryID()
Gets an identifier for the current entry.
function errorMessage($err = false)
Gets a message associated with the status of the upload.
function exportVars(&$tpl)
Export blog variables to a PHPTemplate class.
function exportVars(&$tpl)
Convenience function to export relevant user data to a template.
function extractLinks($allow_local = false)
Extracts all the hyperlinks from the entry text.
function fetchPage($url,  
$headers = false)
Requests a URL from a remote host and returns the resulting data.
function fixDirectoryPermissions($start_dir = false)
A quick utility function to fix the borked permissions from not setting the correct umask when creating directories.
function fmtdate($fmt,  
$ts = false)
Print a formatted date.