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

217 lines
3.4 KiB

<?php
namespace Entity;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @license see /license.txt
* @author autogenerated
*/
class SurveyAnswer extends \CourseEntity
{
/**
* @return \Entity\Repository\SurveyAnswerRepository
*/
public static function repository(){
return \Entity\Repository\SurveyAnswerRepository::instance();
}
/**
* @return \Entity\SurveyAnswer
*/
public static function create(){
return new self();
}
/**
* @var integer $c_id
*/
protected $c_id;
/**
* @var integer $answer_id
*/
protected $answer_id;
/**
* @var integer $survey_id
*/
protected $survey_id;
/**
* @var integer $question_id
*/
protected $question_id;
/**
* @var text $option_id
*/
protected $option_id;
/**
* @var integer $value
*/
protected $value;
/**
* @var string $user
*/
protected $user;
/**
* Set c_id
*
* @param integer $value
* @return SurveyAnswer
*/
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 answer_id
*
* @param integer $value
* @return SurveyAnswer
*/
public function set_answer_id($value)
{
$this->answer_id = $value;
return $this;
}
/**
* Get answer_id
*
* @return integer
*/
public function get_answer_id()
{
return $this->answer_id;
}
/**
* Set survey_id
*
* @param integer $value
* @return SurveyAnswer
*/
public function set_survey_id($value)
{
$this->survey_id = $value;
return $this;
}
/**
* Get survey_id
*
* @return integer
*/
public function get_survey_id()
{
return $this->survey_id;
}
/**
* Set question_id
*
* @param integer $value
* @return SurveyAnswer
*/
public function set_question_id($value)
{
$this->question_id = $value;
return $this;
}
/**
* Get question_id
*
* @return integer
*/
public function get_question_id()
{
return $this->question_id;
}
/**
* Set option_id
*
* @param text $value
* @return SurveyAnswer
*/
public function set_option_id($value)
{
$this->option_id = $value;
return $this;
}
/**
* Get option_id
*
* @return text
*/
public function get_option_id()
{
return $this->option_id;
}
/**
* Set value
*
* @param integer $value
* @return SurveyAnswer
*/
public function set_value($value)
{
$this->value = $value;
return $this;
}
/**
* Get value
*
* @return integer
*/
public function get_value()
{
return $this->value;
}
/**
* Set user
*
* @param string $value
* @return SurveyAnswer
*/
public function set_user($value)
{
$this->user = $value;
return $this;
}
/**
* Get user
*
* @return string
*/
public function get_user()
{
return $this->user;
}
}