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
H
 handle_comment
 handle_pingback_pings
 handle_uploads
 has_post
 hasAdministrator, System
 hasEvent, LnBlogObject
 hasHandlers
 homepage, User
I
 in_arrayi
 incomingPing, Trackback
 inGroup, System
 insert
 is_absolute
 isAdministrator, User
 isArticle, Article
 isBlog, Blog
 isComment, BlogComment
 isEntry, BlogEntry
 isEvent, EventRegister
 isOwner, System
 isSticky, Article
 isTrackback, Trackback
L
 load_plugin
 loadPlugins, PluginManager
 localpath, BlogEntry
 localpath_to_uri
 login, User
 logout, User
M
 make_uri
 makePrettyPermalink, BlogEntry
 markup, Entry
 merge, IniParser
 mkdir, FS
 mkdir_rec
 mkpath
 moveFile, FileUpload
N
 name, User
 NewArticle
 NewBlog
 NewBlogComment
 NewBlogEntry
 NewFileUpload
 NewIniParser
 NewPage
 NewPingback
 newPost
 NewTemplate
 NewTrackback
 NewUser
P
 p_
 parentID, BlogEntry
 password, User
 permalink
 pf_
 php_version_at_least
 pingExists, BlogEntry
 POST
 prettyDate, Entry
 process, PHPTemplate
Q
 queryStringToID, Entry
function handle_comment(&$ent,  
$use_comm_link = false)
Handles comments posted to an entry.
function handle_pingback_pings(&$ent)
Handles pingbacks for an entry.
function handle_uploads(&$ent)
Handles uploads that are sent when an entry is edited.
function has_post()
Determine if there is any POST data.
function hasAdministrator()
Determines if there is at least one user who is a system administrator.
function hasEvent($name)
Determine whether the given event exists.
function hasHandlers($raising_class,
$name)
Check if a given event has any handlers registered.
function hasHandlers($name)
Determine if thereare any handlers for the given event.
function homepage($url = false)
Set or return the user’s homepage.
function in_arrayi($needle,
$haystack)
Like in_array() standard function, except case-insensitive for strings.
function incomingPing()
Determines if there is a trackback ping in the POST data.
function inGroup($usrid,
$grp)
Determines whether or not a particular user belongs to a given group.
function insert ($blog,  
$dir_path = false)
Save the object as a new article.
function insert ($path = false)
Creates a new weblog.
function insert($entry)
Add a new comment on an entry or article.
function insert (&$blog)
Save the object to persistent storage.
function insert($ent)
Stores the pingback data in a file.
function is_absolute($path)
Return whether or not a path is absolute.
function isAdministrator()
Determines if the user is the system administrator.
function isArticle($path = false)
Determine if this object is, in fact, an article.
function isBlog()
Determines whether the object represents an existing blog.
function isComment($path = false)
Determines whether or not the object is an existing, saved comment.
function isEntry ($path = false)
Determine if the object is a blog entry or not.
function isEvent($raising_class,
$name)
Check if an event exists.
function isOwner($usrid,
$obj)
Determines if a given user owns an object.
function isSticky($path = false)
Determines if the article is set as sticky.
function isTrackback($path = false)
Determines if an object or file is a saved trackback.
function load_plugin($plugin_name)
Loads a plugin.
function loadPlugins()
Load all plugins.
function localpath()
Get the path to this entry’s directory on the local filesystem.
function localpath_to_uri($path,  
$full_uri = true)
Convert a local path to a URI.
function login($pwd)
Logs the user in.
function logout()
Logs the user out and destroys login tokens.
function make_uri($base = false,
$query_string = false,
$no_get = true,
$link_sep = '&',
$add_host = false)
Builds a correct URI with query string.
function makePrettyPermalink()
Creates a wrapper script that makes a “pretty” permalink to the entry directory based on the subject text of the entry.
function markup($data = "",
$use_nofollow = false)
Apply appropriate markup to the entry data.
function merge($file)
Merge another INI file into the current one.
function mkdir($dir,  
$mode = 0777)
Create a new directory.
function mkdir_rec($path,  
$mode = false)
Makes directory recursively.
function mkdir_rec($dir,  
$mode = 0777)
Recursive version of mkdir.
function mkpath()
A globally accessible convenience function that takes a variable number of arguments and strings them together with PATH_DELIM.
function moveFile()
Moves the file from the upload directory to the permanent location.
function name($nm = false)
Set or return the user’s long name.
function NewArticle($param = false)
Creates a new article object
function NewBlog($param = false)
Creates a new blog object
function NewBlogComment($param = false)
Creates a new BlogComment on an entry or article.
function NewBlogEntry($param = false)
Creates a new blog entry object.
function NewFileUpload($field,  
$dir = false,
$index = false)
Creates a new file uploader object.
function NewIniParser($file = false)
Creates a new INI file parser object.
function NewPage($ref = false)
Creates a new page object.
function NewPingback($param = false)
Creates a new pingback object.
Adds a new post to the blog.
Creates a new post.
function NewTemplate($tpl = "")
Creates a new template object.
function NewTrackback($param = false)
Creates a new trackback object.
function NewUser($usr = false,
$pwd = false)
Creates a new user object.
function p_($str)
A convenience funtion to print a translated string.
function parentID()
Gets an identifier for the entry’s parent blog.
function password($pwd = false)
Set or return the user’s password>
function permalink()
Get the permalink to the object.
function permalink()
Get the permalink to the object.
function permalink()
Abstract function that returns the object’s permalink.
function permalink()
Gives the permalink to the trackback entry.
function pf_()
A convenience function that mixes translation with printf.
function php_version_at_least($ver)
Check that PHP is at least a certain version.
function pingExists ($uri)
Checks if a Pingback ping has already been recorded for the source URL.
function POST($key,  
$val = "")
function prettyDate($ts = false)
Get a human-readable date from a timestamp.
function process($return_results = true)
Process the template and get the output.
function queryStringToID()
Abstract function that converts a query string into a unique identifier for an object.