Main Page | Class Hierarchy | Class List | Directories | Class Members | Related Pages | Examples

openQuery Class Reference

Uses the openQuery protcol to communicate with the server. More...

Inheritance diagram for openQuery:

Inheritance graph
Collaboration diagram for openQuery:

Collaboration graph
List of all members.

Public Member Functions

 query_server ($getPlayers=TRUE, $getRules=TRUE)
 Querys the server.
 _processPlayers ($rawchunk)
 Extracts the players out of the given data.
 htmlize ($string)
 htmlizes the given raw string
 _getClassName ()
 returns the class name of the instance

Detailed Description

Uses the openQuery protcol to communicate with the server.

Author:
Curtis Brown <webmaster@2dementia.com>
Version:
Revision
203
The openQuery protocol comes from UDP Soft (creators of 'The All Seeing Eye')


Member Function Documentation

openQuery::_getClassName  ) 
 

returns the class name of the instance

Returns:
the class name of the instance
Override this for mixed case class names and support for PHP <5

Reimplemented from gsQuery.

openQuery::_processPlayers rawchunk  ) 
 

Extracts the players out of the given data.

For internal use only.

Parameters:
rawchunk data with players
Returns:
TRUE on success
Todo:
Add spectators

openQuery::htmlize string  ) 
 

htmlizes the given raw string

Parameters:
string a raw string from the gameserver that might contain special chars
Returns:
a html version of the given string

Reimplemented from gsQuery.

openQuery::query_server getPlayers = TRUE,
getRules = TRUE
 

Querys the server.

This method is abstract

Parameters:
getPlayers wheather to retrieve player infos
getRules wheather to retrieve rules
Returns:
TRUE on success

Reimplemented from gsQuery.


The documentation for this class was generated from the following file:
Generated on Sat Oct 15 16:52:02 2005 for gsQuery by  doxygen 1.4.4