node from a parsed response from * a GetTags operation * @return void */ public function __construct($node) { $map =& $node->attributes; $this->_tag = $map->getNamedItem('name')->nodeValue; $this->_count = $map->getNamedItem('count')->nodeValue; } /** * Returns the name of the tag * * @return string */ public function getTag() { return $this->_tag; } /** * Returns the number of links with the tag * * @return int */ public function getCount() { return $this->_count; } }