Public Member Functions | |
Posting ($data) | |
getId () | |
getUserId () | |
getUser () | |
getVisibility () | |
getLanguage () | |
getTitle () | |
getTitleFr () | |
getArticleLink () | |
getStartDate () | |
getEndDate () | |
getSummary () | |
getSummaryFr () | |
getImage ($n=0) | |
getImageMime ($n=0) | |
getImageMD5 ($n=0) | |
getImageUrl ($n=0) | |
getImageCaption () | |
getImageCaptionFr () | |
getPreviewCode () | |
getCreated () | |
getModified () | |
isDeleted () | |
generatePreviewCode () | |
getUrl () | |
isAllowedToEdit () | |
isAllowedToView () | |
saveImage ($n, $image) | |
toArray () | |
create () | |
update () | |
delete () | |
exists () | |
getCacheId () | |
Static Public Member Functions | |
static | newFromId ($id) |
static | getAllPostings () |
static | getCurrentPostings () |
static | getDeletedPostings () |
static | getNewPostings ($date) |
static | generateImageCache () |
static | isAllowedToCreate () |
Public Attributes | |
$id | |
$userId | |
$visibility | |
$language | |
$title | |
$titleFr | |
$articleLink | |
$startDate | |
$endDate | |
$summary | |
$summaryFr | |
$image | |
$imageCaption | |
$imageCaptionFr | |
$previewCode | |
$created | |
$modified | |
$deleted | |
Static Public Attributes | |
static | $dbTable = "" |
static | $imageCache = null |
static | $cache = array() |
Posting::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Reimplemented in ElitePosting, BSIPosting, EventPosting, and NewsPosting.
Posting::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Posting::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
static Posting::getAllPostings | ( | ) | [static] |
Returns an array of all Postings which this user is able to view
Posting::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
static Posting::getCurrentPostings | ( | ) | [static] |
Returns an array of Postings which have not yet expired
static Posting::getDeletedPostings | ( | ) | [static] |
Returns an array of Postings which have been deleted
Posting::getId | ( | ) |
Reimplemented from BackboneModel.
static Posting::getNewPostings | ( | $ | date | ) | [static] |
Returns an array of Postings that have been modified since the specified date
Posting::getUrl | ( | ) |
Returns the url of this Posting's page
Reimplemented in ElitePosting.
Posting::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
Reimplemented in ElitePosting, BSIPosting, EventPosting, and NewsPosting.
Posting::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Reimplemented in ElitePosting, BSIPosting, EventPosting, and NewsPosting.