ArticleRepresents a static article. InheritsLnBlogObject, Entry, BlogEntry Events
Summary
isArticle
Determine if this object is, in fact, an article. This is based on the internal storage format of the article information, i.e. if the correct storage format is found, then it’s an article. Parameters
ReturnsTrue if object is a valid article, false otherwise. settickySet whether or not an article should be considered “featured”. Articles not set sticky should be considered archival and not shown on things like front-page article lists. Parameters
ReturnsTrue on success, false on failure. getPath
Builds a path to store the given article. This is only meaningful for file-based storage and should only be used internally. Parameters
ReturnsA string to use for the path to the article. |
Determine if this object is, in fact, an article.
function isArticle( $path = false )
Determines if the article is set as sticky.
function isSticky( $path = false )
Get the title and permalink without retreiving the entire article.
function readSticky( $path )
Gets the ID of the article, which is normally just the last portion of the path.
function entryID()
Builds a path to store the given article.
function getPath( $curr_ts = false, $just_name = false, $long_format = false )
Save the object as a new article.
function insert ( $blog, $dir_path = false )