00001 <?php
00002
00011 class SDRResourceList extends SXMLListModel {
00012 private static $ATTRIBUTES = array(
00013 'resultsInfo' => array('type' => 'SDRResultsInfoObj'),
00014 'resources' => array('type' => 'SDRResourceObj', 'array' => true)
00015 );
00016 private $numRows = null;
00017 private $curRow = 0;
00018
00027 public function __construct($xml = null) {
00028 parent::__construct();
00029
00030 $this->registerAttributes(self::$ATTRIBUTES);
00031 $this->registerNodeName('SearchResults');
00032 $this->registerListAttribute('resources', 'SDRResource');
00033
00034 if($xml)
00035 $this->setXML($xml);
00036 }
00037 }
00038
00039 ?>