/** * Set the minor protocol version that should be used. If set to NULL, no * minor protocol version will be sent to the server. Values < 0 will * cause a Zend_Gdata_App_InvalidArgumentException to be thrown. * * This value will be propogated to all child entries. * * @see _minorProtocolVersion * @param (int|NULL) $value The minor protocol version to use. * @throws Zend_Gdata_App_InvalidArgumentException */ public function setMinorProtocolVersion($value) { parent::setMinorProtocolVersion($value); foreach ($this->entries as $entry) { $entry->setMinorProtocolVersion($value); } }
/** * 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('atom') . ':' . 'entry': $newEntry = new $this->_entryClassName($child); $newEntry->setHttpClient($this->getHttpClient()); $this->_entry[] = $newEntry; break; default: parent::takeChildFromDOM($child); break; } }