Location: PHPKode > projects > MySonar > mysonar-gui-1.0/classes-1.0.php
<?php
/**
 * mySonar GUI - Version 1.0
 * mySonar (reachable under mySonar.de) is a platform for Location Based Mobile Networking. 
 * Users can find friends, flirts, partys and places arround by uses their mobile devices.
 * The application has several components. One of the components is the graphical user interface 
 * to access a XML Web Service layer, the services, kernel and database behind. This source file
 * belongs to that component.
 * 
 * Copyright (C) 2008 mySonar GbR, Markus Heussen
 * 
 * This program is free software; you can redistribute it and/or modify it under the terms of the 
 * GNU General Public License as published by the Free Software Foundation; only GPLv2.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along with this program; 
 * if not, see <http://www.gnu.org/licenses/>.
 */

defined("ACCESS") or die("Direct access to this resource is not allowed.");

class createUser {
	var $Request;
}

class getMobileDevice {
	var $Request;
}

class login {
	var $Request;
}

class logout {
	var $Request;
}

class getCurrentLocation {
	var $Request;
}

class setLocation {
	var $Request;
}

class sendPing {
	var $Request;
}

class getMap {
	var $Request;
}

class getSonarPreferences {
	var $Request;
}

class updateSonarPreferences {
	var $Request;
}

class updateUser {
	var $Request;
}

class getProfile {
	var $Request;
}

class setPicture {
	var $Request;
}

class getPicture {
	var $Request;
}

class deletePicture {
	var $Request;
}

class getLastLocations {
	var $Request;
}

class sendMessage {
	var $Request;
}

class Request {
}

class confirmUser {
	var $Request;
}

class getStatistics {
	var $Request;
}

class getInbox {
	var $Request;
}

class getOutbox {
	var $Request;
}

class getMessage {
	var $Request;
}

class deleteMessage {
	var $Request;
}

class setPointOfInterest {
	var $Request;
}

class updatePointOfInterest {
	var $Request;
}

class getTermsAndConditions {
	var $Request;
}

class checkInvitationCode {
	var $Request;
}

class setInvitation {
	var $Request;
}

class getFriends {
	var $Request;
}

class getFriendshipRequests {
	var $Request;
}

class getGroupByAPIKey {
	var $Request;
}

class getPointOfInterest {
	var $Request;
} 

class setFriendship {
	var $Request;
} 

class deleteFriendship {
	var $Request;
}

class confirmFriendship {
	var $Request;
}

class deleteCurrentLocation {
	var $Request;
}

class deletePointOfInterest {
	var $Request;
}

class setBestFriend {
	var $Request;
}

class putEyesOn {
	var $Request;
}

class removeEyesOn {
	var $Request;
}

class deleteBestFriend {
	var $Request;
}

class getFlirts {
	var $Request;
}

class getBalance {
	var $Request;
}

class getPendingPOIs {
	var $Request;
}

class pay {
	var $Request;
}

class activateCoupon {
	var $Request;
}

class getStatement {
	var $Request;
}

class blockEyesOn {
	var $Request;
}

class doVote {
	var $Request;
}

class getTab {
	var $Request;
}

class createGroup {
	var $Request;
}

class joinGroup {
	var $Request;
}

class leaveGroup {
	var $Request;
}

class getGroup {
	var $Request;
}

class getArticle {
	var $Request;
}

class getTopic {
	var $Request;
}

class setArticle {
	var $Request;
}

class deleteArticle {
	var $Request;
}

class deleteTopic {
	var $Request;
}

class deleteGroup {
	var $Request;
}

class setTopic {
	var $Request;
}

class updateTopic {
	var $Request;
}

class updateArticle {
	var $Request;
}

class changePassword {
	var $Request;
}

class getNewPassword {
	var $Request;
}

class getCoupon {
	var $Request;
}

class Metadata {
	var $HttpUserAgent;
	var $MobileDeviceID;
}

class Security {
	var $APIKey;
	var $Token;
	var $Username;
	var $Password;
}

class User {
	var $ID;
	var $ReferenceID;
	var $Name;
	var $Username;
	var $Email;
	var $MobilePhoneNumber;
	var $Sex;
	var $Birth;
	var $Age;
	var $Info;
	var $StatusMessage;
}

class Location {
	var $ID;
	var $ReferenceID;
	var $Address;
	var $IP;
	var $Longitude;
	var $Latitude;
	var $Category;
	var $LastUpdate;
}

class Options {
	var $StartIndex;
	var $Limit;
	var $NumberResults;
}

class Object {
	var $ID;
	var $Timestamp;
	var $Type;
	var $Distance;
	var $User;
	var $PointOfInterest;
	var $Location;
	var $Party;
	var $Restaurant;
}

class Map {
	var $Image;
	var $Width;
	var $Height;
	var $Zoom;
	var $MimeType;
}

class SonarPreferences {
	var $ObjectType;
	var $Range;
	var $UserSex;
	var $MinAge;
	var $MaxAge;
	var $UserFlirt;
}

class Picture {
	var $ID;
	var $Type;
	var $Data;
	var $MimeType;
	var $Width;
	var $Height;
	var $Filename;
}

class SonarErrors {
	var $errors = array();
	
	public function __construct($code = null, $msg = null) {
		if ($code!=null && $msg!=null) $this->addError($code, $msg);
	}
	
	public function addError($code, $msg) {
		array_push($this->errors, array($code, $msg));
	}
	
	public function getErrors() {
		return $this->errors;
	}
	
	public function hasErrors() {
		return (count($this->errors)>0 ? true:false);
	}
}

class Help {
	var $Title;
	var $Text;
	
	public function __construct($title, $text) {
		$this->Title = $title;	
		$this->Text = $text;	
	}
}

class Message {
	var $ID;
	var $Sender;
	var $Recipient;
	var $Subject;
	var $Text;
	var $Time;
	var $Status;
}

class PointOfInterest {
	var $ID;
	var $Name;
	var $Description;
	var $Picture;
}

class Restaurant extends PointOfInterest {
	var $OpeningHours = "";
}

class Cafe extends PointOfInterest {
	var $OpeningHours = "";
}

class Bar extends PointOfInterest {
	var $OpeningHours = "";
}

class Club extends PointOfInterest {
	var $OpeningHours = "";
}

class Party extends PointOfInterest {
	var $Location;
	var $Begin;
	var $End;
	var $Private;
	var $URL;
	var $TicketInfo;
}

class Transaction {
	var $Sender;
	var $Recipient;
	var $Amount;
	var $Description;
	var $Time;
}

class Coupon {
	var $Type;
	var $Code;
	var $Transaction;
	var $Group;
}

class Vote {
	var $PointOfInterest;
	var $User;
	var $Value;
	var $Time;
}

class Group {
	var $ID;
	var $Owner;
	var $Name;
	var $Description;
	var $Created;
	var $Active;
	var $Members;
}

class Article {
	var $ID;
	var $ReferenceID;
	var $Title;
	var $Content;
	var $Created;
	var $Topic;
	var $Author;
}

class Address {
	var $Recipient;
	var $Street;
	var $Location;
}
?>
Return current item: MySonar