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_html, Entry
 has_post
 hasAdministrator, System
 hasEvent, LnBlogObject
 hasHandlers
 homepage, User
 How plugins work
 HTAccessGenerator
 HTML_3_2
 HTML_4_01_Frameset
 HTML_4_01_Strict
 HTML_4_01_Transitional
I
 i18n.php
 id, Entry
 in_arrayi
 incomingPing, Trackback
 index.php
 inGroup, System
 IniParser
 insert
 Installation
 ip, Entry
 IPBan
 is_absolute
 isAdministrator, User
 isArticle, Article
 isBlog, Blog
 isComment, BlogComment
 isEntry, BlogEntry
 isEvent, EventRegister
 isOwner, System
 isSticky, Article
 isTrackback, Trackback
K
 KEEP_COMMENT_HISTORY
 KEEP_EDIT_HISTORY
 Known Problems
L
 LANGUAGE
 LBCode Markup
 LBCODE_HEADER_WEIGHT
 License
$LNBLOG_PATH
 LnBlogObject
 Load order
 load_plugin
 loadPlugins, PluginManager
 LOCALEDIR
 localpath, BlogEntry
 localpath_to_uri
 LOCALPATH_TO_URI_MATCH_RE
 LOCALPATH_TO_URI_REPLACE_RE
 login, User
 LOGIN_EXPIRE_TIME
 logout, User
M
 make_uri
 makePrettyPermalink, BlogEntry
 markup, Entry
 Markup Types
 MARKUP_BBCODE
 MARKUP_HTML
 MARKUP_NONE
 member_list, Plugin
 merge, IniParser
 MetaData
 metadata_fields, Entry
 metaweblog.php
 metaweblog_test.php
 mime_type, Page
 Miscellaneous configuration
 mkdir, FS
 mkdir_rec
 mkpath
 moveFile, FileUpload
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.
Holds the type of markup used in the data property.
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.
The plugin mechanism is really quite simple.
Creates Apache .htaccess files in blog root directories.
Full doctype for HTML 3.2
Full doctype for HTML 4.01 Frameset
Full doctype for HTML 4.01 Strict
Full doctype for HTML 4.01 Transitional
Support functions for internationalization.
An ID for the object that is unique across the class (not used).
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.
The page for the main administration menu.
function inGroup($usrid,
$grp)
Determines whether or not a particular user belongs to a given group.
This is a simple class to parse INI files.
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.
The setup process for LnBlog is entirely web-based and mostly painless.
The IP address logged for this object at last modification.
Bans certain IP addresses from posting comments or trackbacks.
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.
Like KEEP_EDIT_HISTORY, except for comments.
Controls whether deleted and modified entries are kept archived, or if they are just permanently deleted.
These are some of the known problems with LnBlog.
The language to use for text.
Defines the level of header used for the [h] LBCode tag.
LnBlog: A simple file-based weblog focused on design elegance.
$LNBLOG_PATH
Add the path to your LnBlog folder here.
A base object which is event-aware, i.e.
As previously noted, load order is important for plugins that add segments to the page, such as sidebar plugins.
function load_plugin($plugin_name)
Loads a plugin.
function loadPlugins()
Load all plugins.
Directory to store the localization files.
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.
This is the regular expression used to determine if a local path refers to a user’s web root, which would be referred to with a URI like http://www.example.com/~jowblow/ and vice versa.
The corresponding replacement pattern to LOCALPATH_TO_URI_MATCH_RE.
function login($pwd)
Logs the user in.
The expiration time for the login cookies.
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.
LnBlog allows you to write your blog entries and articles in any of three formats.
Use LBCode markup, a bastardized version of BBCode.
Treat the markup as raw HTML, leaving it untouched.
Use auto-markup.
An associative array of arrays, with the form member=>settings, where member is the name of a member variable of your class and settings is an associative array of the configuration data for that member.
function merge($file)
Merge another INI file into the current one.
Adds HTML META tags to the page heading.
An array of property->var pairs.
This file implements the MetaWeblog API for posting to your blog via XML-RPC.
This is a simple test harness for the Blogger 1.0 API implementation.
Represents the MIME type of the page.
Assorted configuration constants that don’t fit into any coherent category.
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.