You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							48 lines
						
					
					
						
							846 B
						
					
					
				
			
		
		
	
	
							48 lines
						
					
					
						
							846 B
						
					
					
				<?php
 | 
						|
/* For licensing terms, see /license.txt */
 | 
						|
namespace Coursecopy;
 | 
						|
require_once 'Resource.class.php';
 | 
						|
 | 
						|
/**
 | 
						|
 * A course description
 | 
						|
 * @author Bart Mollet <bart.mollet@hogent.be>
 | 
						|
 * @package chamilo.backup
 | 
						|
 */
 | 
						|
class CourseDescription extends Resource
 | 
						|
{
 | 
						|
	/**
 | 
						|
	 * The title
 | 
						|
	 */
 | 
						|
	public $title;
 | 
						|
	/**
 | 
						|
	 * The content
 | 
						|
	 */
 | 
						|
	public $content;
 | 
						|
	/**
 | 
						|
	 * The description type
 | 
						|
	 */
 | 
						|
	public $description_type;
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Create a new course description
 | 
						|
	 * @param int $id
 | 
						|
	 * @param string $title
 | 
						|
	 * @param string $content
 | 
						|
	 */
 | 
						|
	public function __construct($id,$title,$content,$description_type)
 | 
						|
	{
 | 
						|
		parent::__construct($id,RESOURCE_COURSEDESCRIPTION);
 | 
						|
		$this->title = $title;
 | 
						|
		$this->content = $content;
 | 
						|
		$this->description_type = $description_type;
 | 
						|
	}
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Show this Event
 | 
						|
	 */
 | 
						|
	function show()
 | 
						|
	{
 | 
						|
		parent::show();
 | 
						|
		echo $this->title;
 | 
						|
	}
 | 
						|
}
 | 
						|
 |