src/Hametuha/GapiWP/Service/Analytics.php
public function get_properties($account_id) {
		$result = array();
		try {
			if ( $this->ga ) {
				$properties = $this->ga
					->management_webproperties
					->listManagementWebproperties( $account_id );
				$result     = $properties->getItems();
			}
		} catch ( \Exception $e ) {
			// Do nothing.
			error_log($e->getMessage(), $e->getCode());
		}
		return $result;
	}
public function get_properties($account_id) {
		$result = array();
		try {
			if ( $this->ga ) {
				$properties = $this->ga
					->management_webproperties
					->listManagementWebproperties( $account_id );
				$result     = $properties->getItems();
			}
		} catch ( \Exception $e ) {
			// Do nothing.
			error_log($e->getMessage(), $e->getCode());
		}
		return $result;
	}
public function get_properties ( $ account_id ) { $ result = array ( ) ; try { if ( $ this -> ga ) { $ properties = $ this -> ga -> management_webproperties -> listManagementWebproperties ( $ account_id ) ; $ result = $ properties -> getItems ( ) ; } } catch ( \ Exception $ e ) { // Do nothing. error_log ( $ e -> getMessage ( ) , $ e -> getCode ( ) ) ; } return $ result ; }
Get Web Properties

@param $account_id
@return array
Get Web Properties