Public Member Functions | |
PDF ($data) | |
getId () | |
getReportId () | |
getPerson () | |
getGenerationPerson () | |
getSubmissionPerson () | |
getSubmissionUserId () | |
getYear () | |
getType () | |
getTimestamp () | |
isSubmitted () | |
getUrl () | |
getProjectId () | |
getProject () | |
getTitle () | |
getPDF () | |
canUserRead () | |
create () | |
update () | |
delete () | |
toArray () | |
exists () | |
getCacheId () | |
Static Public Member Functions | |
static | newFromId ($id) |
static | newFromToken ($tok) |
static | getAllPDFs () |
Public Attributes | |
$id | |
$reportId | |
$userId | |
$generationUserId | |
$submissionUserId | |
$year | |
$type | |
$submitted | |
$timestamp | |
$encrypted | |
$project = false | |
$projectId = 0 |
PDF::canUserRead | ( | ) |
PDF::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
PDF::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
PDF::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
PDF::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
PDF::getId | ( | ) |
Reimplemented from BackboneModel.
PDF::getPDF | ( | ) |
static PDF::newFromId | ( | $ | id | ) | [static] |
static PDF::newFromToken | ( | $ | tok | ) | [static] |
PDF::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
PDF::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.