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
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
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
Returns this Theme's id
- Returns:
- int This Theme's id
Returns all of the leaders regardless of their type
- Returns:
- array An array of all leaders
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
Returns all of the Projects in this Theme
- Returns:
- array The Projects in this Theme
Returns this Theme's Resources
- Returns:
- string This Theme's Resources
Returns this Theme's Url
- Returns:
- This Theme's url
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:
-
- 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
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:
- extensions/GrandObjects/Theme.php