NewsPosting Class Reference

Inheritance diagram for NewsPosting:
Posting BackboneModel

List of all members.

Public Member Functions

 NewsPosting ($data)
 getAuthor ()
 getSourceName ()
 getSourceLink ()
 isRegistrationEnabled ()
 isMaterialSubmissionEnabled ()
 toArray ()
 create ()
 update ()

Public Attributes

 $author
 $sourceName
 $sourceLink
 $enableRegistration
 $enableMaterials

Static Public Attributes

static $dbTable = 'grand_news_postings'

Member Function Documentation

NewsPosting::create (  ) 

Creates a new record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the creation was successful or not

Reimplemented from Posting.

NewsPosting::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from Posting.

NewsPosting::update (  ) 

Updates the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the update was successful or not

Reimplemented from Posting.


The documentation for this class was generated from the following file:

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1