Google Shared Contacts Manager  1.0
Semestral project for BI-ZNF
Contact Class Reference

Class represents a Google Domain Shared Contact. More...

Inheritance diagram for Contact:

Public Member Functions

 getAttributes ()
 
 getId ()
 
 setId ($id)
 
 getName ()
 
 setName (NameAttribute $n)
 
 getEmails ()
 
 addEmail (EmailAttribute $email)
 
 getPhones ()
 
 addPhone (PhoneAttribute $phone)
 
 getEditTarget ()
 
 setEditTarget ($editTarget)
 
 getProfilePhoto ()
 
 setProfilePhoto (SerializableImage $profilePhoto)
 
 getPhotoTarget ()
 
 setPhotoTarget ($photoTarget)
 
 getAddress ()
 
 setAddress ($address)
 
 getOrganization ()
 
 setOrganization ($organization)
 
 getCustomAttributes ()
 
 addCustomAttribute (CustomAttribute $attr)
 
 getEditTime ()
 
 setEditTime ($editTime)
 

Private Attributes

 $id
 
 $name
 
 $emails = array()
 
 $phones = array()
 
 $customAttributes = array()
 
 $address
 
 $organization
 
 $editTarget
 
 $photoTarget
 
 $profilePhoto
 
 $editTime
 

Detailed Description

Class represents a Google Domain Shared Contact.

Member Function Documentation

◆ addCustomAttribute()

addCustomAttribute ( CustomAttribute  $attr)
Parameters
CustomAttribute$attr
Returns
$this

◆ addEmail()

addEmail ( EmailAttribute  $email)
Parameters
EmailAttribute$email
Returns
Contact

◆ addPhone()

addPhone ( PhoneAttribute  $phone)
Parameters
PhoneAttribute$phone
Returns
Contact

◆ getAddress()

getAddress ( )

◆ getAttributes()

getAttributes ( )
Returns
Attribute[]

◆ getCustomAttributes()

getCustomAttributes ( )
Returns
CustomAttribute[]

◆ getEditTarget()

getEditTarget ( )
Returns
string

◆ getEditTime()

getEditTime ( )
Returns
DateTime

◆ getEmails()

getEmails ( )
Returns
EmailAttribute[]

◆ getId()

getId ( )
Returns
string

◆ getName()

getName ( )
Returns
NameAttribute

◆ getOrganization()

getOrganization ( )

◆ getPhones()

getPhones ( )
Returns
PhoneAttribute[]

◆ getPhotoTarget()

getPhotoTarget ( )
Returns
string

◆ getProfilePhoto()

getProfilePhoto ( )

◆ setAddress()

setAddress (   $address)
Parameters
AddressAttribute$address
Returns
Contact

◆ setEditTarget()

setEditTarget (   $editTarget)
Parameters
string$editTarget
Returns
Contact

◆ setEditTime()

setEditTime (   $editTime)
Parameters
DateTime$editTime
Returns
Contact

◆ setId()

setId (   $id)
Parameters
string$id
Returns
Contact

◆ setName()

setName ( NameAttribute  $n)
Parameters
NameAttribute$n
Returns
Contact

◆ setOrganization()

setOrganization (   $organization)
Parameters
OrganizationAttribute$organization
Returns
Contact

◆ setPhotoTarget()

setPhotoTarget (   $photoTarget)
Parameters
string$photoTarget
Returns
Contact

◆ setProfilePhoto()

setProfilePhoto ( SerializableImage  $profilePhoto)
Parameters
SerializableImage$profilePhoto
Returns
Contact

Field Documentation

◆ $address

$address
private

◆ $customAttributes

$customAttributes = array()
private

◆ $editTarget

$editTarget
private

◆ $editTime

$editTime
private

◆ $emails

$emails = array()
private

◆ $id

$id
private

◆ $name

$name
private

◆ $organization

$organization
private

◆ $phones

$phones = array()
private

◆ $photoTarget

$photoTarget
private

◆ $profilePhoto

$profilePhoto
private

The documentation for this class was generated from the following file: