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.
190 lines
3.0 KiB
190 lines
3.0 KiB
13 years ago
|
<?php
|
||
|
|
||
|
namespace Entity;
|
||
|
|
||
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @license see /license.txt
|
||
|
* @author autogenerated
|
||
|
*/
|
||
|
class Glossary extends \CourseEntity
|
||
|
{
|
||
|
/**
|
||
|
* @return \Entity\Repository\GlossaryRepository
|
||
|
*/
|
||
|
public static function repository(){
|
||
|
return \Entity\Repository\GlossaryRepository::instance();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return \Entity\Glossary
|
||
|
*/
|
||
|
public static function create(){
|
||
|
return new self();
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @var integer $c_id
|
||
|
*/
|
||
|
protected $c_id;
|
||
|
|
||
|
/**
|
||
|
* @var integer $glossary_id
|
||
|
*/
|
||
|
protected $glossary_id;
|
||
|
|
||
|
/**
|
||
|
* @var string $name
|
||
|
*/
|
||
|
protected $name;
|
||
|
|
||
|
/**
|
||
|
* @var text $description
|
||
|
*/
|
||
|
protected $description;
|
||
|
|
||
|
/**
|
||
|
* @var integer $display_order
|
||
|
*/
|
||
|
protected $display_order;
|
||
|
|
||
|
/**
|
||
|
* @var integer $session_id
|
||
|
*/
|
||
|
protected $session_id;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Set c_id
|
||
|
*
|
||
|
* @param integer $value
|
||
|
* @return Glossary
|
||
|
*/
|
||
|
public function set_c_id($value)
|
||
|
{
|
||
|
$this->c_id = $value;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get c_id
|
||
|
*
|
||
|
* @return integer
|
||
|
*/
|
||
|
public function get_c_id()
|
||
|
{
|
||
|
return $this->c_id;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Set glossary_id
|
||
|
*
|
||
|
* @param integer $value
|
||
|
* @return Glossary
|
||
|
*/
|
||
|
public function set_glossary_id($value)
|
||
|
{
|
||
|
$this->glossary_id = $value;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get glossary_id
|
||
|
*
|
||
|
* @return integer
|
||
|
*/
|
||
|
public function get_glossary_id()
|
||
|
{
|
||
|
return $this->glossary_id;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Set name
|
||
|
*
|
||
|
* @param string $value
|
||
|
* @return Glossary
|
||
|
*/
|
||
|
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 Glossary
|
||
|
*/
|
||
|
public function set_description($value)
|
||
|
{
|
||
|
$this->description = $value;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get description
|
||
|
*
|
||
|
* @return text
|
||
|
*/
|
||
|
public function get_description()
|
||
|
{
|
||
|
return $this->description;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Set display_order
|
||
|
*
|
||
|
* @param integer $value
|
||
|
* @return Glossary
|
||
|
*/
|
||
|
public function set_display_order($value)
|
||
|
{
|
||
|
$this->display_order = $value;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get display_order
|
||
|
*
|
||
|
* @return integer
|
||
|
*/
|
||
|
public function get_display_order()
|
||
|
{
|
||
|
return $this->display_order;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Set session_id
|
||
|
*
|
||
|
* @param integer $value
|
||
|
* @return Glossary
|
||
|
*/
|
||
|
public function set_session_id($value)
|
||
|
{
|
||
|
$this->session_id = $value;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get session_id
|
||
|
*
|
||
|
* @return integer
|
||
|
*/
|
||
|
public function get_session_id()
|
||
|
{
|
||
|
return $this->session_id;
|
||
|
}
|
||
|
}
|