![]() |
Ryzom Account Management System
1.0
|
Class that handles the content of a reply. More...
Public Member Functions | |
| __construct () | |
| A constructor. | |
| create () | |
| creates a new 'tickt_content' entry. | |
| load_With_TContentId ($id) | |
| loads the object's attributes. | |
| update () | |
| update the object's attributes to the database. | |
| getContent () | |
| get content attribute of the object. | |
| getTContentId () | |
| get tContentId attribute of the object. | |
| setContent ($c) | |
| set content attribute of the object. | |
| setTContentId ($c) | |
| set tContentId attribute of the object. | |
Static Public Member Functions | |
| static | constr_TContentId ($id) |
| return constructed element based on TContentId. | |
Private Attributes | |
| $tContentId | |
| The id of ticket_content entry. | |
| $content | |
| The content of an entry. | |
Class that handles the content of a reply.
The Ticket_Content has a one-to-one relation with a ticket_reply, it contains the content of a reply, this way the content doesn't always have to be loaded when we query the database when we only need information regarding to the replies basic information.
| __construct | ( | ) |
A constructor.
Empty constructor
| static constr_TContentId | ( | $ | id | ) | [static] |
return constructed element based on TContentId.
| $id | the id of ticket_content entry. |
| create | ( | ) |
creates a new 'tickt_content' entry.
this method will use the object's attributes for creating a new 'ticket_content' entry in the database.
| getContent | ( | ) |
get content attribute of the object.
| getTContentId | ( | ) |
get tContentId attribute of the object.
| load_With_TContentId | ( | $ | id | ) |
loads the object's attributes.
loads the object's attributes by giving a ticket_content's id,
| $id | the id of the ticket_content entry that should be loaded |
| setContent | ( | $ | c | ) |
set content attribute of the object.
| $c | content of a reply |
| setTContentId | ( | $ | c | ) |
set tContentId attribute of the object.
| $c | integer id of ticket_content entry |
| update | ( | ) |
update the object's attributes to the database.
$content [private] |
The content of an entry.
$tContentId [private] |
The id of ticket_content entry.
1.7.6.1