| 123456789101112131415161718192021222324252627282930313233343536373839404142 | 
							- <?php
 
- /**
 
-  * Define a user rank.
 
-  * @author valentin carruesco
 
-  * @category Core
 
-  * @license copyright
 
-  */
 
- class Rank extends Entity
 
- {
 
- 	public $id,$label,$description;
 
- 	protected $fields =
 
- 	array(
 
- 		'id' => 'key',
 
- 		'label' => 'string',
 
- 		'description' => 'longstring'
 
- 		);
 
- 	function setId($id){
 
- 		$this->id = $id;
 
- 	}
 
- 	
 
- 	function getId(){
 
- 		return $this->id;
 
- 	}
 
- 	function getLabel(){
 
- 		return $this->label;
 
- 	}
 
- 	function setLabel($label){
 
- 		$this->label = $label;
 
- 	}
 
- 	function getDescription(){
 
- 		return $this->description;
 
- 	}
 
- 	function setDescription($description){
 
- 		$this->description = $description;
 
- 	}
 
- }
 
 
  |