This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
core/include/identity.php
2012-08-23 20:00:10 -07:00

38 lines
575 B
PHP

<?php
function create_identity($arr) {
}
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
);
}
}