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/sys_announcement.class.php

286 lines
4.6 KiB

<?php
namespace Entity;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @license see /license.txt
* @author autogenerated
*/
class SysAnnouncement extends \Entity
{
/**
* @return \Entity\Repository\SysAnnouncementRepository
*/
public static function repository(){
return \Entity\Repository\SysAnnouncementRepository::instance();
}
/**
* @return \Entity\SysAnnouncement
*/
public static function create(){
return new self();
}
/**
* @var integer $id
*/
protected $id;
/**
* @var datetime $date_start
*/
protected $date_start;
/**
* @var datetime $date_end
*/
protected $date_end;
/**
* @var boolean $visible_teacher
*/
protected $visible_teacher;
/**
* @var boolean $visible_student
*/
protected $visible_student;
/**
* @var boolean $visible_guest
*/
protected $visible_guest;
/**
* @var string $title
*/
protected $title;
/**
* @var text $content
*/
protected $content;
/**
* @var string $lang
*/
protected $lang;
/**
* @var integer $access_url_id
*/
protected $access_url_id;
/**
* Get id
*
* @return integer
*/
public function get_id()
{
return $this->id;
}
/**
* Set date_start
*
* @param datetime $value
* @return SysAnnouncement
*/
public function set_date_start($value)
{
$this->date_start = $value;
return $this;
}
/**
* Get date_start
*
* @return datetime
*/
public function get_date_start()
{
return $this->date_start;
}
/**
* Set date_end
*
* @param datetime $value
* @return SysAnnouncement
*/
public function set_date_end($value)
{
$this->date_end = $value;
return $this;
}
/**
* Get date_end
*
* @return datetime
*/
public function get_date_end()
{
return $this->date_end;
}
/**
* Set visible_teacher
*
* @param boolean $value
* @return SysAnnouncement
*/
public function set_visible_teacher($value)
{
$this->visible_teacher = $value;
return $this;
}
/**
* Get visible_teacher
*
* @return boolean
*/
public function get_visible_teacher()
{
return $this->visible_teacher;
}
/**
* Set visible_student
*
* @param boolean $value
* @return SysAnnouncement
*/
public function set_visible_student($value)
{
$this->visible_student = $value;
return $this;
}
/**
* Get visible_student
*
* @return boolean
*/
public function get_visible_student()
{
return $this->visible_student;
}
/**
* Set visible_guest
*
* @param boolean $value
* @return SysAnnouncement
*/
public function set_visible_guest($value)
{
$this->visible_guest = $value;
return $this;
}
/**
* Get visible_guest
*
* @return boolean
*/
public function get_visible_guest()
{
return $this->visible_guest;
}
/**
* Set title
*
* @param string $value
* @return SysAnnouncement
*/
public function set_title($value)
{
$this->title = $value;
return $this;
}
/**
* Get title
*
* @return string
*/
public function get_title()
{
return $this->title;
}
/**
* Set content
*
* @param text $value
* @return SysAnnouncement
*/
public function set_content($value)
{
$this->content = $value;
return $this;
}
/**
* Get content
*
* @return text
*/
public function get_content()
{
return $this->content;
}
/**
* Set lang
*
* @param string $value
* @return SysAnnouncement
*/
public function set_lang($value)
{
$this->lang = $value;
return $this;
}
/**
* Get lang
*
* @return string
*/
public function get_lang()
{
return $this->lang;
}
/**
* Set access_url_id
*
* @param integer $value
* @return SysAnnouncement
*/
public function set_access_url_id($value)
{
$this->access_url_id = $value;
return $this;
}
/**
* Get access_url_id
*
* @return integer
*/
public function get_access_url_id()
{
return $this->access_url_id;
}
}