Element index for package Slashblog
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ _ ]
_
- __construct
- in file post.class.php, method Post::__construct()
Constructor, calls constructor of parent DataContainer.
- __construct
- in file dataitem.class.php, method DataItem::__construct()
Constructor.
- __construct
- in file datacontainer.class.php, method DataContainer::__construct()
Initializes private item variable to an array.
- __construct
- in file blog.class.php, method Blog::__construct()
Loads all blog settings by default, but no post data, and checks which page we are likely to want to display, by looking at available $_GET variables. We also check if user is logged in as author.
top
a
- AddItem
- in file datacontainer.class.php, method DataContainer::AddItem()
Adds item to container.
- admin-login.php
- procedural page admin-login.php
- admin-write.php
- procedural page admin-write.php
- ADMIN_PASSWORD
- in file config.php, constant ADMIN_PASSWORD
Constants
- AsText
- in file post.class.php, method Post::AsText()
Prints out post data text in our own format.
- AsXML
- in file post.class.php, method Post::AsXML()
Prints out post data as XML.
- Authenticate
- in file blog.class.php, method Blog::Authenticate()
Authenticates user if password is supplied. If not, checks if user is logged in or redirects him to login page. Sets login variable to true on success.
- authenticate.php
- procedural page authenticate.php
top
b
- Blog
- in file blog.class.php, class Blog
Holds and handles settings and posts. Also takes care of saving data to file.
- BlogTitle
- in file blog.class.php, method Blog::BlogTitle()
Prints the blog title.
- blog.class.php
- procedural page blog.class.php
top
c
- config.php
- procedural page config.php
- CurrentAuthor
- in file blog.class.php, method Blog::CurrentAuthor()
Prints author of post currently being displayed.
- CurrentContent
- in file blog.class.php, method Blog::CurrentContent()
Prints content of post currently being displayed.
- CurrentDate
- in file blog.class.php, method Blog::CurrentDate()
Prints date of post currently being displayed.
- CurrentPage
- in file blog.class.php, method Blog::CurrentPage()
Returns current page file to include.
- CurrentTags
- in file blog.class.php, method Blog::CurrentTags()
Prints tags of post currently being displayed.
- CurrentTitle
- in file blog.class.php, method Blog::CurrentTitle()
Prints title of post currently being displayed.
top
d
- datacontainer.class.php
- procedural page datacontainer.class.php
- dataitem.class.php
- procedural page dataitem.class.php
- DataContainer
- in file datacontainer.class.php, class DataContainer
Container of any number of data items.
- DataItem
- in file dataitem.class.php, class DataItem
This class represents a data item, i.e. a value, represented by a key to identify it. It acts more like a struct than a class, in the way that it's only meant to store data, not manipulate it.
- DATA_STORAGE
- in file config.php, constant DATA_STORAGE
- DebugDumpPosts
- in file blog.class.php, method Blog::DebugDumpPosts()
Debug function that outputs the array of posts.
- DebugDumpSettings
- in file blog.class.php, method Blog::DebugDumpSettings()
Debug function that outputs the array of settings.
- DeleteItem
- in file datacontainer.class.php, method DataContainer::DeleteItem()
Removes item with the specified key.
- DeletePost
- in file blog.class.php, method Blog::DeletePost()
Deletes the post with the specified ID.
- DumpToOutput
- in file post.class.php, method Post::DumpToOutput()
Prints out all items in container.
top
e
- EditItem
- in file datacontainer.class.php, method DataContainer::EditItem()
Edits the value associated with specified key.
- Error
- in file blog.class.php, method Blog::Error()
Returns error message if one is specified in URL.
top
top
g
- GetAuthor
- in file post.class.php, method Post::GetAuthor()
Gets post author.
- GetContent
- in file post.class.php, method Post::GetContent()
Gets post content.
- GetDate
- in file post.class.php, method Post::GetDate()
Gets post date.
- GetID
- in file post.class.php, method Post::GetID()
Gets post ID.
- GetKey
- in file dataitem.class.php, method DataItem::GetKey()
GetKey()
- GetPostByID
- in file blog.class.php, method Blog::GetPostByID()
Returns reference to the post with the specified ID.
- GetSetting
- in file blog.class.php, method Blog::GetSetting()
Returns value of specified setting. If this fails, an Exception is thrown.
- GetTags
- in file post.class.php, method Post::GetTags()
Gets post tags.
- GetTitle
- in file post.class.php, method Post::GetTitle()
Gets post title.
- GetValue
- in file datacontainer.class.php, method DataContainer::GetValue()
Gets value associated with specified key.
- GetValue
- in file dataitem.class.php, method DataItem::GetValue()
GetValue()
top
top
i
- $items
- in file datacontainer.class.php, variable DataContainer::$items
- index.php
- procedural page index.php
- IsIndex
- in file blog.class.php, method Blog::IsIndex()
Checks if we are currently viewing the loop/index page.
- IsSingle
- in file blog.class.php, method Blog::IsSingle()
Checks if we are currently viewing a single post.
top
l
- LoadPosts
- in file blog.class.php, method Blog::LoadPosts()
Loads post depending on what source we specify in config.php.
- LoadSingle
- in file blog.class.php, method Blog::LoadSingle()
Loads a single post from source defined in config.php
- LoggedIn
- in file blog.class.php, method Blog::LoggedIn()
Checks if we are currently logged in as owner.
- loop.php
- procedural page loop.php
top
m
- MorePosts
- in file blog.class.php, method Blog::MorePosts()
Checks if there are more posts to display after the current one.
top
n
- NewerPages
- in file blog.class.php, method Blog::NewerPages()
Checks if there are newer pages to display before the current one.
- NextPage
- in file blog.class.php, method Blog::NextPage()
Prints next page number.
- NextPost
- in file blog.class.php, method Blog::NextPost()
Set post being displayed to next one in order.
top
o
- OlderPages
- in file blog.class.php, method Blog::OlderPages()
Checks if there are more posts to display after the current one.
top
p
- post.class.php
- procedural page post.class.php
- PATH_BASE
- in file config.php, constant PATH_BASE
- PATH_DATA
- in file config.php, constant PATH_DATA
- Post
- in file post.class.php, class Post
Contains a post, composed of several data fields/items. Has extended functionality specific to it's purpose as a container of not just data, but data composing a blogpost.
- PreviousPage
- in file blog.class.php, method Blog::PreviousPage()
Prints previous page number.
- PrintRSS
- in file blog.class.php, method Blog::PrintRSS()
Prints the RSS feed.
- PublishPost
- in file blog.class.php, method Blog::PublishPost()
Publishes a new post to the storage file specified in config.php. Differs from the AddPost function in the way that it actually loads and saves posts to and from file, thus also rebuilding the ID structure.
- publish.php
- procedural page publish.php
top
top
s
- SavePosts
- in file blog.class.php, method Blog::SavePosts()
Writes currently loaded posts to file using the storage method specified in config.php
- SetAuthor
- in file post.class.php, method Post::SetAuthor()
Sets an author of the post. If no author field yet exists, it creates one.
- SetContent
- in file post.class.php, method Post::SetContent()
Sets content of the post. If no content field yet exists, it creates one.
- SetDate
- in file post.class.php, method Post::SetDate()
Sets the timestamp of the post. If no timestamp field yet exists, it creates one.
- SetTags
- in file post.class.php, method Post::SetTags()
Sets tags of the post. If no tag field yet exists, it creates one.
- SetTitle
- in file post.class.php, method Post::SetTitle()
Sets title of the post. If no title field yet exists, it creates one.
- SetValue
- in file dataitem.class.php, method DataItem::SetValue()
GetValue()
top
|
|