/** * Constructor * * @param object Group $group * @return void * @access public * @since 8/20/07 */ public function __construct(Group $group) { parent::__construct($group); $groups = $group->getGroups(false); while ($groups->hasNext()) { $this->sections[] = new SegueCourseSection($groups->next()); } $propType = new Type("segue", "edu.middlebury", "coursegroup"); $properties = $group->getPropertiesByType($propType); $idMgr = Services::getService("Id"); $this->id = $idMgr->getId($properties->getProperty("CourseGroupId")); }