From 06f945f27840b53e57795dadbc38e76f7e11ab1c Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 24 Feb 2014 16:42:14 +0100 Subject: init --- .../library/Zend/Gdata/YouTube/Extension/Token.php | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100755 zend/library/Zend/Gdata/YouTube/Extension/Token.php (limited to 'zend/library/Zend/Gdata/YouTube/Extension/Token.php') diff --git a/zend/library/Zend/Gdata/YouTube/Extension/Token.php b/zend/library/Zend/Gdata/YouTube/Extension/Token.php new file mode 100755 index 0000000..4ddf4b2 --- /dev/null +++ b/zend/library/Zend/Gdata/YouTube/Extension/Token.php @@ -0,0 +1,70 @@ +registerAllNamespaces(Zend_Gdata_YouTube::$namespaces); + parent::__construct(); + $this->_text = $text; + } + + /** + * Retrieves a DOMElement which corresponds to this element and all + * child properties. This is used to build an entry back into a DOM + * and eventually XML text for sending to the server upon updates, or + * for application storage/persistence. + * + * @param DOMDocument $doc The DOMDocument used to construct DOMElements + * @return DOMElement The DOMElement representing this element and all + * child properties. + */ + public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null) + { + $element = parent::getDOM($doc, $majorVersion, $minorVersion); + return $element; + } + +} -- cgit v1.2.3