Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 681 lines (502 sloc) 33.466 kb
8ec60d5 @jetwitaussi Start from v2.11
authored
1 ------------------------------------------
2 PHT - Telesphore - http://pht.htloto.org
3 ------------------------------------------
4
5e95b9b @jetwitaussi Version 2.13.1
authored
5 Version 2.13.1 [2012-04-13]
6 ---------------------------
7
8 * Fix isTrainer() function in HTPlayer class
9
10
4fa3d65 @jetwitaussi Version 2.13
authored
11 Version 2.13 [2012-04-12]
12 -------------------------
13
14 * Use version 2.3 of matchdetails file
15 * Use version 2.1 of matchorders file
16 * Use version 1.8 of matchlineup file
17 * New getTournamentMatchDetails(), clearTournamentMatchDetail() and clearTournamentMatchesDetails() functions in CHPPConnection class
18 * New isYouth() and isTournament() functions in HTMatch class
19 * New getSeniorMatchOrders(), clearSeniorMatchOrders(), clearSeniorMatchesOrders() functions in CHPPConnection class
20 * New getYouthMatchOrders(), clearYouthMatchOrders(), clearYouthMatchesOrders() functions in CHPPConnection class
21 * New getTournamentMatchOrders(), clearTournamentMatchOrders(), clearTournamentMatchesOrders() functions in CHPPConnection class
22 * New getTournamentLineup(), clearTournamentLineup(), clearTournamentLineups() functions in CHPPConnection class
23 * New isTournament() and isYouth() functions in HTTeamMatch class
24 * New getFirstName(), getLastName() and getNickName() functions in HTMatchOrdersPlayer class
25 * New getSourceSystem() function in HTSetLineup class
26 * Change CHPPConnection::oauthFirstTokenSecret scope, now the variable is protected
27 * New getGoalsInCareer(), getGoalsInCup(), getGoalsInLeague(), getGoalsInFriendly() and getHattricksInCareer() function in HTPlayer class
28
29 * Fix getKey(), getKeyId() and getKeyVariation() functions in HTLiveMatchEvent class
30 * Fix HTYouthPlayerSkill class
31 * Fix getEndDate() function in HTMatch class
32 * Fix getPlayerById() function in HTAvatars class
33 * Fix getXml() function in HTXml class
34
35 * Parameters of createNewLineup() function in CHPPConnection class have changed: $isYouth boolean parameter has changed to $sourceSystem string parameter, use HTMatch constants to set the value for your lineup
36 Constructor parameters of HTSetLineup have changed, $isYouth boolean parameter has changed to $sourceSystem string parameter, use HTMatch constants to set the value for your lineup
37
38 * Remove isYouth() function in HTSetLineup class
39
40 * Functions getMatchOrders(), clearMatchOrders() and clearMatchesOrders() in CHPPConnection is marked as deprecated. Will be removed within next version
41
42
2741b4e @jetwitaussi Version 2.12
authored
43 Version 2.12 [2012-03-10]
82482a4 @jetwitaussi Start changelog for version 2.12
authored
44 -------------------------
45
2741b4e @jetwitaussi Version 2.12
authored
46 * Use version 2.4 of matches file
baa413a @jetwitaussi Use version 2.2 of matchdetails file
authored
47 * Use version 2.2 of matchdetails file
48 * Use version 1.4 of leaguedetails file
49 * Use version 1.7 of matchlineup file
2741b4e @jetwitaussi Version 2.12
authored
50 * Use version 1.0 of youthteamdetails file
51 * Use version 1.0 of youthavatars file
52 * Use version 1.0 of youthplayerlist file
53 * Use version 1.4 of allianceDetails file
54 * Use version 2.2 of players file
55 * Use version 2.1 of playerdetails file
56 * Use version 1.2 of worldcup file
57 * New clearHofPlayers() and clearAllHofPlayers() in CHPPConnection class
82482a4 @jetwitaussi Start changelog for version 2.12
authored
58 * New getKeyId() and getKeyVariation() functions in HTLiveMatchEvent class
baa413a @jetwitaussi Use version 2.2 of matchdetails file
authored
59 * New getWonNumber(), getDrawsNumber() and getLostNumber() functions in HTLeagueTeam class
60 * New getFirstName(), getLastName() and getNickName() functions in HTLineupPlayer class
61 * New getTotalInjuries() and getInjury() functions in HTMatch class
62 * New HTMatchInjury class
6733e5a @jetwitaussi New getCurrentMatchRound() function in HTLeague class
authored
63 * New getCurrentMatchRound() function in HTLeague class
0a978fc @jetwitaussi New getDressURI() and getDressAlternateURI() functions in HTNationalT…
authored
64 * New getDressURI() and getDressAlternateURI() functions in HTNationalTeamDetail class
2741b4e @jetwitaussi Version 2.12
authored
65 * New getYouthTeam(), clearYouthTeam() and clearYouthTeams() functions in CHPPConnection class
66 * New HTYouthTeam class
67 * New getYouthScouts(), clearYouthScouts() and clearAllYouthScouts() functions in CHPPConnection class
68 * New HTYouthScouts ans HTYouthScout classes
69 * New clearAvatars(), getYouthAvatars() and clearYouthAvatars() functions in CHPPConnection class
70 * New HTYouthAvatars and HTYouthPlayerAvatar classes
71 * New getYouthTeamPlayers(), clearYouthTeamPlayers() and clearYouthTeamsPlayers() functions in CHPPConnection class
72 * New getYouthTeamPlayersDetails() and clearYouthTeamsPlayersDetails() functions in CHPPConnection class
73 * New getYouthTeamPlayersUnlockskills() and clearYouthTeamsPlayersDetails() functions in CHPPConnection class
74 * New getYouthPlayer(), clearYouthPlayer() and clearYouthPlayers() functions in CHPPConnection class
75 * New HTYouthTeamPlayers, HTYouthPlayer, HTYouthPlayerLastMatch, HTYouthScoutCall, HTYouthScoutComment and HTYouthPlayerSkill classes
76 * New parameter in getInvestment() function in HTYouthSquad class
77 * New HTCommonAvatar class, internal class base for all avatars
78 * New getBackground() and getHtml() functions in HTPlayerAvatar class
79 * New getMaximumMember(), getRequestType() and getDescription() functions in HTAllianceRole class
80 * New isYouth(), getLeagueId(), getLeagueName(), getLeagueLevelUnitId(), getLeagueLevelUnitName() and getLeagueLevel() functions in HTTeamMatches class
82482a4 @jetwitaussi Start changelog for version 2.12
authored
81
82 * Fix getLeague() function in HTWorldDetails class
75e0de6 @jetwitaussi Fix all functions which deal with dates, caches for date formats are …
authored
83 * Fix all functions which deal with dates, caches for date formats are integrated transparently
2741b4e @jetwitaussi Version 2.12
authored
84 * Fix phpdoc for getAvatars() function in CHPPConnection class
85 * Fix getSpecialists() function in HTClub class to handle several calls with differents currencies
86 * Fix isInCup() function in HTTeam class
87
88 * Remove getAllianceRoleDetails(), clearAllianceRoleDetails(), clearAllianceRolesDetails(), and clearAlliancesRolesDetails() functions in CHPPConnection class
89 Remove HTAllianceRoleDetails class because of non existence anymore of actionType viewRole in alliancedetails file
90 * Remove getBestMatch() functions in HTTeamPlayer and HTPlayer classes as data is no more available
82482a4 @jetwitaussi Start changelog for version 2.12
authored
91
baa413a @jetwitaussi Use version 2.2 of matchdetails file
authored
92 * Function getPositionCode() in HTLineupPlayer is marked as deprecated. Will be removed within next version
0a978fc @jetwitaussi New getDressURI() and getDressAlternateURI() functions in HTNationalT…
authored
93 * Functions getDressCode() and getDressAlternateCode() in HTNationalTeamDetail class are marked as deprecated. Will be removed within next version
baa413a @jetwitaussi Use version 2.2 of matchdetails file
authored
94
82482a4 @jetwitaussi Start changelog for version 2.12
authored
95
8ec60d5 @jetwitaussi Start from v2.11
authored
96 Version 2.11 [2012-01-20]
97 -------------------------
98
99 * Use version 1.7 of live file
100 * New getNextMinuteEvent() function in HTLiveMatch class
101 * New getHomeStartingLineup() and getAwayStartingLineup() functions in HTLiveMatch class
102 * New boolean parameter to include substitutes for getTotalStars() and getTotalStarsAtEndOfMatch() in HTFinalLineup class. Defaut value true, like before
103
104 * Fix isInCup() function in HTTeam class
105
106 * Function getStartingLineup() in HTLiveMatch is marked as deprecated. Will be removed within next version
107
108
109 Version 2.10.1 [2011-11-08]
110 ---------------------------
111
112 * Fix HTLineupResult constructor
113 * Fix mergeLiveJson private function
114
115
116 Version 2.10 [2011-10-27]
117 -------------------------
118
119 * Use version 1.8 of matchorders file
120 * Use version 1.6 of matchlineup file
121 * Use version 1.4 of worlddetails file
122 * Use version 2.1 of players file
123 * Use version 2.0 of playerdetails file
124 * Use version 1.6 of live file
125 * New isDeleted() function in HTTeam class
126 * New parameter for HTError constructor, the exception code, used for lineup error
127 * New getOrderType() function in HTMatchOrdersPlayerOrder class
128 * New createNewLineup() and sendLineup() functions in CHPPConnection class
129 * New HTSetLineup, HTLineupSubstitution and HTLineupResult classes
130 * New HTSubstitutionLineup, HTStartingLineup and HTFinalLineup classes
131 * New getStartingLineup(), getFinalLineup(), getSubstitutionNumber() and getSubstitution() functions in HTLineup class
132 * New getLeagueNumber() in HTWorldDetails class
133 * New parameter includeRegions in getWorldDetails() function in CHPPConnection class
134 * New getWorldDetailsByCountryId(), clearWorldDetailsByCountryId(), getWorldDetailsByLeagueId() and clearWorldDetailsByLeagueId() functions in CHPPConnection class
135 * New getSeasonOffet(), getCountryDateFormat(), getCountryTimeFormat(), getRegionsNumber() and getRegion() functions in HTWorldLeague class
136 * New HTWorldRegion class
137 * New getLoyalty() and hasMotherClubBonus() in HTTeamPlayer class
138 * New getLoyalty() and hasMotherClubBonus() in HTPlayer class
139 * New parameter includeStartingLineup in getLive() function in CHPPConnection class
140 * New getSubstitutionNumber(), getSubstitution(), getStartingLineup() and getLastEventIndexShown() functions in HTLiveMatch class
141
142 * Fix urlencodeRfc3986() function in CHPPConnection class
143 * Fix getRatingStarsAtEndOfMatch() function in HTLineupPlayer class
144 * Fix isTrainer() in HTPlayer class
145 * Fix getStatement() and getShirtNumber() functions in HTTeamPlayer class
146 * Fix getShirtNumber() function in HTPlayer class
147
148 * Remove getPlayersNumber() and getPlayer() functions in HTLineup class
149 * Remove getPosition() function in HTLineupPlayer class
150 * Remove deprecated function getNumberOfVitories() in HTTeam class
151 * Remove deprecated function getNumberTransfersDuringPeriod() in HTTeamTransferHistory class
152
153 * Change internal fetchUrl(), buildUrl() and buildSignature() functions in CHPPConnection class
154 * Function getTotalLeague() on HTWorldDetails class is marked as deprecated, use getLeagueNumber() function instead. Will be removed within next version
155 * Function checkInitLive() on CHPPConnection class is marked as deprecated, the function don't do anything. Will be removed within next version
156
157
158 Version 2.9 [2011-07-05]
159 ------------------------
160
161 * Use version 1.7 of nationalteamdetails file
162 * Use version 1.7 of matchorders file
163 * New getLogoUrl() function in HTNationalTeamDetail class
164 * New getSeasonExpectation() function in HTFans class
165 * New getNumberTransfers() function in HTTeamTransferHistory class, it replaces getNumberTransfersDuringPeriod() function
166 * New getNumberOfVictories() function HTTeam class, it replaces getNumberOfVitories() function (typo)
167 * New enableHTSupporter(), disableHTSupporter() and resetHTSupporter() functions in CHPPConnection class. It allows you to query xml by forcing to be HT Supporter or not
168
169 * Fix private function getTeams() in HTLeagueSeason class
170
171 * Function getNumberTransfersDuringPeriod() in HTTeamTransferHistory class is marked as deprecated and will be removed within next version
172 * Function getNumberOfVitories() in HTTeam class is marked as deprecated and will be removed within next version (typo function name)
173
174 * Remove getMatchId() and getTeamId() functions in HTMatchOrdersPlayerOrder class as xml tags were removed
175
176
177 Version 2.8 [2011-06-19]
178 ------------------------
179
180 * Use version 1.9 of playerdetails file
181 * Use version 2.0 of players file
182 * Use version 1.4 of arenadetails file
183 * Use version 1.3 of alliances file
184 * Use version 1.4 of cupmatches file
185 * New HTPlayerMatch class, replace HTPlayerBestMatch and HTPlayerLastMatch classes
186 * New getPlayedMinutes() function in HTPlayerMatch class
187 * New getBestMatch() function in HTTeamPlayer class
188 * New getLeagueId() and getLeagueName() functions in HTArenasStatsArena class
189 * New getUserAlliances() function CHPPConnection class
190 * New startLog(), stopLog(), canLog() and log() functions in CHPPConnection class
191
192 * Fix getRegionId() function in HTArenasStatsArena class
193 * Fix isPositionChangeAvailable() function in HTLeagueTeam class
194 * Fix getLastMatch() and getBestMatch() functions in HTPlayer and HTTeamPlayer classes
195 * Fix scope of $oauthFirstTokenSecret variable in CHPPConnection class
196
197 * Remove UNAVAILABLE constant in HTLineupPlayer class, getRatingStars(), getPosition() and getIndividualOrder() functions return null instead of this constant
198 * Remove UNAVAILABLE constant in HTLeagueMatch class, getHomeGoals() and getAwayGoals() functions return null instead of this constant
199 * Remove UNAVAILABLE constant in HTTransfer class, getType() function returns null instead of this constant
200 * Remove UNAVAILABLE constant in HTTeamMatch class, isOrdersGiven() function returns null instead of this constant
201 * Remove UNAVAILABLE constant in HTMatchTeam class, getAttitude() function returns null instead of this constant
202 * Remove UNAVAILABLE constant in HTArenaCapacity class, isLastRebuildDateAvailable() and getExpansionDate() functions return null instead of this constant
203 * Remove UNAVAILABLE constant in HTMatchOrdersPlayer class, getIndividualOrder() function returns null instead of this constant
204 * Remove UNAVAILABLE constant in HTArenasStats class, getLeagueName() function returns null instead of this constant
205 * Remove UNAVAILABLE constant in HTAllianceDetails class, getAbbreviation(), getHomepageUrl(), getMessage(), getLogoUrl(), getNumberAwaitingRequests() and getDissolutionDate() functions return null instead of this constant
206 * Remove deprecated function isDataAvailable() in HTTrainingEvents class
207
208
209 Version 2.7 [2011-04-17]
210 ------------------------
211
212 * Use version 1.2 of transfersteam file
213 * Use version 2.6 of teamdetails file
214 * Use version 1.6 of nationalteamdetails file
215 * Use version 1.2 of economy file
216 * Use version 1.1 of fans file
217 * New version 1.0 of file hofplayers
218 * New version 1.0 of file avatars
219 * New getTeamFlags(), clearTeamFlags(), clearTeamsFlags(), getTeamFlagsByUserId(), clearTeamFlagsByUserId() and clearTeamsFlagsByUserId() functions in CHPPConnection class
220 * New HTTeamFlags class, extends HTTeam class. Use to retrieve flags for teams
221 * Change getTeam() and getTeamByUserId() functions in CHPPConnection class, remove $includeDomesticFlags parameters. Use getTeamFlags functions to get flags for teams
222 * New getTeamSupporters(), clearTeamSupporters(), clearTeamsSupporters(), getTeamSupportersByUserId(), clearTeamSupportersByUserId() and clearTeamsSupportersByUserId() functions in CHPPConnection class
223 * New HTTeamSupporters class, extends HTTeam class. Use to retrieve supporters for teams
224 * New HTTeamSupporter and HTTeamSupported classes
225 * New get442Experience() function in HTNationalTeamDetail class
226 * New getSoldPlayers() and getSoldPlayersCommission() functions in HTEconomyIncome class
227 * New getBoughtPlayers() and getArenaBuilding() functions in HTEconomyCosts class
228 * New getFanClubId() and getFanClubName() functions in HTFans class
229 * New getTrophyNumber() and getTrophy() function in HTTeam class
230 * New HTTrophy class
231 * New getHofPlayers() function in CHPPConnection class
232 * New HTHofPlayers and HTHofPlayer classes
233 * New getAvatars() function in CHPPConnection class
234 * New HTAvatars, HTAvatar and HTLayer classes
235
236 * Fix get433Experience() function in HTTraining class
237 * Fix getNumberTeams() function in HTWorldCupGroup class
238
239
240 Version 2.6 [2011-03-30]
241 ------------------------
242
243 * Use version 1.9 of training file
244 * Use version 1.3 of cupmatches file
245 * Use version 1.8 of playerdetails file
246 * Use version 1.9 of players file
247 * Use version 2.5 of teamdetails file
248 * Use version 1.4 of nationalteams file
249 * Use version 1.3 of worlddetails file
250 * Change getTrainingStats() function in CHPPConnection class, empty leagueId returns global stats
251 * Add getLastTrainingTrainingType(), getLastTrainingTrainingLevel() and getLastTrainingStaminaTrainingPart() functions in HTTraining class
252 * Add getHomeTeamId() and getAwayTeamId() functions in HTCupMatch class
253 * Add includeMatchInfo parameter to getPlayer(), getTeamPlayers(), getTeamOldPlayers() and getTeamOldCoaches() functions in CHPPConnection class, default value set to false
254 * Change getStamina() function in HTPlayer class, value is available even player others skills are not shown
255 * Add getOwnerNotes(), getCategoryId() and getBestMatch() functions in HTPlayer class
256 * New HTPlayerBestMatch class and HTPlayerLastMatch inherit from this class
257 * Add getLastMatch() function in HTTeamPlayer class
258 * Add getFanClubSize() function in HTTeam class
259 * Change getFanClubId() and getFanClubName() functions, make them available for everyone (not only htsupporters)
260 * Add getLeagueId() function in HTNationalTeamsTeam class
261 * Add getNationalTeamId() and getU20TeamId() functions to HTWorldLeague class
262 * Add withdrawChallenge() function in CHPPConnection class, this function needs OAuth privileges
263 * Add invalidateToken() function in CHPPConnection class
264 * Add isValid() function in HTCheckToken class
265 * Add getTeamId() and getTeamName() class in HTPlayer class
266 * Change getSeniorMatchDetails() function in CHPPConnection class: add new parameter matchEvents set to true by default
267 * Change getYouthMatchDetails() function in CHPPConnection class: add new parameter matchEvents set to true by default
268
269 * Fix getMatch() function in HTNationalMatches class
270 * Fix getSeriesMatchDate() function in HTWorldLeague class
271 * Fix getTeamRank(), getNumberOfUndefeat(), getNumberOfVitories() in HTTeam class
272 * Fix getMyArenaStats() and getOthersArenasStats() function in CHPPConnection class
273 * Fix isTrainer() function in HTTeamPlayer class
274 * Fix getName() function in HTRegion class
275
276 * PHP 5.3 compatibility: Fix all functions that use deprecated ereg() function, replaced by preg_match() function
277 * Change functions visibility from private to protected in CHPPConnection class
278 * Change properties visibility from private to protected for $signatureMethod and $version in CHPPConnection class (properties used for oauth)
279
280 * Function isDataAvailable() on HTTrainingEvents is marked as deprecated and returns always true. Will be removed within next version
281
282
283 Version 2.5 [2011-01-16]
284 ------------------------
285
286 * Use version 1.5 of live file
287 * Use version 2.0 of matchdetails file
288 * Use version 1.5 of nationalteamdetails file
289 * New getIndirectSetPiecesDefenseRating() and getIndirectSetPiecesAttackRating() functions in HTMatchTeam class
290 * New get523Experience(), get550Experience() and get253Experience() functions in HTNationalTeamDetail class
291 * New getNationalTeamNumber() and getNationalTeam() functions in HTTeam class
292 * New HTTeamNationalTeam class to get national teams coached by user of selected team
293
294 * Fix getTrainingType() function in HTTrainingStats class, use index instead of type value
295
296
297 Version 2.4 [2010-12-29]
298 ------------------------
299
300 * New getAuthenticateUrl() function in CHPPConnection class. Use to get a temporary token with one-time authorization htmail
301 * New checkToken() function in CHPPConnection class. Check if a token is still valid
302 * New HTCheckToken class to know related informations on a token (this object is returned by checkToken() function)
303 * Use version 1.6 of playerdetails file
304 * New getNativeCountryId() function in HTPlayer class
305
306 * Fix getRedCard() function in HTMatch class
307 * Fix includeDomesticFlags for getTeam() and getTeamByUserId() functions in CHPPConnection class
308
309 * Remove supporter check in getNumberFlagsHome(), getNumberFlagsAway(), getFlagHome(), getFlagAway() functions in HTTeam class
310
311
312 Version 2.3 [2010-11-24]
313 ------------------------
314
315 * Use version 1.1 of achievements file
316 * New getRank() function in HTAchievement class
317 * New boolean parameter includeDomesticFlags for getTeam() and getTeamByUserId() functions in CHPPConnection class
318 * New getYouthTeamName() in HTTeam class
319
320
321 Version 2.2 [2010-11-22]
322 ------------------------
323
324 * Use version 1.5 of playerdetails file
325 * New getLastMatch() function in HTPlayer class and new HTPlayerLastMatch class
326
327 * Fix getHatStats() function in HTMatchTeam class
328 * Fix getText() function in HTLiveMatchEvent class
329
330 * Remove deprecated functions: HTMatchTeam::getDressCode(), HTNationalTeamsTeam::getDressCode(), CHPPConnection::getChallanges(), CHPPConnection::clearChallanges(), HTTeam::getDessCode(), HTTeam::getDessAlternateCode()
331
332
333 Version 2.1 [2010-11-13]
334 ------------------------
335
336 * Use https for OAuth proccess
337 * OAuth scope supported, set your scope on getAuthorizeUrl() function
338
339 * New manage challenges: CHPPConnection::getChallengeableTeams(), challengeTeam(), acceptChallenge(), declineChallenge()
340 * New constants in HTChallenges class to use with challengeTeam() function
341 * New player skills functions in HTTeamPlayer class
342 * Use version 1.6 of training file
343 * New functions getSpecialTrainingPlayerNumber() and getSpecialTrainingPlayer on HTTraining class
344 * New HTSpecialTrainingPlayer class
345
346 * Fix team details filename
347
348 * Deprecated function: getChallanges() and clearChallanges() use getChallenges() and clearChallenges() instead
349
350 * Remove getHost() function
351 * Remove deprecated functions: getFlagsHome(), getFlagsAway(), clearFlagsHome() and clearFlagsAway() in CHPPConnection class
352 * Change some internal constant (for server url)
353
354
355 Version 2.0 [2010-10-26]
356 ------------------------
357
358 * Use new OAuth authentication
359 * Functions getLoginResult() and disconnect() have been removed.
360 * No more cookie are used
361
362 * Use version 2.4 of teamdetails file
363 * Use version 1.5 of training file
364 * Use version 1.7 of players file
365 * Use version 1.9 of matchdetails file
366 * Use version 1.4 of nationalteamdetails file
367 * Use version 1.2 of club file
368 * New functions getDressURI() and getAlternateDressURI() on HTTeam, HTMatchTeam and HTNationalTeamsTeam classes. Functions getDess() and getAlternateDess() are deprecated.
369 * Add functions get442Experience(), get523Experience(), get550Experience(), get253Experience() on HTTraining class
370 * All match events included
371
372 * Remove functions getKeeperTrainers(), getKeeperTrainersCost(), getEconomists() and getEconomistsCost() on HTSpecialists class
373 * Remove useStageAtYourOwnRisk() function as there is no stage server for OAuth system.
374
375
376 Version 1.16 [2010-08-28]
377 -------------------------
378
379 * Use version 2.3 of team file
380 * New function on HTTeam class: getNumberFlagsHome(), getNumberFlagsAway(), getFlagHome(), getFlagAway()
381 * New HTTeamFlag class, used with HTTeam class
382 * Fix HTLeagueSeason when several teams get exactly same standings
383
384 * Remove deprecated HTMatchTeam::getMiedfieldRating() function
385
386 * Mark CHPPConnection::getFlagsHome() and HPPConnection::getFlagsAway() as deprecated
387 Use HTTeam::getFlagHome() and HTTeam::getFlagAway() functions instead, deprecated function will be removed next version
388
389
390 Version 1.15 [2010-06-17]
391 -------------------------
392
393 * Enhance HTLeagueSeason, for any season you can get all teams datas (id, name, position, points, matches played, won, lost, draw, goals for, goals against, goal average)
394 * Use version 1.4 of matchlineup.xml
395 * Use version 1.5 of matchorders.xml
396 * Use new RoleID for players in lineup
397 * New getNewPosition() function on HTMatchOrdersPlayer class
398
399
400 Version 1.14.1 [2009-10-19]
401 ---------------------------
402
403 * Fix HTNationalPlayers::getPlayer() function
404
405
406 Version 1.14 [2009-10-02]
407 -------------------------
408
409 * Fix HTTeam::isLeagueLevelAvailable() function
410 * Fix a bug in xml files transfer when safe mode enabled
411
412 * Enhance cookie management
413 No more file used, all is in memory : xml transfer process is a bit quicker.
414 Support of cookie change each 20 minutes : You can have script running without time limit
415 CHPPConnection construct has one parameter less, use : $HT = new CHPPConnection('name', 'chppId','chppKey');
416
417
418 Version 1.13 [2009-08-20]
419 -------------------------
420
421 * New version of pages: Alliance, AllianceDetails, MatchsDetails, Players, PlayerDetails, PlayerEvents, TeamDetails, Training, TrainingEvents
422 * New function getNumberOfVisits() in HTTeam class
423
424 * Fix some phpdoc comments
425
426 * Rename getMiedfieldRating() function to getMidfieldRating() in HTMatchTeam class.
427 getMiedfieldRating() is now deprecated and will be removed next version, please update your code.
428
429 * Remove hasClubHouse() function as tag was removed in xml files
430
431
432 Version 1.12 [2009-06-30]
433 -------------------------
434
435 * Fix define version of all xml files
436 * Fix economy functions which use Available attribute
437 * Fix functions which returns boolean, use same compare method in all functions
438 * Fix HTNationalTeamDetail class, remove isMoraleAvailable(), isSelfConfidenceAvailable(), isSupportersPopularityAvailable() and isRatingScoreAvailable() functions
439
440 * New live version 1.4
441 - addLiveMatch() and deleteLiveMatch() have new boolean parameter: isYouth for a youth match or not, default false
442 - New getEventByOrder($order) function: Get events by order of appearance
443
444 * Remove HTTeam::isFriendlyAvailable() function as data is removed from xml
445
446
447 Version 1.11 [2009-06-25]
448 -------------------------
449
450 * Fix all functions using 'Index' attribute, now using xml nodes count
451
452
453 Version 1.10 [2009-05-17]
454 -------------------------
455
456 * New getFetchedDate(), getXmlFileName() and getXmlFileVersion() functions in HTGlobal class, all functions are accessibles by all classes which request a xml file
457
458 * Fix CHPPConnection::searchPlayerByName() function, leagueId is corrected send to request
459 * Fix HTNationalPlayers::getPlayer() function
460
461
462 Version 1.9 [2009-02-21]
463 ------------------------
464
465 * New player xml : version 1.4
466 * New match orders xml : version 1.4
467 * New events 187 and 287
468 * New getLanguageId() function in HTPlayer class
469 * New isPlayingMatch() function in HTTeamPlayers class
470 * New HTMatchOrdersPlayerOrder object, you can know orders given for a match:
471 - get number of orders given
472 - get each order and know all parameters (which minute, which condition, which player, ...)
473 - get number of orders by player
474 - get orders by player
475
476 * Fix events 350, 351, 352
477 * Fix HTMatchTeam::getAttitude()
478 * Fix HTArenaCapacity::isLastRebuildDateAvailable() and HTArenaCapacity::getExpansionDate()
479 * Fix HTMatchOrdersPlayer::getIndividualOrder()
480 * Fix HTArenasStats::getLeagueName()
481 * Fix getAbbreviation(), getHomepageUrl(), getMessage(), getLogoUrl(), getNumberAwaitingRequests(), getDissolutionDate in HTAllianceDetails class
482 * Fix HTLeagueMatch::getHomeGoals(), HTLeagueMatch::getAwayGoals()
483 * Fix HTTransfer::getType()
484 * Fix getGoalsInLeague(), getGoalsInCup(), getGoalsInFriendly(), getGoalsInCareer(), getHattricksInCareer(), getCards(), getInjury(), isTransferListed(), isAbroad() in HTTeamPlayer class
485
486 * HTPlayer::getNextBirthDay() now returns xml value, it's no more calculated
487
488 * Remove deprecated functions: CHPPConnection::initLive() and HTLineupPlayer::getRatingStarsAtEndOfGame()
489
490
491 Version 1.8 [2009-01-06]
492 ------------------------
493
494 * Add new events : 55 to 59 and 73
495
496
497 Version 1.7.1 [2008-12-22]
498 --------------------------
499
500 * Fix matches number managment in live feature
501 * Fix events 62,68,185,501,502
502
503 * New events: 97,186,285,286,335,350,351,352,360,361,362,500,550
504
505 * Deprecated initLive() function. Start live by using getLive() function
506
507
508 Version 1.7 [2008-11-27]
509 ------------------------
510
511 * New HTException class, extends Exception, thrown when error occurs
512 * New event infos, based on Lobster xml/xsd files. You can get named datas for all known events
513 A lot of class added, HTEvent and one HTEvent* for each event
514 HTLiveMatchEvent class updated with new functions to handle this new feature
515
516 * Fix CHPPConnection::checkInitLive() and CHPPConnection::initLive() functions
517 * Fix CHPPConnection::getAllianceMembersByLetter()
518
519 * Remove deprecated functions: CHPPConnection::getAlliancesById() and HTFlags::getLeagueOfFlag()
520
521
522 Version 1.6.4 [2008-10-21]
523 --------------------------
524
525 * Fix HTPlayerEvents::getEvent
526 * Fix HTPlayer::isSkillsAvailable
527
528 * Enhance xml error checking
529
530
531 Version 1.6.3 [2008-10-16]
532 --------------------------
533
534 * Fix error handling. In case of error, two exceptions can be thrown with one of these messages :
535 - Invalid XML: <following by datas received>
536 - Error: <following by datas received>
537 * Fix disconnect() function, remove cookies file
538
539
540 Version 1.6.2 [2008-10-15]
541 --------------------------
542
543 * Fix all functions which check an attribute with 'true' value
544
545
546 Version 1.6.1 [2008-10-10]
547 --------------------------
548
549 * Fix creation of cookies file when user agent contains invalid characters for filename
550
551
552 Version 1.6 [2008-10-08]
553 ------------------------
554
555 * Fix functions which use Index and Count attributes, these attributes have been removed in new xml files
556
557 * Enhance getFlags*() functions :
558 - For home and away matches flags : You can call then with a date to get only flags from this date to now.
559 - For all flags functions : You can also get a flag by country name in addition of getting it by number
560
561 * New : PHT is compatible when safe mode is enabled
562 * New public functions (instead of being private) : HTTeam::isLeagueLevelAvailable(), HTTeam::isFriendlyAvailable()
563
564 * Deprecated (Deprecated functions will be removed within two versions!) :
565 - HTFlags::getLeagueOfFlag() is deprecated, use HTFlags::getLeagueOfFlagByNumber() instead
566 - CHPPConnection::getAlliancesById(), use CHPPConnection::getAlliances() instead
567
568
569 Version 1.5 [2008-09-13]
570 ------------------------
571
572 * New isTrainer(), getTrainerType(), getTrainerSkill(), getNextBirthDay() functions in HTPlayer and HTTeamPlayer classes
573 * New getTotalStars() and getTotalStarsAtEndOfMatch() in HTLineup class
574
575 * Fix getNumberTransfers() in HTPlayerTransferHistory class
576
577
578 Version 1.4 [2008-09-08]
579 ------------------------
580
581 * Fix some notice error in phperror.log
582 * Fix internal way to manage xml data in order to work with session
583 * Fix base cost of specialists
584 * Fix functions which return boolean
585 * Fix getEventsNumber() function in HTPlayerEvents class
586 * Fix getTeam() function in HTLeague class
587 * Fix minor bugs
588
589 * New functions in HTPlayer class: getAgreeability(), getAggressiveness(), getHonesty()
590 * New parameter for getPrice() function in HTTransfer class, you can specify a currency
591
592 * Remove old function getMaketValue() on a player transfer as data is not and was not in xml
593
594
595 Version 1.3.1 [2008-09-07]
596 --------------------------
597
598 * Rename clearMatchDetail() into clearSeniorMatchDetail() as it affects cache of senior detail match
599 * Rename clearMatchesDetails() into clearSeniorMatchesDetails() as it affects cache of senior details matches
600 * Fix getEvent() function in HTMatch class in order to get all events of a match even if eventID are not consecutive
601
602
603 Version 1.3 [2008-08-20]
604 ------------------------
605
606 * Use new .net files
607 * New parameter to getRegion() function in order to get data for a particular region
608 * New getLeagueById(), getLeagueByName(), getLeagueByCountryId() functions in HTWorldDetails class
609 * New getFlagsHome(), getFlagsAway() functions, with HTFlags class
610 * New getFlagsHome(), getFlagsAway(), getFlagsPlayers(), getFlagsRaisedPlayers() functions in CHPPConnection class
611 * New isMatchADerby() function in CHPPConnection class
612 * New getWorldCupMatches() in CHPPConnection class, new classes class to manage datas
613 * New getAMatchesList() and getU20MatchesList() function in CHPPConnection class, new classes class to manage datas
614 * New search features using new .net interface
615
616 * Fix HTTeamPlayers and HTTeamOldPlayers class
617 * Fix getNumberPlayers() function in HTTeamPlayers class
618 * Fix minor bugs
619
620 * No more asp page used, all query are done on .net pages
621
622
623 Version 1.2 [2008-08-16]
624 ------------------------
625
626 * Optimize xml parsing
627 * Use new .net files
628 * Use version 1.3 of match lineup
629 * Use version 1.7 of team players
630 * Use version 1.3 of player details
631 * New file supported : achievements : use getAchievements() function to fetch datas, new classes to manage datas.
632 * New useStageAtYourOwnRisk() function to use stage server to test new features
633 * New getPositionChange() function in league details
634 * New parameter isYouth in getMatchOrders() function
635 * New function getTeamOldPlayers() : returns old players who played in club, new classes to manage datas.
636 * New function getTeamOldCoaches() : retrurns old players became coach in another club, new classes to manage datas.
637 * New getAlliancesById() function
638 * New getPageIndex() and getPageNumber() functions in HTAlliances class
639 * New isPlayingMatch() function in HTNationalTeamDetail class
640 * New getNationalPlayersStats() and getNationalPlayersStatsWorldCup() functions, new classes HTNationalPlayersStats and HTNationalPlayerStats
641 * New getFirstName(), getLastName(), getNickName() functions in HTTeamPlayer and HTPlayer class, getName() functions are still available in both classes and returns full name of player
642 * New getLoginResult() function which return login result code
643
644 * Fix notice in phperror.log
645 * Fix syntax bugs
646 * Fix getRoof() functions
647 * Fix matchsdetails version in order to fetch formation data
648 * Fix players fetching data according xml changes
649 * Fix getTransfer() and getPlayer() functions : work as others similar functions, expected parameter starts from 1 to max
650 * Fix cup data in team file according to new changes
651 * Fix getShirtNumber() according to new change
652 * Fix match lineup when player is not selected
653 * Fix search arena by name
654 * Fix getYouthTeamArchiveMatches() function
655 * Fix clearPlayersEvents() function
656 * Fix getTeamByLocalName() function
657 * Fix getNationalPlayers() function
658 * Fix getArena() function according to new change
659 * Fix getAllianceDetails() function according to new changes
660 * Fix all getAlliancesBy*() functions
661 * Fix all functions which return boolean
662
663 * Rename getRatingStarsAtEndOfGame() into getRatingStarsAtEndOfMatch() function in match lineup
664
665 * Remove languageID in getPlayerEvents() function
666 * Remove getTrainerName() in HTTeam class
667 * Remove endDate parameter in getTeamTransfersHistory() function, replace it by pageIndex according to new change
668 * Remove getAlliances() and getAlliancesByLang() functions according to new changes
669 * Remove getCreatedDate() in HTTrainingStats according to new changes
670
671
672 Version 1.1 [2008-06-10]
673 ------------------------
674
675 * Add new RatingStarsEndOfGame value for all players in matchlineup
676
677
678 Version 1.0 [2008-05-18]
679 ------------------------
680
681 First public version
Something went wrong with that request. Please try again.