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

Class represents the organization attribute of a Contact. More...

Inheritance diagram for OrganizationAttribute:
Attribute

Public Member Functions

 toXML (\SimpleXMLElement &$xml)
 
 fromXML (\SimpleXMLElement &$xml)
 
 getName ()
 
 setName ($name)
 
 getDepartment ()
 
 setDepartment ($department)
 
 getJobTitle ()
 
 setJobTitle ($jobTitle)
 
 getJobDescription ()
 
 setJobDescription ($jobDescription)
 
- Public Member Functions inherited from Attribute
 toXML (\SimpleXMLElement &$xml)
 Convert current attribute to XML. More...
 
 fromXML (\SimpleXMLElement &$xml)
 Create new instance of attribute from XML. More...
 

Data Fields

const ATR_NAME = 'gd:organization'
 
const ATR_ORG_NAME = 'gd:orgName'
 
const ATR_DEPARTMENT = 'gd:orgDepartment'
 
const ATR_TITLE = 'gd:orgTitle'
 
const ATR_DESCRIPTION = 'gd:orgJobDescription'
 

Private Attributes

 $name
 
 $department
 
 $jobTitle
 
 $jobDescription
 

Additional Inherited Members

- Static Protected Member Functions inherited from Attribute
static getChildValue (\SimpleXMLElement &$xml, $elementName)
 

Detailed Description

Class represents the organization attribute of a Contact.

Member Function Documentation

◆ fromXML()

fromXML ( \SimpleXMLElement &  $xml)

◆ getDepartment()

getDepartment ( )
Returns
string

◆ getJobDescription()

getJobDescription ( )
Returns
string

◆ getJobTitle()

getJobTitle ( )
Returns
string

◆ getName()

getName ( )
Returns
string

◆ setDepartment()

setDepartment (   $department)
Parameters
string$department
Returns
OrganizationAttribute

◆ setJobDescription()

setJobDescription (   $jobDescription)
Parameters
string$jobDescription
Returns
OrganizationAttribute

◆ setJobTitle()

setJobTitle (   $jobTitle)
Parameters
string$jobTitle
Returns
OrganizationAttribute

◆ setName()

setName (   $name)
Parameters
string$name
Returns
OrganizationAttribute

◆ toXML()

toXML ( \SimpleXMLElement &  $xml)

Field Documentation

◆ $department

$department
private

◆ $jobDescription

$jobDescription
private

◆ $jobTitle

$jobTitle
private

◆ $name

$name
private

◆ ATR_DEPARTMENT

const ATR_DEPARTMENT = 'gd:orgDepartment'

◆ ATR_DESCRIPTION

const ATR_DESCRIPTION = 'gd:orgJobDescription'

◆ ATR_NAME

const ATR_NAME = 'gd:organization'

◆ ATR_ORG_NAME

const ATR_ORG_NAME = 'gd:orgName'

◆ ATR_TITLE

const ATR_TITLE = 'gd:orgTitle'

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