Journal Class Reference

Inheritance diagram for Journal:
BackboneModel

List of all members.

Public Member Functions

 Journal ($data)
 getId ()
 getImpactFactor ()
 getRankNum ()
 getRankDenom ()
 getRank ()
 create ()
 update ()
 delete ()
 exists ()
 getCacheId ()
 toArray ()

Static Public Member Functions

static newFromId ($id)
static newFromIssn ($issn)
static getAllJournals ()
static getAllJournalsBySearch ($string)

Public Attributes

 $id
 $year
 $short_title
 $iso_abbrev
 $title
 $issn
 $eissn
 $description
 $ranking_numerator
 $ranking_denominator
 $impact_factor
 $cited_half_life
 $eigenfactor

Member Function Documentation

Journal::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.

Journal::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.

Journal::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 Journal::getAllJournals (  )  [static]

Returns all Journals

Returns:
Journals The array of all Journal objects
Journal::getCacheId (  ) 

Returns the id of this BackboneModel's cache

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

Reimplemented from BackboneModel.

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

Reimplemented from BackboneModel.

static Journal::newFromId ( id  )  [static]

Returns a Journal from the given id

Parameters:
int $id The id of the journal
Returns:
Journal The Journal from the given id
static Journal::newFromIssn ( issn  )  [static]

Returns Journals from the given issn

Parameters:
string $issn The issn of the journal
Returns:
array The Journals from the given issn. (Will only return journals from the more recent year)
Journal::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

Journal::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