Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/inc/entity/usergroup.class.php

97 lines
1.5 KiB

<?php
namespace Entity;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @license see /license.txt
* @author autogenerated
*/
class Usergroup extends \Entity
{
/**
* @return \Entity\Repository\UsergroupRepository
*/
public static function repository(){
return \Entity\Repository\UsergroupRepository::instance();
}
/**
* @return \Entity\Usergroup
*/
public static function create(){
return new self();
}
/**
* @var integer $id
*/
protected $id;
/**
* @var string $name
*/
protected $name;
/**
* @var text $description
*/
protected $description;
/**
* Get id
*
* @return integer
*/
public function get_id()
{
return $this->id;
}
/**
* Set name
*
* @param string $value
* @return Usergroup
*/
public function set_name($value)
{
$this->name = $value;
return $this;
}
/**
* Get name
*
* @return string
*/
public function get_name()
{
return $this->name;
}
/**
* Set description
*
* @param text $value
* @return Usergroup
*/
public function set_description($value)
{
$this->description = $value;
return $this;
}
/**
* Get description
*
* @return text
*/
public function get_description()
{
return $this->description;
}
}