Bibliography Class Reference

Inheritance diagram for Bibliography:
BackboneModel

List of all members.

Public Member Functions

 Bibliography ($data)
 getId ()
 getTitle ()
 getDescription ()
 getUrl ()
 getPerson ()
 getEditors ()
 getProducts ()
 getTags ()
 getThread ()
 create ()
 update ()
 delete ()
 toArray ()
 exists ()
 getCacheId ()

Static Public Member Functions

static newFromId ($id)
static getAllBibliographies ()
static count ()
static getByIds ($ids)

Public Attributes

 $id = null
 $title = ""
 $description = ""
 $person = null
 $editors = array()
 $products = array()
 $thread_id = null

Static Public Attributes

static $cache = array()

Member Function Documentation

static Bibliography::count (  )  [static]

Returns how many Bibliographies there are

Returns:
int How many Bibliographies there are
Bibliography::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 BackboneModel.

Bibliography::delete (  ) 

Deletes the record in the DB for this BackboneModel

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

Reimplemented from BackboneModel.

Bibliography::exists (  ) 

Returns whether or not this BackboneModel exists or not

Returns:
boolean Returns whether or not this BackboneModel exists or not

Reimplemented from BackboneModel.

static Bibliography::getAllBibliographies (  )  [static]

Returns all of the Bibliographies

Returns:
array All of the Bibliographies
static Bibliography::getByIds ( ids  )  [static]

Returns all the Bibliographies with the given ids

Parameters:
array $ids The array of ids
Returns:
array The array of Bibliographies
Bibliography::getCacheId (  ) 

Returns the id of this BackboneModel's cache

Returns:
string Returns the id of this BackboneModel's cache

Reimplemented from BackboneModel.

Bibliography::getId (  ) 
Returns:
int Returns the id of this BackboneModel

Reimplemented from BackboneModel.

static Bibliography::newFromId ( id  )  [static]

Returns a new Bibliography from the given id

Parameters:
integer $id The id of the Bibliography
Returns:
Bibliography The Bibliography with the given id
Bibliography::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

Bibliography::update (  ) 

Updates the record in the DB for this BackboneModel

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

Reimplemented from BackboneModel.


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

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1