|
Google Shared Contacts Manager
1.0
Semestral project for BI-ZNF
|
Class represents phone contact attribute. More...
Public Member Functions | |
| __construct ($value=null, $type=null) | |
| PhoneAttribute constructor. More... | |
| getValue () | |
| setValue ($value) | |
| getType () | |
| setType ($type) | |
| fromXML (\SimpleXMLElement &$xml) | |
| toXML (\SimpleXMLElement &$xml) | |
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 | PHONE_HOME = "http://schemas.google.com/g/2005#home" |
| const | PHONE_MOBILE = "http://schemas.google.com/g/2005#mobile" |
| const | PHONE_FAX = "http://schemas.google.com/g/2005#fax" |
| const | PHONE_WORK = "http://schemas.google.com/g/2005#work" |
| const | ATR_NAME = "gd:phoneNumber" |
Private Attributes | |
| $value | |
| $type | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Attribute | |
| static | getChildValue (\SimpleXMLElement &$xml, $elementName) |
Class represents phone contact attribute.
| __construct | ( | $value = null, |
|
$type = null |
|||
| ) |
PhoneAttribute constructor.
| string | $value | |
| string | $type |
| fromXML | ( | \SimpleXMLElement & | $xml | ) |
| getType | ( | ) |
| getValue | ( | ) |
| setType | ( | $type | ) |
| string | $type |
| setValue | ( | $value | ) |
| string | $value |
| toXML | ( | \SimpleXMLElement & | $xml | ) |
|
private |
|
private |
| const ATR_NAME = "gd:phoneNumber" |
| const PHONE_FAX = "http://schemas.google.com/g/2005#fax" |
| const PHONE_HOME = "http://schemas.google.com/g/2005#home" |
| const PHONE_MOBILE = "http://schemas.google.com/g/2005#mobile" |
| const PHONE_WORK = "http://schemas.google.com/g/2005#work" |