*/ class CourseDescription extends Resource { /** * The title */ var $title; /** * The content */ var $content; /** * Create a new Event * @param int $id * @param string $title * @param string $content * @param string $date */ function CourseDescription($id,$title,$content) { parent::Resource($id,RESOURCE_COURSEDESCRIPTION); $this->title = $title; $this->content = $content; } /** * Show this Event */ function show() { parent::show(); echo $this->title; } } ?>