Ryzom Account Management System
1.0
|
Class related to the ticket categories. More...
Public Member Functions | |
__construct () | |
A constructor. | |
load_With_TCategoryId ($id) | |
loads the object's attributes. | |
update () | |
update object attributes to the DB. | |
getName () | |
get name attribute of the object. | |
getTCategoryId () | |
get tCategoryId attribute of the object. | |
setName ($n) | |
set name attribute of the object. | |
setTCategoryId ($id) | |
set tCategoryId attribute of the object. | |
Static Public Member Functions | |
static | createTicketCategory ($name) |
creates a ticket_Catergory in the DB. | |
static | constr_TCategoryId ($id) |
construct a category object based on the TCategoryId. | |
static | getAllCategories () |
return a list of all category objects. | |
Private Attributes | |
$tCategoryId | |
The id of the category. | |
$name | |
The name of the category. |
Class related to the ticket categories.
__construct | ( | ) |
A constructor.
Empty constructor
static constr_TCategoryId | ( | $ | id | ) | [static] |
construct a category object based on the TCategoryId.
static createTicketCategory | ( | $ | name | ) | [static] |
creates a ticket_Catergory in the DB.
$name | name we want to give to the new category. |
static getAllCategories | ( | ) | [static] |
return a list of all category objects.
getName | ( | ) |
get name attribute of the object.
getTCategoryId | ( | ) |
get tCategoryId attribute of the object.
load_With_TCategoryId | ( | $ | id | ) |
loads the object's attributes.
loads the object's attributes by giving a categories id.
$id | the id of the ticket_category that should be loaded |
setName | ( | $ | n | ) |
set name attribute of the object.
$n | name of the category |
setTCategoryId | ( | $ | id | ) |
set tCategoryId attribute of the object.
$id | integer id of the category |
update | ( | ) |
update object attributes to the DB.
$name [private] |
The name of the category.
$tCategoryId [private] |
The id of the category.