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.
		
		
		
		
		
			
		
			
				
					
					
						
							42 lines
						
					
					
						
							782 B
						
					
					
				
			
		
		
	
	
							42 lines
						
					
					
						
							782 B
						
					
					
				<?php
 | 
						|
/* For licensing terms, see /license.txt */
 | 
						|
 | 
						|
require_once 'Resource.class.php';
 | 
						|
 | 
						|
/**
 | 
						|
 * Add resource glossary
 | 
						|
 * @author Isaac flores
 | 
						|
 * @package chamilo.backup
 | 
						|
 */
 | 
						|
class Glossary extends Resource
 | 
						|
{
 | 
						|
	public $glossary_id;
 | 
						|
	public $name;
 | 
						|
	public $description;
 | 
						|
	public $display_order;
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Create a new Glossary
 | 
						|
	 * @param int $id
 | 
						|
	 * @param string $name
 | 
						|
	 * @param string $description
 | 
						|
	 * @param int $display_order
 | 
						|
	 */
 | 
						|
    public function Glossary($id,$name,$description,$display_order)
 | 
						|
	{
 | 
						|
		parent::Resource($id,RESOURCE_GLOSSARY);
 | 
						|
		$this->glossary_id = $id;
 | 
						|
		$this->name = $name;
 | 
						|
		$this->description = $description;
 | 
						|
		$this->display_order = $display_order;
 | 
						|
	}
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Show this glossary
 | 
						|
	 */
 | 
						|
	public function show()
 | 
						|
    {
 | 
						|
		parent::show();
 | 
						|
		echo $this->name;
 | 
						|
	}
 | 
						|
}
 | 
						|
 |