public function doPreload11() { $this->doPreload(); $data = array(); if ($this->result['status']) { //load movies: $movieFields = array(); $theatreFields = array(); $data = array('movies' => $this->showtimeService->getMovies($this->geocode, $this->currentDate, 0, false, true, $this->dateOffset, $movieFields), 'theatres' => $this->showtimeService->getTheatres($this->geocode, $this->currentDate, 0, false, true, $this->dateOffset, $theatreFields), 'showtimes' => $this->showtimeService->getShowtimes($this->geocode, $this->currentDate, 0, 0, $this->dateOffset), 'showtime_fields' => array('id', 'time', 'type', 'link'), 'movie_fields' => $movieFields, 'theatre_fields' => $theatreFields); } $this->result['data'] = $data; }