isoTope Documentation: Store handler API

This is a very simple API to store, retrieve and query Atom entries, be they Atom entries or comments attached to those Atom entries. All store handlers extend the BaseClassStorage class.

Functions

init($config)

Initialises the Storage object. $config is a list of configuration options.

getAtomEntry($blogId)

Retrieves an atom entry with the identifier of $blogId.

storeAtomEntry(AtomEntry)

Stores a new Atom entry or an updated one. AtomEntry is an object representation of an atom entry (as defined in atomClasses.php).

deleteAtomEntry($blogId)

Deletes an atom entry with the identifier of $blogId.

getAtomEntries($max)

Gets the most recent atom entries, $max specifies the number of entries to return. This parameter is optional, and the Store class should set a default.

getAtomComment($commentId)

Retrieves an atom comment with the identifier of $commentId.

storeAtomComment(AtomEntry)

Stores a new Atom comment or an updated one. AtomEntry is an object representation of an atom entry (as defined in atomClasses.php).

deleteAtomComment($commentId)

Retrieves an atom comment with the identifier of $commentId.

getAtomComments($blogId)

Gets all the comments for a specified entry, $blogId specifies the parent blog entry identifier.