Ryzom Account Management System  1.0
Public Member Functions | Static Public Member Functions | Private Attributes
Ticket_Info Class Reference

Class that handles additional info sent by ticket creation ingame. More...

Public Member Functions

 __construct ()
 A constructor.
 set ($values)
 sets the object's attributes.
 load_With_TInfoId ($id)
 loads the object's attributes by using a ticket_info id.
 load_With_Ticket ($id)
 loads the object's attributes by using a ticket's id.
 create ()
 creates a new 'ticket_info' entry.
 getTInfoId ()
 get tInfoId attribute of the object.
 getTicket ()
 get ticket attribute of the object.
 getShardId ()
 get shardid attribute of the object.
 getUser_Position ()
 get user_position attribute of the object.
 getView_Position ()
 get view_position attribute of the object.
 getClient_Version ()
 get client_version attribute of the object.
 getPatch_Version ()
 get patch_version attribute of the object.
 getServer_Tick ()
 get server_tick attribute of the object.
 getConnect_State ()
 get connect_state attribute of the object.
 getLocal_Address ()
 get local_address attribute of the object.
 getMemory ()
 get memory attribute of the object.
 getOS ()
 get os attribute of the object.
 getProcessor ()
 get processor attribute of the object.
 getCPUId ()
 get cpu_id attribute of the object.
 getCPU_Mask ()
 get cpu_mask attribute of the object.
 getHT ()
 get ht attribute of the object.
 getNel3D ()
 get nel3d attribute of the object.
 getUser_Id ()
 get user_id attribute of the object.
 setTInfoId ($id)
 set tInfoId attribute of the object.
 setTicket ($t)
 set ticket attribute of the object.
 setShardId ($s)
 set shardid attribute of the object.
 setUser_Position ($u)
 set user_position attribute of the object.
 setView_Position ($v)
 set view_position attribute of the object.
 setClient_Version ($c)
 set client_version attribute of the object.
 setPatch_Version ($p)
 set patch_version attribute of the object.
 setServer_Tick ($s)
 set server_tick attribute of the object.
 setConnect_State ($c)
 set connect_state attribute of the object.
 setLocal_Address ($l)
 set local_address attribute of the object.
 setMemory ($m)
 set memory attribute of the object.
 setOS ($o)
 set os attribute of the object.
 setProcessor ($p)
 set processor attribute of the object.
 setCPUId ($c)
 set cpu_id attribute of the object.
 setCPU_Mask ($c)
 set cpu_mask attribute of the object.
 setHT ($h)
 set ht attribute of the object.
 setNel3D ($n)
 set nel3d attribute of the object.
 setUser_Id ($u)
 set user_id attribute of the object.

Static Public Member Functions

static create_Ticket_Info ($info_array)
 create a ticket_info entry.
static TicketHasInfo ($ticket_id)
 check if a specific ticket has extra info or not.

Private Attributes

 $tInfoId
 The id of ticket_info entry.
 $ticket
 The ticket linked to this ticket_info entry.
 $shardid
 The shard id.
 $user_position
 The user's character position.
 $view_position
 The view position of the character.
 $client_version
 The client version in use.
 $patch_version
 The patch version in use.
 $server_tick
 The current server tick.
 $connect_state
 The connect state.
 $local_address
 local ip
 $memory
 memory usage information
 $os
 os information
 $processor
 processor information
 $cpu_id
 the cpu id
 $cpu_mask
 the cpu mask
 $ht
 tbh I have no idea :D
 $nel3d
 the nel3d version
 $user_id
 The users id.

Detailed Description

Class that handles additional info sent by ticket creation ingame.

If a user creates a ticket ingame, there are a lot of extra $_GET parameters being sent inside the http request that might have something todo with the ticket. for example the OS the user uses or the processor of it's computer, but also the current client version etc. This information can be stored and retrieved by using the ticket_info class.

Author:
Daan Janssens, mentored by Matthew Lagoe

Constructor & Destructor Documentation

A constructor.

Empty constructor


Member Function Documentation

create ( )

creates a new 'ticket_info' entry.

this method will use the object's attributes for creating a new 'ticket_info' entry in the database.

static create_Ticket_Info ( info_array) [static]

create a ticket_info entry.

Parameters:
$info_arraythe info array (this can be the entire $_GET array being sent by the ingame browser)

get client_version attribute of the object.

get connect_state attribute of the object.

get cpu_mask attribute of the object.

getCPUId ( )

get cpu_id attribute of the object.

getHT ( )

get ht attribute of the object.

get local_address attribute of the object.

getMemory ( )

get memory attribute of the object.

getNel3D ( )

get nel3d attribute of the object.

getOS ( )

get os attribute of the object.

get patch_version attribute of the object.

get processor attribute of the object.

get server_tick attribute of the object.

get shardid attribute of the object.

getTicket ( )

get ticket attribute of the object.

get tInfoId attribute of the object.

get user_id attribute of the object.

get user_position attribute of the object.

get view_position attribute of the object.

load_With_Ticket ( id)

loads the object's attributes by using a ticket's id.

loads the object's attributes by giving a ticket's entry id.

Parameters:
$idthe id of the ticket, the ticket_info entry of that ticket should be loaded.
load_With_TInfoId ( id)

loads the object's attributes by using a ticket_info id.

loads the object's attributes by giving a ticket_info's entry id.

Parameters:
$idthe id of the ticket_info entry that should be loaded
set ( values)

sets the object's attributes.

Parameters:
$valuesshould be an array.

set client_version attribute of the object.

Parameters:
$cclient version number
setConnect_State ( c)

set connect_state attribute of the object.

Parameters:
$cstring that defines the connect state.
setCPU_Mask ( c)

set cpu_mask attribute of the object.

Parameters:
$cmask of the cpu
setCPUId ( c)

set cpu_id attribute of the object.

Parameters:
$ccpu id information
setHT ( h)

set ht attribute of the object.

setLocal_Address ( l)

set local_address attribute of the object.

Parameters:
$llocal address
setMemory ( m)

set memory attribute of the object.

Parameters:
$mmemory usage
setNel3D ( n)

set nel3d attribute of the object.

Parameters:
$nversion information about NeL3D
setOS ( o)

set os attribute of the object.

Parameters:
$oset os version information
setPatch_Version ( p)

set patch_version attribute of the object.

Parameters:
$ppatch version number
setProcessor ( p)

set processor attribute of the object.

Parameters:
$pprocessor information
setServer_Tick ( s)

set server_tick attribute of the object.

Parameters:
$sinteger that resembles the server tick
setShardId ( s)

set shardid attribute of the object.

Parameters:
$s(integer) shard id
setTicket ( t)

set ticket attribute of the object.

Parameters:
$tinteger id of the ticket linked to the info object
setTInfoId ( id)

set tInfoId attribute of the object.

Parameters:
$idinteger id of ticket_info object itself
setUser_Id ( u)

set user_id attribute of the object.

Parameters:
$uthe user_id.
setUser_Position ( u)

set user_position attribute of the object.

Parameters:
$uthe users position
setView_Position ( v)

set view_position attribute of the object.

Parameters:
$vthe view position
static TicketHasInfo ( ticket_id) [static]

check if a specific ticket has extra info or not.

Not all tickets have extra info, only tickets made ingame do. This function checks if a specific ticket does have a ticket_info entry linked to it.

Parameters:
$ticket_idthe id of the ticket that we want to query
Returns:
true or false

Field Documentation

$client_version [private]

The client version in use.

$connect_state [private]

The connect state.

$cpu_id [private]

the cpu id

$cpu_mask [private]

the cpu mask

$ht [private]

tbh I have no idea :D

$local_address [private]

local ip

$memory [private]

memory usage information

$nel3d [private]

the nel3d version

$os [private]

os information

$patch_version [private]

The patch version in use.

$processor [private]

processor information

$server_tick [private]

The current server tick.

$shardid [private]

The shard id.

$ticket [private]

The ticket linked to this ticket_info entry.

$tInfoId [private]

The id of ticket_info entry.

$user_id [private]

The users id.

$user_position [private]

The user's character position.

$view_position [private]

The view position of the character.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables