aboutsummaryrefslogblamecommitdiffstats
path: root/include/identity.php
blob: 5164b5eae0f271e7a6cd62dcd6bd93e53b76c5d8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                       



                                
















                                                                          
<?php



class simple_identity {

	private $identity_uid;
	private $identity_name;
	private $identity_url;
	private $identity_photo;

	function __construct($uid = '',$name = '',$url = '',$photo = '') {
		$this->identity_uid    = $uid;
		$this->identity_name   = $name;
		$this->identity_url    = $url;
		$this->identity_photo  = $photo;
	}

	function to_array() {
		return array(
			'zuid'  => $this->identity_uid,
			'name'  => $this->identity_name,
			'url'   => $this->identity_url,
			'photo' => $this->identity_photo
		);
	}
}