Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ImportGuild Class Reference

Inheritance diagram for ImportGuild:

ImportBase List of all members.

Detailed Description

Author:
Robert Vock <smir@andaloria.de>

Definition at line 21 of file importguild.php.

Public Member Functions

 import ($strData)
 import the data
 parse_data ($strName, $strRace, $strType, $strTowns, $intGuild)
 parse towns of a player
 save_data ($strTown, $strCoords, $strName, $intRace, $intType, $intGuild, $strComment, $intTime)

Public Attributes

 $intPlayerUpdated = 0
 $intPlayerAdded = 0
 $intTownsUpdated = 0
 $intTownsAdded = 0
 $intFieldsAdded = 0


Member Function Documentation

ImportGuild::import strData  ) 
 

import the data

Parameters:
$strData user input

Reimplemented from ImportBase.

Definition at line 29 of file importguild.php.

References $intGuild, $strData, and $strMessage.

ImportGuild::parse_data strName,
strRace,
strType,
strTowns,
intGuild
 

parse towns of a player

Parameters:
$strName name of the player
$strRace name of the player's race
$strType name of the player's type
$strTowns the players towns with points, coords etc
$intGuild guild id of the player

Definition at line 87 of file importguild.php.

References $intRace, $intType, $strRace, $strTowns, and $strType.

ImportGuild::save_data strTown,
strCoords,
strName,
intRace,
intType,
intGuild,
strComment,
intTime
 

Definition at line 107 of file importguild.php.

References $aTown, $booUpdate, $intGuild, $intPlayer, $intRace, $intTime, $intType, $sqlResult, $strName, $x, and $y.


Member Data Documentation

ImportGuild::$intFieldsAdded = 0
 

Definition at line 27 of file importguild.php.

ImportGuild::$intPlayerAdded = 0
 

Definition at line 24 of file importguild.php.

ImportGuild::$intPlayerUpdated = 0
 

Definition at line 23 of file importguild.php.

ImportGuild::$intTownsAdded = 0
 

Definition at line 26 of file importguild.php.

ImportGuild::$intTownsUpdated = 0
 

Definition at line 25 of file importguild.php.


The documentation for this class was generated from the following file:
Generated on Sun May 8 19:29:46 2005 for PhpMap by  doxygen 1.4.2