Theme Class Reference

List of all members.

Public Member Functions

 Theme ($data)
 getId ()
 getAcronym ()
 getAcronymForPhase ()
 getName ()
 getDescription ()
 getResources ()
 getWiki ()
 getPhase ($name=false)
 getUrl ()
 getColor ()
 getCreated ()
 isDeleted ()
 getDeleted ()
 getLeaders ()
 getCoordinators ()
 getPapers ($category="all", $startRange=false, $endRange=false)
 getMultimedia ()
 getContributions ()
 getProjects ()
 getSubProjects ()
 getAllPeople ($filter=null)
 getAllPeopleDuring ($filter=null, $startRange=false, $endRange=false, $includeManager=false)
 userCanEdit ()

Static Public Member Functions

static newFromId ($id)
static newFromName ($name)
static getAllThemes ($phase="%")
static getAllowedThemes ()

Public Attributes

 $id
 $acronym = ""
 $name = ""
 $description
 $resources
 $wiki
 $phase
 $color

Static Public Attributes

static $cache = array()

Member Function Documentation

Theme::getAcronym (  ) 

Returns this Theme's acronym

Returns:
int This Theme's acronym
static Theme::getAllThemes ( phase = "%"  )  [static]

Returns all the Themes from the database

Parameters:
string $phase which phase themes to select ("%" to select all)
Returns:
array An array of Themes
Theme::getColor (  ) 

Returns this Theme's color

Returns:
string This Theme's color
Theme::getCoordinators (  ) 

Returns all of the leaders regardless of their type

Returns:
array An array of all leaders
Theme::getDescription (  ) 

Returns this Theme's Description

Returns:
string This Theme's Description
Theme::getId (  ) 

Returns this Theme's id

Returns:
int This Theme's id
Theme::getLeaders (  ) 

Returns all of the leaders regardless of their type

Returns:
array An array of all leaders
Theme::getName (  ) 

Returns this Theme's name

Returns:
This Theme's name
Theme::getPhase ( name = false  ) 

Returns this Theme's phase

Returns:
int This Theme's phase
Theme::getProjects (  ) 

Returns all of the Projects in this Theme

Returns:
array The Projects in this Theme
Theme::getResources (  ) 

Returns this Theme's Resources

Returns:
string This Theme's Resources
Theme::getUrl (  ) 

Returns this Theme's Url

Returns:
This Theme's url
Theme::getWiki (  ) 

Returns this Theme's Wiki

Returns:
string This Theme's Wiki
static Theme::newFromId ( id  )  [static]

Returns a new Theme from the given Id

Parameters:
int The id of the Theme
Returns:
Theme the new Theme
static Theme::newFromName ( name  )  [static]

Returns a new Theme from the given Name

Parameters:
string $name The name of the Theme
Returns:
Theme the new Theme
Theme::userCanEdit (  ) 

Returns whether or not the current user can edit this Theme

Returns:
boolean Whether or not the current user can edit this Theme

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

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1