Public Member Functions | |
Board ($data) | |
getId () | |
getTitle () | |
getDescription () | |
getThreads () | |
create () | |
update () | |
delete () | |
canView () | |
toArray () | |
exists () | |
getCacheId () | |
getUrl () | |
Static Public Member Functions | |
static | newFromId ($id) |
static | getAllBoards () |
Public Attributes | |
$id | |
$title | |
$description |
Board::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Board::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
Board::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
static Board::getAllBoards | ( | ) | [static] |
Returns all Boards available to a user
Board::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
Board::getId | ( | ) |
Reimplemented from BackboneModel.
Board::getUrl | ( | ) |
Returns the url of this Board's page
static Board::newFromId | ( | $ | id | ) | [static] |
Board::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
Board::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.