NAME
Angerwhale::ContentItem - a filesystem item that knows how to attach other ContentItem
s to itself
SYNOPSIS
METHODS
new( \%arguments )
Creates a new ContentItem; but you probably want Angerwhale::ContentItem::Article
or Angerwhale::ContentItem::Comment
instead.
Arguments:
- base
-
[REQUIRED] The directory to read filesystem items from.
- location
-
[REQUIRED] The file used to back this Item. Must exist, and must be a regular file.
- parent
-
The object that this Item is attached to, if any.
name
Returns the filename of this Item.
compare
Sorting function. Sorts by reverse creation_time (newest first).