CHPP Development/XML/arenaDetails: Difference between revisions

From Hattrick
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
* ActionType=view
actionType
** arenaID=<i>integer</i>
Indicates what type of action the page should perform.
Which arena to show details for. Defaults to users own arena if not specified
 
* Actiontype=stats
Value Default Description
** StatsType=MyArena
view Default View the data about an arenas details.
*** MatchType=All
stats Shows the distribution among training types for all leagues or for a specific league. Requires that the logged on user is a Hattrick Supporter.
*** MatchType=CompOnly
 
*** MatchType=LeagueOnly
 
*** MatchType=FriendlyOnly
arenaID
*** FirstDate=<i>date</i>
Which arena to show details for. Defaults to users own arena if not specified. Only relevant for actionType=view.
*** LastDate=<i>date</i>
 
** StatsType=OtherArenas
StatsType
*** StatsLeagueID
Which type of statistics that will be showed. Only relevant for actionType=stats.
 
Value Default Description
MyArena Default Show visitor statistics for the users own arena.
OtherArenas Shows statistics ower biggest arenas.
 
 
MatchType
Which type of matches that will be included in the statistics. Only relevant for StatsType=MyArena.
 
Value Default Description
All Default Show statistics for all types of games.
CompOnly Shows statistics for all competition games.
LeagueOnly Shows statistics only for series games.
FriendlyOnly Shows statistics only for friendly games.
 
 
FirstDate
The first date the statistics should cover. Only relevant for StatsType=MyArena. Default is date for first match on arena.
 
LastDate
The last date the statistics should cover. Only relevant for StatsType=MyArena. Default is todays date.
 
StatsLeagueID
Which league to show statistics for. The default, LeagueID=0, gives global statistics. Only relevant for StatsType=OtherArenas.

Revision as of 21:25, 21 February 2006

actionType Indicates what type of action the page should perform.

Value Default Description view Default View the data about an arenas details. stats Shows the distribution among training types for all leagues or for a specific league. Requires that the logged on user is a Hattrick Supporter.


arenaID Which arena to show details for. Defaults to users own arena if not specified. Only relevant for actionType=view.

StatsType Which type of statistics that will be showed. Only relevant for actionType=stats.

Value Default Description MyArena Default Show visitor statistics for the users own arena. OtherArenas Shows statistics ower biggest arenas.


MatchType Which type of matches that will be included in the statistics. Only relevant for StatsType=MyArena.

Value Default Description All Default Show statistics for all types of games. CompOnly Shows statistics for all competition games. LeagueOnly Shows statistics only for series games. FriendlyOnly Shows statistics only for friendly games.


FirstDate The first date the statistics should cover. Only relevant for StatsType=MyArena. Default is date for first match on arena.

LastDate The last date the statistics should cover. Only relevant for StatsType=MyArena. Default is todays date.

StatsLeagueID Which league to show statistics for. The default, LeagueID=0, gives global statistics. Only relevant for StatsType=OtherArenas.