Suivre telesphore.org sur Twitter Flux RSS Contactez-moi Plan du site Certifié PHP Zend Engineer

PHT - Archive

Here you will find all previous versions of PHT, it’s strongly recommended to use last version available on PHT page.

v1.0 - PHT 1.0

v1.1 - PHT 1.1

v1.2 - PHT 1.2

v1.3 - PHT 1.3

v1.3.1 - PHT 1.3.1

v1.4 - PHT 1.4

v1.5 - PHT 1.5

v1.6 - PHT 1.6

v1.6.1 - PHT 1.6.1

v1.6.2 - PHT 1.6.2

v1.6.3 - PHT 1.6.3

v1.6.4 - PHT 1.6.4

v1.7 - PHT 1.7

v1.7.1 - PHT 1.7.1

v1.8 - PHT 1.8

v1.9 - PHT 1.9

v1.10 - PHT 1.10

v1.11 - PHT 1.11

v1.12 - PHT 1.12

v1.13 - PHT 1.13

v1.14 - PHT 1.14

v1.14.1 - PHT 1.14.1

Changelog:

v1.15 [2010-06-17]

* 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)
* Use version 1.4 of matchlineup.xml
* Use version 1.5 of matchorders.xml
* Use new RoleID for players in lineup
* New getNewPosition() function on HTMatchOrdersPlayer class

v1.14.1 [2009-10-19]

* Fix HTNationalPlayers::getPlayer() function

v1.14 [2009-10-02]

* Fix HTTeam::isLeagueLevelAvailable() function
* Fix a bug in xml files transfer when safe mode enabled
* Enhance cookie management
No more file used, all is in memory : xml transfer process is a bit quicker.
Support of cookie change each 20 minutes : You can have script running without time limit
CHPPConnection construct has one parameter less, use : $HT = new CHPPConnection(’name’, ‘chppId’,'chppKey’);

v1.13 [2009-08-20]

* New version of pages: Alliance, AllianceDetails, MatchsDetails, Players, PlayerDetails, PlayerEvents, TeamDetails, Training, TrainingEvents
* New function getNumberOfVisits() in HTTeam class
* Fix some phpdoc comments
* Rename getMiedfieldRating() function to getMidfieldRating() in HTMatchTeam class.
getMiedfieldRating() is now deprecated and will be removed next version, please update your code.
* Remove hasClubHouse() function as tag was removed in xml files

v1.12 [2009-06-30]

* Fix define version of all xml files
* Fix economy functions which use Available attribute
* Fix functions which returns boolean, use same compare method in all functions
* Fix HTNationalTeamDetail class, remove isMoraleAvailable(), isSelfConfidenceAvailable(), isSupportersPopularityAvailable() and isRatingScoreAvailable() functions
* New live version 1.4
- addLiveMatch() and deleteLiveMatch() have new boolean parameter: isYouth for a youth match or not, default false
- New getEventByOrder($order) function: Get events by order of appearance
* Remove HTTeam::isFriendlyAvailable() function as data is removed from xml

v1.11 [2009-06-25]

* Fix all functions using ‘Index’ attribute, now using xml nodes count

v.1.10 [2009-05-17]

* New getFetchedDate(), getXmlFileName() and getXmlFileVersion() functions in HTGlobal class, all functions are accessibles by all classes which request a xml file
* Fix CHPPConnection::searchPlayerByName() function, leagueId is corrected send to request
* Fix HTNationalPlayers::getPlayer() function

v.1.9 [2009-02-21]

* New player xml : version 1.4
* New match orders xml : version 1.4
* New events 187 and 287
* New getLanguageId() function in HTPlayer class
* New isPlayingMatch() function in HTTeamPlayers class
* New HTMatchOrdersPlayerOrder object, you can know orders given for a match:
- get number of orders given
- get each order and know all parameters (which minute, which condition, which player, …)
- get number of orders by player
- get orders by player
* Fix events 350, 351, 352
* Fix HTMatchTeam::getAttitude()
* Fix HTArenaCapacity::isLastRebuildDateAvailable() and HTArenaCapacity::getExpansionDate()
* Fix HTMatchOrdersPlayer::getIndividualOrder()
* Fix HTArenasStats::getLeagueName()
* Fix getAbbreviation(), getHomepageUrl(), getMessage(), getLogoUrl(), getNumberAwaitingRequests(), getDissolutionDate in HTAllianceDetails class
* Fix HTLeagueMatch::getHomeGoals(), HTLeagueMatch::getAwayGoals()
* Fix HTTransfer::getType()
* Fix getGoalsInLeague(), getGoalsInCup(), getGoalsInFriendly(), getGoalsInCareer(), getHattricksInCareer(), getCards(), getInjury(), isTransferListed(), isAbroad() in HTTeamPlayer class
* HTPlayer::getNextBirthDay() now returns xml value, it’s no more calculated
* Remove deprecated functions: CHPPConnection::initLive() and HTLineupPlayer::getRatingStarsAtEndOfGame()

v.1.8 [2009-01-06]

* Add new events : 55 to 59 and 73

v.1.7.1 [2008-12-22]

* Fix matches number managment in live feature
* Fix events 62,68,185,501,502

* New events: 97,186,285,286,335,350,351,352,360,361,362,500,550
* Deprecated initLive() function. Start live by using getLive() function

v1.7 [2008-11-27]

* New HTException class, extends Exception, thrown when error occurs
* New event infos, based on Lobster xml/xsd files. You can get named datas for all known events
A lot of class added, HTEvent and one HTEvent* for each event
HTLiveMatchEvent class updated with new functions to handle this new feature

* Fix CHPPConnection::checkInitLive() and CHPPConnection::initLive() functions
* Fix CHPPConnection::getAllianceMembersByLetter()

* Remove deprecated functions: CHPPConnection::getAlliancesById() and HTFlags::getLeagueOfFlag()

v1.6.4 [2008-10-21]

* Fix HTPlayerEvents::getEvent
* Fix HTPlayer::isSkillsAvailable
* Enhance xml error checking

v1.6.3 [2008-10-16]

* Fix error handling. In case of error, two exceptions can be thrown with one of these messages :
- Invalid XML: <following by datas received>
- Error: <following by datas received>
* Fix disconnect() function, remove cookies file

v1.6.2 [2008-10-15]

* Fix all functions which check an attribute with ‘true’ value

v1.6.1 [2008-10-10]

* Fix creation of cookies file when user agent contains invalid characters for filename

v1.6 [2008-10-08]

* Fix functions which use Index and Count attributes, these attributes have been removed in new xml files
* Enhance getFlags*() functions :
- For home and away matches flags : You can call then with a date to get only flags from this date to now.
- For all flags functions : You can also get a flag by country name in addition of getting it by number
* New : PHT is compatible when safe mode is enabled
* New public functions (instead of being private) : HTTeam::isLeagueLevelAvailable(), HTTeam::isFriendlyAvailable()
* Deprecated (Deprecated functions will be removed within two versions!) :
- HTFlags::getLeagueOfFlag() is deprecated, use HTFlags::getLeagueOfFlagByNumber() instead
- CHPPConnection::getAlliancesById(), use CHPPConnection::getAlliances() instead

v1.5 [2008-09-13]

* New isTrainer(), getTrainerType(), getTrainerSkill(), getNextBirthDay() functions in HTPlayer and HTTeamPlayer classes
* New getTotalStars() and getTotalStarsAtEndOfMatch() in HTLineup class
* Fix getNumberTransfers() in HTPlayerTransferHistory class

v1.4 [2008-09-08]

* Fix some notice error in phperror.log
* Fix internal way to manage xml data in order to work with session
* Fix base cost of specialists
* Fix functions which return boolean
* Fix getEventsNumber() function in HTPlayerEvents class
* Fix getTeam() function in HTLeague class
* Fix minor bugs
* New functions in HTPlayer class: getAgreeability(), getAggressiveness(), getHonesty()
* New parameter for getPrice() function in HTTransfer class, you can specify a currency
* Remove old function getMaketValue() on a player transfer as data is not and was not in xml

v1.3.1 [2008-09-07]
* Rename clearMatchDetail() into clearSeniorMatchDetail() as it affects cache of senior detail match
* Rename clearMatchesDetails() into clearSeniorMatchesDetails() as it affects cache of senior details matches
* Fix getEvent() function in HTMatch class in order to get all events of a match even if eventID are not consecutive

v1.3 [2008-08-20]

* Use new .net files
* New parameter to getRegion() function in order to get data for a particular region
* New getLeagueById(), getLeagueByName(), getLeagueByCountryId() functions in HTWorldDetails class
* New getFlagsHome(), getFlagsAway() functions, with HTFlags class
* New getFlagsHome(), getFlagsAway(), getFlagsPlayers(), getFlagsRaisedPlayers() functions in CHPPConnection class
* New isMatchADerby() function in CHPPConnection class
* New getWorldCupMatches() in CHPPConnection class, new classes class to manage datas
* New getAMatchesList() and getU20MatchesList() function in CHPPConnection class, new classes class to manage datas
* New search features using new .net interface

* Fix HTTeamPlayers and HTTeamOldPlayers class
* Fix getNumberPlayers() function in HTTeamPlayers class
* Fix minor bugs

* No more asp page used, all query are done on .net pages

v1.2 [2008-08-16]

* Optimize xml parsing
* Use new .net files
* Use version 1.3 of match lineup
* Use version 1.7 of team players
* Use version 1.3 of player details
* New file supported : achievements : use getAchievements() function to fetch datas, new classes to manage datas.
* New useStageAtYourOwnRisk() function to use stage server to test new features
* New getPositionChange() function in league details
* New parameter isYouth in getMatchOrders() function
* New function getTeamOldPlayers() : returns old players who played in club, new classes to manage datas.
* New function getTeamOldCoaches() : retrurns old players became coach in another club, new classes to manage datas.
* New getAlliancesById() function
* New getPageIndex() and getPageNumber() functions in HTAlliances class
* New isPlayingMatch() function in HTNationalTeamDetail class
* New getNationalPlayersStats() and getNationalPlayersStatsWorldCup() functions, new classes HTNationalPlayersStats and HTNationalPlayerStats
* New getFirstName(), getLastName(), getNickName() functions in HTTeamPlayer and HTPlayer class, getName() functions are still available in both classes and returns full name of player
* New getLoginResult() function which return login result code

* Fix notice in phperror.log
* Fix syntax bugs
* Fix getRoof() functions
* Fix matchsdetails version in order to fetch formation data
* Fix players fetching data according xml changes
* Fix getTransfer() and getPlayer() functions : work as others similar functions, expected parameter starts from 1 to max
* Fix cup data in team file according to new changes
* Fix getShirtNumber() according to new change
* Fix match lineup when player is not selected
* Fix search arena by name
* Fix getYouthTeamArchiveMatches() function
* Fix clearPlayersEvents() function
* Fix getTeamByLocalName() function
* Fix getNationalPlayers() function
* Fix getArena() function according to new change
* Fix getAllianceDetails() function according to new changes
* Fix all getAlliancesBy*() functions
* Fix all functions which return boolean

* Rename getRatingStarsAtEndOfGame() into getRatingStarsAtEndOfMatch() function in match lineup

* Remove languageID in getPlayerEvents() function
* Remove getTrainerName() in HTTeam class
* Remove endDate parameter in getTeamTransfersHistory() function, replace it by pageIndex according to new change
* Remove getAlliances() and getAlliancesByLang() functions according to new changes
* Remove getCreatedDate() in HTTrainingStats according to new changes

v1.1 [2008-06-10]

* Add new RatingStarsEndOfGame value for all players in matchlineup

v1.0 [2008-05-18]

Initial version

Ces icônes sont des liens vers des sites de partage de signet sociaux où les lecteurs peuvent partager et découvrir de nouveaux liens.
  • Yoolink
  • Scoopeo
  • bodytext
  • del.icio.us
  • Facebook
  • TwitThis
  • Wikio FR
  • StumbleUpon
  • Technorati
  • Slashdot
  • Google
  • Live
  • E-mail this story to a friend!
  • Print this article!
  1. Pas encore de commentaire.

Laisser un commentaire

  1. * Commentaire :

  2. * Recopiez le code :