summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Collections/TStack.php2
-rw-r--r--framework/Xml/TXmlDocument.php10
2 files changed, 4 insertions, 8 deletions
diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php
index 72ca2dd0..79d17902 100644
--- a/framework/Collections/TStack.php
+++ b/framework/Collections/TStack.php
@@ -135,7 +135,7 @@ class TStack extends TComponent implements IteratorAggregate
/**
* Pushes an item into the stack.
- * @return mixed the item to be pushed into the stack
+ * @param mixed the item to be pushed into the stack
*/
public function push($item)
{
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php
index a69d982d..66f2f13b 100644
--- a/framework/Xml/TXmlDocument.php
+++ b/framework/Xml/TXmlDocument.php
@@ -386,13 +386,10 @@ class TXmlDocument extends TXmlElement
/**
- * TXmlElement class.
+ * TXmlElementList class.
*
- * TXmlElement represents an XML element node.
- * You can obtain its tagname, attributes, text between the openning and closing
- * tags via the TagName, Attributes, and Value properties, respectively.
- * You can also retrieve its parent and child elements by Parent and Elements
- * properties, respectively.
+ * TXmlElementList represents a collection of {@link TXmlElement}.
+ * You may manipulate the collection with the operations defined in {@link TList}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Revision: $ $Date: $
@@ -423,7 +420,6 @@ class TXmlElementList extends TList
return $this->_o;
}
-
/**
* Inserts an item at the specified position.
* This overrides the parent implementation by performing additional