00001 <?php
00002
00011 class SDRAlignmentAncestryObj extends SXMLModel {
00012 private static $ATTRIBUTES = array(
00013 'organizationId' => array(),
00014 'organizationName' => array('type' => 'string'),
00015 'gradeId' => array(),
00016 'gradeName' => array('type' => 'string'),
00017 'categoryId' => array(),
00018 'categoryName' => array('type' => 'string'),
00019 'objectiveId' => array(),
00020 'objectiveName' => array('type' => 'string'),
00021 'bookId' => array(),
00022 'bookTitle' => array('type' => 'string'),
00023 'chapterId' => array(),
00024 'chapterName' => array('type' => 'string'),
00025 'sectionId' => array(),
00026 'sectionName' => array('type' => 'string'),
00027 'word' => array('type' => 'string'),
00028 'definition' => array('type' => 'string')
00029 );
00030
00039 public function __construct($xml = null) {
00040 parent::__construct();
00041
00042 $this->registerAttributes(self::$ATTRIBUTES);
00043 $this->registerNodeName('ancestry');
00044
00045 if($xml)
00046 $this->setXML($xml);
00047 }
00048 }
00049
00050 ?>