Site URL manipulation functions.
$Id: sitepath.php 562 2005-12-02 13:41:38Z stijn $
Compute the link to one directory level up for an URL
Return the (topic, title) array for the given directory index
Return an array with breadcrumb info.
This function walks the path to the current file and return an array in the form of (href, title) pairs. This array is in order of the tree (so getPathInfo("/bla/bla2") would return an array
( array("bla", "titel for bla"), array("bla2", "titel for bla2") )
Returns all topics based on the current URL.
Topics are:
Topics can be excluded by being listed in the 'exclude' page option, again separated by comma's if necessary.
The array returned is in the same format as getPathInfo, each element being a (href, title) tuple.
Return the title for an URL.
Returns the last element of the url (minus / or .php) if the URL was not found in the database.
Normalize the given URL to an URL used in the database.
In practice, this means adding 'index.php' to directories, and stripping double slashes from the URL.
Set or update the title of a given URL in the database.
Strip double slashes from an URL.
Although Apache 2.0.* doesn't seem to allow them in URLs, Apache 1.3.* does, and we don't want them in the database. Other environments (IIS?) might allow them too, but that is untested.
Documentation generated on Fri, 30 Jun 2006 10:31:38 +0200 by phpDocumentor 1.3.0RC3