Location: PHPKode > scripts > YouTube Video API > comment.class.php
<?php
class comment extends google_data
{
	public $title 	= null;
	public $content	= null;
	public $author	= null;

	function __construct($xpath, $node)
	{
		$this->load($xpath, $node);
	}
	
	public function load($xpath, $node)
	{
		$this->title	= $this->get_node_value($xpath, "atom:title", 				$node, "");
		$this->content	= $this->get_node_value($xpath, "atom:content", 			$node, "");
		$this->author	= $this->get_node_value($xpath, "atom:author/atom:name", 	$node, "");
	}
}
?>
Return current item: YouTube Video API