Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- class FlightSearchResult_Controller extends Page_Controller {
- private $apiSearchResults = '';
- private $apiQuery = '';
- public function getFlightResults() {
- $this->apiSearchResults = $flightsDateBreakdown;
- $this->apiQuery = $apiResponse->query;
- return $flightsDateBreakdown;
- }
- public function getAPIQuery( $param ){
- echo __FILE__ . " on line " . __LINE__ . " $param<br>";
- return !empty($this->apiQuery) ? $this->apiQuery : [];
- }
- }
- =========================================
- <div class="search-left">
- <input id="search_flight" name="search_flight" value="$getAPIQuery(search_flight)" class="" tabindex="4">
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement