-
WIBUHAX0R1337
-
/
home
/
cideo
/
library
/
Zend
/
Gdata
/
Extension
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
AttendeeStatus.php
3.603KB
Edit File
Delete File
Rename
AttendeeType.php
3.6KB
Edit File
Delete File
Rename
Comments.php
3.144KB
Edit File
Delete File
Rename
EntryLink.php
4.399KB
Edit File
Delete File
Rename
EventStatus.php
2.674KB
Edit File
Delete File
Rename
ExtendedProperty.php
2.774KB
Edit File
Delete File
Rename
FeedLink.php
4.692KB
Edit File
Delete File
Rename
OpenSearchItemsPerPage.php
1.386KB
Edit File
Delete File
Rename
OpenSearchStartIndex.php
1.379KB
Edit File
Delete File
Rename
OpenSearchTotalResults.php
1.386KB
Edit File
Delete File
Rename
OriginalEvent.php
3.578KB
Edit File
Delete File
Rename
Rating.php
6.905KB
Edit File
Delete File
Rename
Recurrence.php
1.316KB
Edit File
Delete File
Rename
Reminder.php
4.555KB
Edit File
Delete File
Rename
Transparency.php
3.577KB
Edit File
Delete File
Rename
Visibility.php
3.566KB
Edit File
Delete File
Rename
When.php
4.647KB
Edit File
Delete File
Rename
Where.php
4.564KB
Edit File
Delete File
Rename
Who.php
9.29KB
Edit File
Delete File
Rename
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@zend.com so we can send you a copy immediately. * * @category Zend * @package Zend_Gdata * @subpackage Gdata * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ /** * @see Zend_Gdata_Extension */ require_once 'Zend/Gdata/Extension.php'; /** * @see Zend_Gdata_Extension_EntryLink */ require_once 'Zend/Gdata/Extension/EntryLink.php'; /** * Data model class to represent a location (gd:where element) * * @category Zend * @package Zend_Gdata * @subpackage Gdata * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Gdata_Extension_Where extends Zend_Gdata_Extension { protected $_rootElement = 'where'; protected $_label = null; protected $_rel = null; protected $_valueString = null; protected $_entryLink = null; public function __construct($valueString = null, $label = null, $rel = null, $entryLink = null) { parent::__construct(); $this->_valueString = $valueString; $this->_label = $label; $this->_rel = $rel; $this->_entryLink = $entryLink; } public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) { $element = parent::getDOM($doc, $majorVersion, $minorVersion); if ($this->_label !== null) { $element->setAttribute('label', $this->_label); } if ($this->_rel !== null) { $element->setAttribute('rel', $this->_rel); } if ($this->_valueString !== null) { $element->setAttribute('valueString', $this->_valueString); } if ($this->entryLink !== null) { $element->appendChild($this->_entryLink->getDOM($element->ownerDocument)); } return $element; } protected function takeAttributeFromDOM($attribute) { switch ($attribute->localName) { case 'label': $this->_label = $attribute->nodeValue; break; case 'rel': $this->_rel = $attribute->nodeValue; break; case 'valueString': $this->_valueString = $attribute->nodeValue; break; default: parent::takeAttributeFromDOM($attribute); } } /** * Creates individual Entry objects of the appropriate type and * stores them in the $_entry array based upon DOM data. * * @param DOMNode $child The DOMNode to process */ protected function takeChildFromDOM($child) { $absoluteNodeName = $child->namespaceURI . ':' . $child->localName; switch ($absoluteNodeName) { case $this->lookupNamespace('gd') . ':' . 'entryLink': $entryLink = new Zend_Gdata_Extension_EntryLink(); $entryLink->transferFromDOM($child); $this->_entryLink = $entryLink; break; default: parent::takeChildFromDOM($child); break; } } public function __toString() { if ($this->_valueString != null) { return $this->_valueString; } else { return parent::__toString(); } } public function getLabel() { return $this->_label; } public function setLabel($value) { $this->_label = $value; return $this; } public function getRel() { return $this->_rel; } public function setRel($value) { $this->_rel = $value; return $this; } public function getValueString() { return $this->_valueString; } public function setValueString($value) { $this->_valueString = $value; return $this; } public function getEntryLink() { return $this->_entryLink; } public function setEntryLink($value) { $this->_entryLink = $value; return $this; } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat