Net_GameServerQuery
[ class tree: Net_GameServerQuery ] [ index: Net_GameServerQuery ] [ all elements ]

Class: Net_GameServerQuery_Process_Result

Source Location: /Net_GameServerQuery-0.3.0/Net/GameServerQuery/Process/Result.php

Class Overview


Provide an interface for easy storage of a parsed server response


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
Provide an interface for easy storage of a parsed server response


[ Top ]


Method Detail

__construct (Constructor)   [line 67]

Net_GameServerQuery_Process_Result __construct( bool $showmeta)

Constructor
  • Access: public

Parameters:

bool   $showmeta   —  If additional meta info should be included

[ Top ]

add   [line 79]

void add( string $name, string $value)

Adds variable to results
  • Access: public

Parameters:

string   $name   —  Variable name
string   $value   —  Variable value

[ Top ]

addMeta   [line 95]

void addMeta( string $name, string $value)

Adds meta information to the results

Currently prefixes key with __

  • Access: public

Parameters:

string   $name   —  Variable name
string   $value   —  Variable value

[ Top ]

addPlayer   [line 109]

void addPlayer( string $name, string $value)

Adds player variable to output
  • Access: public

Parameters:

string   $name   —  Variable name
string   $value   —  Variable value

[ Top ]

fetch   [line 126]

array fetch( )

Return the results
  • Return: The results
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.