Public Member Functions | |
| Post ($data) | |
| getId () | |
| getThreadId () | |
| getThread () | |
| getUser () | |
| getMessage () | |
| getDateCreated () | |
| setId ($id) | |
| setThreadId ($id) | |
| setUserId ($id) | |
| setMessage ($message) | |
| setDateCreated ($date) | |
| create () | |
| update () | |
| delete () | |
| canView () | |
| canEdit () | |
| toArray () | |
| exists () | |
| getCacheId () | |
Static Public Member Functions | |
| static | newFromId ($id) | 
Public Attributes | |
| $id | |
| $thread_id | |
| $user_id | |
| $message | |
| $date_created | |
| Post::create | ( | ) | 
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
| Post::delete | ( | ) | 
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
| Post::exists | ( | ) | 
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
| Post::getCacheId | ( | ) | 
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
| Post::getId | ( | ) | 
Reimplemented from BackboneModel.
| static Post::newFromId | ( | $ | id | ) |  [static] | 
        
| Post::toArray | ( | ) | 
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
| Post::update | ( | ) | 
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
 1.6.1