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.
		
		
		
		
		
			
		
			
				
					
					
						
							34 lines
						
					
					
						
							578 B
						
					
					
				
			
		
		
	
	
							34 lines
						
					
					
						
							578 B
						
					
					
				<?php
 | 
						|
/* For licensing terms, see /license.txt */
 | 
						|
 | 
						|
require_once 'Resource.class.php';
 | 
						|
 | 
						|
/**
 | 
						|
 * Class CourseSession
 | 
						|
 * @author Jhon Hinojosa <jhon.hinojosa@beeznest.com>
 | 
						|
 * @package chamilo.backup
 | 
						|
 */
 | 
						|
class CourseSession extends Resource
 | 
						|
{
 | 
						|
    // The title session
 | 
						|
	public $title;
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Create a new Session
 | 
						|
	 * @param int $id
 | 
						|
	 * @param string $title
 | 
						|
	 */
 | 
						|
	public function __construct($id,$title)
 | 
						|
	{
 | 
						|
		parent::__construct($id, RESOURCE_SESSION_COURSE);
 | 
						|
		$this->title = $title;
 | 
						|
	}
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Show this Event
 | 
						|
	 */
 | 
						|
	function show() {
 | 
						|
		parent::show();
 | 
						|
		echo $this->title;
 | 
						|
	}
 | 
						|
}
 | 
						|
 |