khanat-opennel-code/code/web/docs/ams/html/classTicket__Reply.html

765 lines
35 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Ryzom Account Management System: Ticket_Reply Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Ryzom Account Management System
&#160;<span id="projectnumber">1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> </div>
<div class="headertitle">
<div class="title">Ticket_Reply Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Ticket_Reply" -->
<p>handles functions related to replies on tickets.
<a href="classTicket__Reply.html#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a095c5d389db211932136b53f25f39685">__construct</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A constructor. <a href="#a095c5d389db211932136b53f25f39685"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a8bdfe0a5256e35367225bcd6d278ef21">set</a> ($values)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">sets the object's attributes. <a href="#a8bdfe0a5256e35367225bcd6d278ef21"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a435e7d7525d4bcd0ed5e34a469f3adf6">create</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">creates a new 'ticket_reply' entry. <a href="#a435e7d7525d4bcd0ed5e34a469f3adf6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#ac9a387c63aad0b81a8161d2515f697d9">load_With_TReplyId</a> ($id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">loads the object's attributes. <a href="#ac9a387c63aad0b81a8161d2515f697d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a842e4774e3b3601a005b995c02f7e883">update</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">updates a ticket_reply entry based on the objects attributes. <a href="#a842e4774e3b3601a005b995c02f7e883"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a42ddf34a72af750b7013fa309b67e46c">getTicket</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get ticket attribute of the object. <a href="#a42ddf34a72af750b7013fa309b67e46c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a58e43f09a06ce4e29b192c4e17ce7915">getContent</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get content attribute of the object. <a href="#a58e43f09a06ce4e29b192c4e17ce7915"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a5286e30390ae3e1b274940286493dd24">getAuthor</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get author attribute of the object. <a href="#a5286e30390ae3e1b274940286493dd24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a92aa1d82129ec8cd803d64c28efcb30f">getTimestamp</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get timestamp attribute of the object. <a href="#a92aa1d82129ec8cd803d64c28efcb30f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#ade0c35755c1a1af8fa4c9bae8b4c51f1">getTReplyId</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get tReplyId attribute of the object. <a href="#ade0c35755c1a1af8fa4c9bae8b4c51f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a1d032efbce2b4edb7c269a1e13562f40">getHidden</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get hidden attribute of the object. <a href="#a1d032efbce2b4edb7c269a1e13562f40"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a47c6ae5b3cd713fdbf0a7f4d568b7c27">setTicket</a> ($t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set ticket attribute of the object. <a href="#a47c6ae5b3cd713fdbf0a7f4d568b7c27"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a76e94f05c5cc0044993a35492097df4d">setContent</a> ($c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set content attribute of the object. <a href="#a76e94f05c5cc0044993a35492097df4d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a0c8f116992af7c8737c70119dae00d45">setAuthor</a> ($a)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set author attribute of the object. <a href="#a0c8f116992af7c8737c70119dae00d45"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#aa8903a0020a17d745524806f4e751f4c">setTimestamp</a> ($t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set timestamp attribute of the object. <a href="#aa8903a0020a17d745524806f4e751f4c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a7b91b481de87eb1515212d62b298cb94">setTReplyId</a> ($i)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set tReplyId attribute of the object. <a href="#a7b91b481de87eb1515212d62b298cb94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a0b67f1016974c7b153b8944a94c88045">setHidden</a> ($h)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set hidden attribute of the object. <a href="#a0b67f1016974c7b153b8944a94c88045"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a4b4493d28e8518a87667d285c49e5e24">constr_TReplyId</a> ($id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return constructed element based on TReplyId. <a href="#a4b4493d28e8518a87667d285c49e5e24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a7e80a6437bb6ee90be42a32f3a82fe76">getRepliesOfTicket</a> ($ticket_id, $view_as_admin)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return all replies on a specific ticket. <a href="#a7e80a6437bb6ee90be42a32f3a82fe76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#aa6fa056fff4ddafc3eabf3ed72143e1b">createReply</a> ($content, $author, $ticket_id, $hidden, $ticket_creator)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">creates a new reply on a ticket. <a href="#aa6fa056fff4ddafc3eabf3ed72143e1b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a29f22c2783e510d4764a99a648a0cc36">$tReplyId</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The id of the reply. <a href="#a29f22c2783e510d4764a99a648a0cc36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#abf7832c7c53a3be2ca8a8fc305006bb0">$ticket</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the ticket id related to the reply <a href="#abf7832c7c53a3be2ca8a8fc305006bb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a57b284fe00866494b33afa80ba729bed">$content</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the content of the reply <a href="#a57b284fe00866494b33afa80ba729bed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#ac35b828f7d4064a7c9f849c255468ee3">$author</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The id of the user that made the reply. <a href="#ac35b828f7d4064a7c9f849c255468ee3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a2b69de9676dd97c675cd4d9bcceb684c">$timestamp</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The timestamp of the reply. <a href="#a2b69de9676dd97c675cd4d9bcceb684c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTicket__Reply.html#a4a374564d2858d8ae869a8fb890aad56">$hidden</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">indicates if reply should be hidden for normal users or not <a href="#a4a374564d2858d8ae869a8fb890aad56"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>handles functions related to replies on tickets. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Daan Janssens, mentored by Matthew Lagoe </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a095c5d389db211932136b53f25f39685"></a><!-- doxytag: member="Ticket_Reply::__construct" ref="a095c5d389db211932136b53f25f39685" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a095c5d389db211932136b53f25f39685">__construct</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A constructor. </p>
<p>Empty constructor </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4b4493d28e8518a87667d285c49e5e24"></a><!-- doxytag: member="Ticket_Reply::constr_TReplyId" ref="a4b4493d28e8518a87667d285c49e5e24" args="($id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classTicket__Reply.html#a4b4493d28e8518a87667d285c49e5e24">constr_TReplyId</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>return constructed element based on TReplyId. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$id</td><td>the Id the reply we want to load. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the loaded object. </dd></dl>
</div>
</div>
<a class="anchor" id="a435e7d7525d4bcd0ed5e34a469f3adf6"></a><!-- doxytag: member="Ticket_Reply::create" ref="a435e7d7525d4bcd0ed5e34a469f3adf6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a435e7d7525d4bcd0ed5e34a469f3adf6">create</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>creates a new 'ticket_reply' entry. </p>
<p>this method will use the object's attributes for creating a new 'ticket_reply' entry in the database (the now() function will create the timestamp). </p>
</div>
</div>
<a class="anchor" id="aa6fa056fff4ddafc3eabf3ed72143e1b"></a><!-- doxytag: member="Ticket_Reply::createReply" ref="aa6fa056fff4ddafc3eabf3ed72143e1b" args="($content, $author, $ticket_id, $hidden, $ticket_creator)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classTicket__Reply.html#aa6fa056fff4ddafc3eabf3ed72143e1b">createReply</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>content</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>author</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>ticket_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>hidden</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>ticket_creator</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>creates a new reply on a ticket. </p>
<p>Creates a ticket_content entry and links it with a new created ticket_reply, a log entry will be written about this. In case the ticket creator replies on a ticket, he will set the status by default to 'waiting on support'. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$content</td><td>the content of the reply </td></tr>
<tr><td class="paramname">$author</td><td>the id of the reply creator. </td></tr>
<tr><td class="paramname">$ticket_id</td><td>the id of the ticket of which we want the replies. </td></tr>
<tr><td class="paramname">$hidden</td><td>should be 0 or 1 </td></tr>
<tr><td class="paramname">$ticket_creator</td><td>the ticket's starter his id. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a5286e30390ae3e1b274940286493dd24"></a><!-- doxytag: member="Ticket_Reply::getAuthor" ref="a5286e30390ae3e1b274940286493dd24" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a5286e30390ae3e1b274940286493dd24">getAuthor</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>get author attribute of the object. </p>
</div>
</div>
<a class="anchor" id="a58e43f09a06ce4e29b192c4e17ce7915"></a><!-- doxytag: member="Ticket_Reply::getContent" ref="a58e43f09a06ce4e29b192c4e17ce7915" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a58e43f09a06ce4e29b192c4e17ce7915">getContent</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>get content attribute of the object. </p>
</div>
</div>
<a class="anchor" id="a1d032efbce2b4edb7c269a1e13562f40"></a><!-- doxytag: member="Ticket_Reply::getHidden" ref="a1d032efbce2b4edb7c269a1e13562f40" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a1d032efbce2b4edb7c269a1e13562f40">getHidden</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>get hidden attribute of the object. </p>
</div>
</div>
<a class="anchor" id="a7e80a6437bb6ee90be42a32f3a82fe76"></a><!-- doxytag: member="Ticket_Reply::getRepliesOfTicket" ref="a7e80a6437bb6ee90be42a32f3a82fe76" args="($ticket_id, $view_as_admin)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classTicket__Reply.html#a7e80a6437bb6ee90be42a32f3a82fe76">getRepliesOfTicket</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>ticket_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>view_as_admin</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>return all replies on a specific ticket. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$ticket_id</td><td>the id of the ticket of which we want the replies. </td></tr>
<tr><td class="paramname">$view_as_admin</td><td>if the browsing user is an admin/mod it should be 1, this will also show the hidden replies. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an array with ticket_reply objects (beware the author and content are objects on their own, not integers!) </dd></dl>
</div>
</div>
<a class="anchor" id="a42ddf34a72af750b7013fa309b67e46c"></a><!-- doxytag: member="Ticket_Reply::getTicket" ref="a42ddf34a72af750b7013fa309b67e46c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a42ddf34a72af750b7013fa309b67e46c">getTicket</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>get ticket attribute of the object. </p>
</div>
</div>
<a class="anchor" id="a92aa1d82129ec8cd803d64c28efcb30f"></a><!-- doxytag: member="Ticket_Reply::getTimestamp" ref="a92aa1d82129ec8cd803d64c28efcb30f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a92aa1d82129ec8cd803d64c28efcb30f">getTimestamp</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>get timestamp attribute of the object. </p>
<p>The output format is defined by the <a class="el" href="classHelpers.html" title="Helper class for more site specific functions.">Helpers</a> class function, outputTime(). </p>
</div>
</div>
<a class="anchor" id="ade0c35755c1a1af8fa4c9bae8b4c51f1"></a><!-- doxytag: member="Ticket_Reply::getTReplyId" ref="ade0c35755c1a1af8fa4c9bae8b4c51f1" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#ade0c35755c1a1af8fa4c9bae8b4c51f1">getTReplyId</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>get tReplyId attribute of the object. </p>
</div>
</div>
<a class="anchor" id="ac9a387c63aad0b81a8161d2515f697d9"></a><!-- doxytag: member="Ticket_Reply::load_With_TReplyId" ref="ac9a387c63aad0b81a8161d2515f697d9" args="($id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#ac9a387c63aad0b81a8161d2515f697d9">load_With_TReplyId</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>loads the object's attributes. </p>
<p>loads the object's attributes by giving a ticket_reply's id. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$id</td><td>the id of the ticket_reply that should be loaded </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8bdfe0a5256e35367225bcd6d278ef21"></a><!-- doxytag: member="Ticket_Reply::set" ref="a8bdfe0a5256e35367225bcd6d278ef21" args="($values)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a8bdfe0a5256e35367225bcd6d278ef21">set</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>values</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>sets the object's attributes. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$values</td><td>should be an array. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0c8f116992af7c8737c70119dae00d45"></a><!-- doxytag: member="Ticket_Reply::setAuthor" ref="a0c8f116992af7c8737c70119dae00d45" args="($a)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a0c8f116992af7c8737c70119dae00d45">setAuthor</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>a</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>set author attribute of the object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$a</td><td>integer id of the user </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a76e94f05c5cc0044993a35492097df4d"></a><!-- doxytag: member="Ticket_Reply::setContent" ref="a76e94f05c5cc0044993a35492097df4d" args="($c)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a76e94f05c5cc0044993a35492097df4d">setContent</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>set content attribute of the object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$c</td><td>integer id of the ticket_content entry </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0b67f1016974c7b153b8944a94c88045"></a><!-- doxytag: member="Ticket_Reply::setHidden" ref="a0b67f1016974c7b153b8944a94c88045" args="($h)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a0b67f1016974c7b153b8944a94c88045">setHidden</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>h</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>set hidden attribute of the object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$h</td><td>should be 0 or 1 </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a47c6ae5b3cd713fdbf0a7f4d568b7c27"></a><!-- doxytag: member="Ticket_Reply::setTicket" ref="a47c6ae5b3cd713fdbf0a7f4d568b7c27" args="($t)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a47c6ae5b3cd713fdbf0a7f4d568b7c27">setTicket</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>t</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>set ticket attribute of the object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$t</td><td>integer id of the ticket </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa8903a0020a17d745524806f4e751f4c"></a><!-- doxytag: member="Ticket_Reply::setTimestamp" ref="aa8903a0020a17d745524806f4e751f4c" args="($t)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#aa8903a0020a17d745524806f4e751f4c">setTimestamp</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>t</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>set timestamp attribute of the object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$t</td><td>timestamp of the reply </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7b91b481de87eb1515212d62b298cb94"></a><!-- doxytag: member="Ticket_Reply::setTReplyId" ref="a7b91b481de87eb1515212d62b298cb94" args="($i)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a7b91b481de87eb1515212d62b298cb94">setTReplyId</a> </td>
<td>(</td>
<td class="paramtype">$&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>set tReplyId attribute of the object. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">$i</td><td>integer id of the ticket_reply </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a842e4774e3b3601a005b995c02f7e883"></a><!-- doxytag: member="Ticket_Reply::update" ref="a842e4774e3b3601a005b995c02f7e883" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classTicket__Reply.html#a842e4774e3b3601a005b995c02f7e883">update</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>updates a ticket_reply entry based on the objects attributes. </p>
</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="ac35b828f7d4064a7c9f849c255468ee3"></a><!-- doxytag: member="Ticket_Reply::$author" ref="ac35b828f7d4064a7c9f849c255468ee3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">$author<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The id of the user that made the reply. </p>
</div>
</div>
<a class="anchor" id="a57b284fe00866494b33afa80ba729bed"></a><!-- doxytag: member="Ticket_Reply::$content" ref="a57b284fe00866494b33afa80ba729bed" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">$content<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>the content of the reply </p>
</div>
</div>
<a class="anchor" id="a4a374564d2858d8ae869a8fb890aad56"></a><!-- doxytag: member="Ticket_Reply::$hidden" ref="a4a374564d2858d8ae869a8fb890aad56" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">$hidden<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>indicates if reply should be hidden for normal users or not </p>
</div>
</div>
<a class="anchor" id="abf7832c7c53a3be2ca8a8fc305006bb0"></a><!-- doxytag: member="Ticket_Reply::$ticket" ref="abf7832c7c53a3be2ca8a8fc305006bb0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">$ticket<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>the ticket id related to the reply </p>
</div>
</div>
<a class="anchor" id="a2b69de9676dd97c675cd4d9bcceb684c"></a><!-- doxytag: member="Ticket_Reply::$timestamp" ref="a2b69de9676dd97c675cd4d9bcceb684c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">$timestamp<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The timestamp of the reply. </p>
</div>
</div>
<a class="anchor" id="a29f22c2783e510d4764a99a648a0cc36"></a><!-- doxytag: member="Ticket_Reply::$tReplyId" ref="a29f22c2783e510d4764a99a648a0cc36" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">$tReplyId<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The id of the reply. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/daan/ryzom/ryzomcore/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/<a class="el" href="ticket__reply_8php.html">ticket_reply.php</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>
2013-09-15 16:27:07 +00:00
Generated on Sun Sep 15 2013 17:49:37 for Ryzom Account Management System by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>