This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function buildResource($league, $event_key, $test = false) { | |
App::import('Vendor', 'utility'); | |
$utility = new Utility(); | |
$this->league = $utility->getKey($league); | |
// Get the season key, which we can parse from the event_key | |
// i.e l.nba.com-2008-e-11099 | |
$tmp = split('-', $event_key); | |
$this->season_key = $tmp[1]; | |
NewerOlder