record set CTicket::GetMessageByID( int ID, char(1) CHECK_RIGHTS="Y", char(1) get_user_name="Y" );
The method GetMessageByID returns information about a message.
Parameter | Description |
---|---|
ID | The message ID. |
CHECK_RIGHTS | If set to "Y", this ticket is returned only if the user has any permission for this ticket. If "N", ticket is selected regardless of the current user permissions. |
get_user_name | If set to "Y", the following fields describing the parameters of
users related to this message are also returned when selecting messages:
|
The following is an example of a single row of selection returned by CTicket::GetMessageByID.
Array ( [ID] => 3585 [TIMESTAMP_X] => 27.04.2004 12:46:02 [DATE_CREATE] => 13.04.2004 11:57:04 [C_NUMBER] => 22 [TICKET_ID] => 647 [MESSAGE] => "OK, then what about activating a group" "specified in the uploaded file? You can" "desctivate a rubric on upload, but cannot activate it." [MESSAGE_SEARCH] => "OK, THEN WHAT ABOUT ACTIVATING A GROUP" "SPECIFIED IN THE UPLOADED FILE? YOU CAN" "DESCTIVATE A RUBRIC ON UPLOAD" "BUT CANNOT ACTIVATE IT." [IMAGE] => 996 [OWNER_USER_ID] => 166 [OWNER_GUEST_ID] => 16218 [OWNER_SID] => [SOURCE_ID] => 0 [CREATED_USER_ID] => 166 [CREATED_GUEST_ID] => 16218 [CREATED_MODULE_NAME] => support [MODIFIED_USER_ID] => 2 [MODIFIED_GUEST_ID] => 6221 [OWNER_EMAIL] => row@machaon.com [OWNER_LOGIN] => row [OWNER_NAME] => Rowan Atkinson [CREATED_EMAIL] => row@machaon.com [CREATED_LOGIN] => row [CREATED_NAME] => Rowan Atkinson [MODIFIED_EMAIL] => nessy@bitrix.com [MODIFIED_LOGIN] => nessy [MODIFIED_NAME] => Vitaly Kaplich )
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |