[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * https://github.com/prasad83/Zend-Gdata-Contacts 5 * @author prasad 6 * 7 * LICENSE 8 * 9 * This source file is subject to the new BSD license that is bundled 10 * with this package in the file LICENSE.txt. 11 * It is also available through the world-wide-web at this URL: 12 * http://framework.zend.com/license/new-bsd 13 * If you did not receive a copy of the license and are unable to 14 * obtain it through the world-wide-web, please send an email 15 * to [email protected] so we can send you a copy immediately. 16 * 17 * @category Zend 18 * @package Zend_Gdata 19 * @subpackage Contacts 20 */ 21 require_once 'Zend/Gdata/Contacts/Extension.php'; 22 23 class Zend_Gdata_Contacts_Extension_PhoneNumber extends Zend_Gdata_Contacts_ExtensionElement { 24 protected $_rootElement = 'phoneNumber'; 25 26 protected $_rel; 27 28 public function __construct($value = null, $rel = 'work') { 29 parent::__construct($value); 30 $this->_rel = $rel; 31 } 32 33 public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) { 34 $element = parent::getDOM($doc, $majorVersion, $minorVersion); 35 $element->setAttribute('rel', $this->lookupNamespace('gd').'#'.$this->_rel); 36 return $element; 37 } 38 39 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |