123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class Survey extends \CourseEntity
- {
- /**
- * @return \Entity\Repository\SurveyRepository
- */
- public static function repository(){
- return \Entity\Repository\SurveyRepository::instance();
- }
- /**
- * @return \Entity\Survey
- */
- public static function create(){
- return new self();
- }
- /**
- * @var integer $c_id
- */
- protected $c_id;
- /**
- * @var integer $survey_id
- */
- protected $survey_id;
- /**
- * @var string $code
- */
- protected $code;
- /**
- * @var text $title
- */
- protected $title;
- /**
- * @var text $subtitle
- */
- protected $subtitle;
- /**
- * @var string $author
- */
- protected $author;
- /**
- * @var string $lang
- */
- protected $lang;
- /**
- * @var date $avail_from
- */
- protected $avail_from;
- /**
- * @var date $avail_till
- */
- protected $avail_till;
- /**
- * @var string $is_shared
- */
- protected $is_shared;
- /**
- * @var string $template
- */
- protected $template;
- /**
- * @var text $intro
- */
- protected $intro;
- /**
- * @var text $surveythanks
- */
- protected $surveythanks;
- /**
- * @var datetime $creation_date
- */
- protected $creation_date;
- /**
- * @var integer $invited
- */
- protected $invited;
- /**
- * @var integer $answered
- */
- protected $answered;
- /**
- * @var text $invite_mail
- */
- protected $invite_mail;
- /**
- * @var text $reminder_mail
- */
- protected $reminder_mail;
- /**
- * @var string $mail_subject
- */
- protected $mail_subject;
- /**
- * @var string $anonymous
- */
- protected $anonymous;
- /**
- * @var text $access_condition
- */
- protected $access_condition;
- /**
- * @var boolean $shuffle
- */
- protected $shuffle;
- /**
- * @var boolean $one_question_per_page
- */
- protected $one_question_per_page;
- /**
- * @var string $survey_version
- */
- protected $survey_version;
- /**
- * @var integer $parent_id
- */
- protected $parent_id;
- /**
- * @var integer $survey_type
- */
- protected $survey_type;
- /**
- * @var integer $show_form_profile
- */
- protected $show_form_profile;
- /**
- * @var text $form_fields
- */
- protected $form_fields;
- /**
- * @var integer $session_id
- */
- protected $session_id;
- /**
- * Set c_id
- *
- * @param integer $value
- * @return Survey
- */
- 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 survey_id
- *
- * @param integer $value
- * @return Survey
- */
- 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 code
- *
- * @param string $value
- * @return Survey
- */
- public function set_code($value)
- {
- $this->code = $value;
- return $this;
- }
- /**
- * Get code
- *
- * @return string
- */
- public function get_code()
- {
- return $this->code;
- }
- /**
- * Set title
- *
- * @param text $value
- * @return Survey
- */
- public function set_title($value)
- {
- $this->title = $value;
- return $this;
- }
- /**
- * Get title
- *
- * @return text
- */
- public function get_title()
- {
- return $this->title;
- }
- /**
- * Set subtitle
- *
- * @param text $value
- * @return Survey
- */
- public function set_subtitle($value)
- {
- $this->subtitle = $value;
- return $this;
- }
- /**
- * Get subtitle
- *
- * @return text
- */
- public function get_subtitle()
- {
- return $this->subtitle;
- }
- /**
- * Set author
- *
- * @param string $value
- * @return Survey
- */
- public function set_author($value)
- {
- $this->author = $value;
- return $this;
- }
- /**
- * Get author
- *
- * @return string
- */
- public function get_author()
- {
- return $this->author;
- }
- /**
- * Set lang
- *
- * @param string $value
- * @return Survey
- */
- public function set_lang($value)
- {
- $this->lang = $value;
- return $this;
- }
- /**
- * Get lang
- *
- * @return string
- */
- public function get_lang()
- {
- return $this->lang;
- }
- /**
- * Set avail_from
- *
- * @param date $value
- * @return Survey
- */
- public function set_avail_from($value)
- {
- $this->avail_from = $value;
- return $this;
- }
- /**
- * Get avail_from
- *
- * @return date
- */
- public function get_avail_from()
- {
- return $this->avail_from;
- }
- /**
- * Set avail_till
- *
- * @param date $value
- * @return Survey
- */
- public function set_avail_till($value)
- {
- $this->avail_till = $value;
- return $this;
- }
- /**
- * Get avail_till
- *
- * @return date
- */
- public function get_avail_till()
- {
- return $this->avail_till;
- }
- /**
- * Set is_shared
- *
- * @param string $value
- * @return Survey
- */
- public function set_is_shared($value)
- {
- $this->is_shared = $value;
- return $this;
- }
- /**
- * Get is_shared
- *
- * @return string
- */
- public function get_is_shared()
- {
- return $this->is_shared;
- }
- /**
- * Set template
- *
- * @param string $value
- * @return Survey
- */
- public function set_template($value)
- {
- $this->template = $value;
- return $this;
- }
- /**
- * Get template
- *
- * @return string
- */
- public function get_template()
- {
- return $this->template;
- }
- /**
- * Set intro
- *
- * @param text $value
- * @return Survey
- */
- public function set_intro($value)
- {
- $this->intro = $value;
- return $this;
- }
- /**
- * Get intro
- *
- * @return text
- */
- public function get_intro()
- {
- return $this->intro;
- }
- /**
- * Set surveythanks
- *
- * @param text $value
- * @return Survey
- */
- public function set_surveythanks($value)
- {
- $this->surveythanks = $value;
- return $this;
- }
- /**
- * Get surveythanks
- *
- * @return text
- */
- public function get_surveythanks()
- {
- return $this->surveythanks;
- }
- /**
- * Set creation_date
- *
- * @param datetime $value
- * @return Survey
- */
- public function set_creation_date($value)
- {
- $this->creation_date = $value;
- return $this;
- }
- /**
- * Get creation_date
- *
- * @return datetime
- */
- public function get_creation_date()
- {
- return $this->creation_date;
- }
- /**
- * Set invited
- *
- * @param integer $value
- * @return Survey
- */
- public function set_invited($value)
- {
- $this->invited = $value;
- return $this;
- }
- /**
- * Get invited
- *
- * @return integer
- */
- public function get_invited()
- {
- return $this->invited;
- }
- /**
- * Set answered
- *
- * @param integer $value
- * @return Survey
- */
- public function set_answered($value)
- {
- $this->answered = $value;
- return $this;
- }
- /**
- * Get answered
- *
- * @return integer
- */
- public function get_answered()
- {
- return $this->answered;
- }
- /**
- * Set invite_mail
- *
- * @param text $value
- * @return Survey
- */
- public function set_invite_mail($value)
- {
- $this->invite_mail = $value;
- return $this;
- }
- /**
- * Get invite_mail
- *
- * @return text
- */
- public function get_invite_mail()
- {
- return $this->invite_mail;
- }
- /**
- * Set reminder_mail
- *
- * @param text $value
- * @return Survey
- */
- public function set_reminder_mail($value)
- {
- $this->reminder_mail = $value;
- return $this;
- }
- /**
- * Get reminder_mail
- *
- * @return text
- */
- public function get_reminder_mail()
- {
- return $this->reminder_mail;
- }
- /**
- * Set mail_subject
- *
- * @param string $value
- * @return Survey
- */
- public function set_mail_subject($value)
- {
- $this->mail_subject = $value;
- return $this;
- }
- /**
- * Get mail_subject
- *
- * @return string
- */
- public function get_mail_subject()
- {
- return $this->mail_subject;
- }
- /**
- * Set anonymous
- *
- * @param string $value
- * @return Survey
- */
- public function set_anonymous($value)
- {
- $this->anonymous = $value;
- return $this;
- }
- /**
- * Get anonymous
- *
- * @return string
- */
- public function get_anonymous()
- {
- return $this->anonymous;
- }
- /**
- * Set access_condition
- *
- * @param text $value
- * @return Survey
- */
- public function set_access_condition($value)
- {
- $this->access_condition = $value;
- return $this;
- }
- /**
- * Get access_condition
- *
- * @return text
- */
- public function get_access_condition()
- {
- return $this->access_condition;
- }
- /**
- * Set shuffle
- *
- * @param boolean $value
- * @return Survey
- */
- public function set_shuffle($value)
- {
- $this->shuffle = $value;
- return $this;
- }
- /**
- * Get shuffle
- *
- * @return boolean
- */
- public function get_shuffle()
- {
- return $this->shuffle;
- }
- /**
- * Set one_question_per_page
- *
- * @param boolean $value
- * @return Survey
- */
- public function set_one_question_per_page($value)
- {
- $this->one_question_per_page = $value;
- return $this;
- }
- /**
- * Get one_question_per_page
- *
- * @return boolean
- */
- public function get_one_question_per_page()
- {
- return $this->one_question_per_page;
- }
- /**
- * Set survey_version
- *
- * @param string $value
- * @return Survey
- */
- public function set_survey_version($value)
- {
- $this->survey_version = $value;
- return $this;
- }
- /**
- * Get survey_version
- *
- * @return string
- */
- public function get_survey_version()
- {
- return $this->survey_version;
- }
- /**
- * Set parent_id
- *
- * @param integer $value
- * @return Survey
- */
- public function set_parent_id($value)
- {
- $this->parent_id = $value;
- return $this;
- }
- /**
- * Get parent_id
- *
- * @return integer
- */
- public function get_parent_id()
- {
- return $this->parent_id;
- }
- /**
- * Set survey_type
- *
- * @param integer $value
- * @return Survey
- */
- public function set_survey_type($value)
- {
- $this->survey_type = $value;
- return $this;
- }
- /**
- * Get survey_type
- *
- * @return integer
- */
- public function get_survey_type()
- {
- return $this->survey_type;
- }
- /**
- * Set show_form_profile
- *
- * @param integer $value
- * @return Survey
- */
- public function set_show_form_profile($value)
- {
- $this->show_form_profile = $value;
- return $this;
- }
- /**
- * Get show_form_profile
- *
- * @return integer
- */
- public function get_show_form_profile()
- {
- return $this->show_form_profile;
- }
- /**
- * Set form_fields
- *
- * @param text $value
- * @return Survey
- */
- public function set_form_fields($value)
- {
- $this->form_fields = $value;
- return $this;
- }
- /**
- * Get form_fields
- *
- * @return text
- */
- public function get_form_fields()
- {
- return $this->form_fields;
- }
- /**
- * Set session_id
- *
- * @param integer $value
- * @return Survey
- */
- 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;
- }
- }
|