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
R
 raiseEvent, LnBlogObject
 read_file
 readBlogData, Blog
 readFile, IniParser
 readFileData
 readSticky, Article
 receive, Trackback
 redirect, Page
 refresh, Page
 registerBlog, System
 registerEventHandler, LnBlogObject
 registerStaticEventHandler, LnBlogObject
 rename, FS
 reset, PHPTemplate
 rmdir, FS
S
 sanitize
 save, User
 scan_directory
 send, Trackback
 sendPings, BlogEntry
 SERVER
 SESSION
 set, PHPTemplate
 setDisplayObject, Page
 setTemplate, blogger
 setticky, Article
 setValue, IniParser
 showConfig, Plugin
 spf_
 status, FileUpload
 stripHTML, Entry
T
 testFile, PluginManager
U
 unsetVar, PHPTemplate
 update
 updateConfig, Plugin
 updateTagList, Blog
 upgradeWrappers, Blog
 uri
 uri_to_localpath
 username, User
V
 value, IniParser
 valueIsSet, IniParser
 varSet, PHPTemplate
W
 write_file
 writeBlogData, Blog
 writeFile, IniParser
 writeFileData
 writers, Blog
function raiseEvent($name)
Raises the given event name for this class.
function read_file($filename)
Reads file contents, respecting the values of the LNBLOG_OPEN_BASEDIR and LNBLOG_PARANOIA configuration constants.
function readBlogData()
Read and write a simple text file with the blog metadata.
function readFile()
Read the contents of an INI file into a two-dimensional array.
function readFileData()
Reads entry data from a file.
function readFileData($path = false)
Reads pingback data from a file.
function readFileData($path = false)
Reads trackback ping data from a file.
function readSticky($path)
Get the title and permalink without retreiving the entire article.
function receive()
Receive a TrackBack ping and store the data in a file.
function redirect($url)
Redirect to another page.
function refresh($url,  
$delay = )
Refresh the page.
function registerBlog($blogid)
Registers a blog with the system.
function registerEventHandler($type,
$name,
$func)
Registers a handler for an event of this class.
function registerStaticEventHandler($type,
$name,
$func)
Registers a static handler for an event of this class.
function rename($src,
$dest)
Move or rename a file.
function reset($file = "")
Resets a template back to its empty state, clearing all variables and the file.
function rmdir($dir)
Remove an empty directory.
function sanitize($str,  
$pattern = "/\W/",
$sub = "")
Strips the input of certain characters.
function save()
Save changes to user data.
function scan_directory($path,  
$dirs_only = false)
Does essentially the same thing as scandir on PHP 5.
function send($url)
Send a TrackBack ping without using a form.
function sendPings($local = false)
Scans the links in the current entry, determines which are pingback-enabled, and sends a pingback ping to those links.
function SERVER($key,  
$val = "")
function SESSION($key,  
$val = "")
A wrapper for the $_SESSION superglobal.
function set($var,  
$val = true)
Sets a template variable.
function setDisplayObject(&$ref)
Sets the object which the page is currently displaying.
Sets the template used for the main or entry page.
Set whether or not an article should be considered “featured”.
function setValue ($sec,  
$var,  
$val = false)
Sets a value for a key.
function showConfig(&$page)
Displays the plugin configuration in an HTML form.
function spf_()
A convenience function that mixes translation with sprintf.
function status()
Get a status code for the file upload.
function stripHTML($data)
Strip HTML code out of a string.
function testFile($plug)
Test if a particular plugin file exists.
function unsetVar($var)
Unsets a previously set template variable.
function update ()
Modify an existing weblog.
function update ()
Commit changes to a comment.
function update ()
Commit changes to the object.
function updateConfig()
Retrieves configuration data for the plugin from an HTTP POST and stores the data in the relevant files.
function updateTagList($tags)
Adds any new tags to the list of tags used in the current blog.
function upgradeWrappers ()
This is an upgrade function that will create new config and wrapper scripts to upgrade a directory of blog data to the current version.
function uri($type)
Get the URI of the designated resource.
function uri($type)
Get the URI for various functions.
function uri($type)
Gets the URI of the a specified page.
function uri($type)
Get the URI for various functions
function uri($type)
Get the URI for various functions
function uri_to_localpath($uri)
The reverse of localpath_to_uri, this function takes a URI handled by LnBlog and converts it into a local path to the file or directory in question.
function username($uid = false)
Set or return the username.
function value($sec,  
$var = false,
$default = false)
Get a value from the INI file.
function valueIsSet($sec,  
$var = false)
Determine if a particular key has been set.
function varSet($var)
Determine if a template variable has been set.
function write_file($path,
$contents)
Write contents to a file.
function write_file($path,
$contents)
Write a string to a new text file.
function writeBlogData()
Save the blog data to disk.
function writeFile($file = false)
Write the INI file back to the disk.
function writeFileData()
Write entry data to a file.
function writeFileData($path)
Write pingback data to a file.
function writeFileData($path)
Write trackback data to a file.
function writers($list = false)
Set and return the list of users who can add posts to the blog.