zlokomatic/phpLoL — pull request #17 by funnyboy3402 (2013-10-21 00:42:43+00:00)
Title: Callback function added ( getMasteryBook ) and some changes.

Hi! I've made some changes.

LoLRPC:
Added:
com.riotgames.platform.summoner.AllSummonerData ( Logged User )
com.riotgames.platform.summoner.masterybook.MasteryBookDTO
com.riotgames.platform.summoner.masterybook.MasteryBookPageDTO
com.riotgames.platform.summoner.masterybook.TalentEntry ( Logged User )
com.riotgames.platform.summoner.Talent ( Logged User )

- callback function:
getMasteryBook($summonerId)

.\Summoner -> MasteryBook ( new ) folder:
\summoner\masterybook\MasteryBookDTO - Class self | extends IBookTemplate
\summoner\masterybook\MasteryBookPageDTO - Class self | extends IBookPageTemplate
\summoner\masterybook\TalentEntry - Class self

.\Summoner Folder:
\summoner\AllSummonerData - Class self | extends Summoner
\summoner\Talent - Class self
\summoner\MainSummoner - Class self

Abstract Classes:
LOLAMFBase -> IBookPageTemplate -> ( MasteryBookPageDTO, SpellBookPage )
LOLAMFBase -> IBookTemplate -> ( MasteryBookDTO, SpellBook )

index.php
$masteries = $client->getMasteryBook($summoner->getSummonerId());

Greetings! :)