• File: place.class.php
  • Full Path: /home/bravrvjk/hpgt.org/wp-content/plugins/unlimited-elements-for-elementor/inc_php/framework/google/places/place.class.php
  • Date Modified: 12/30/2025 2:13 PM
  • File size: 788 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

class UEGoogleAPIPlace extends UEGoogleAPIModel{

	/**
	 * Get the reviews.
	 *
	 * @return UEGoogleAPIPlaceReview[]
	 */
	public function getReviews(){
		
		$reviews = $this->getAttribute("reviews", array());
		$reviews = UEGoogleAPIPlaceReview::transformAll($reviews);
		
		return $reviews;
	}
	
	/**
	 * get place info if available
	 */
	public function getPlaceInfo(){
		
		$arrInfo = $this->getAttribute("place_info");
		
		return($arrInfo);
	}
	
	/**
	 * get place info if available
	 */
	public function getSearchParams(){
		
		$arrParams = $this->getAttribute("search_parameters");
		
		return($arrParams);
	}
	
	/**
	 * get search meta data
	 */
	public function getMetaData(){
		
		$arrParams = $this->getAttribute("search_metadata");
		
		return($arrParams);
	}
	
	
	
}