Explorar o código

Removing unused entities, renaming entities instead of Entity\EntityUser we just use Entity\User, removing unused Proxies folder too

Julio Montoya %!s(int64=12) %!d(string=hai) anos
pai
achega
1e16fba5c7
Modificáronse 100 ficheiros con 295 adicións e 24432 borrados
  1. 2 6
      main/group/group_edit.php
  2. 43 48
      main/inc/Entity/CGroupInfo.php
  3. 54 60
      main/inc/Entity/CItemProperty.php
  4. 68 76
      main/inc/Entity/CLp.php
  5. 18 24
      main/inc/Entity/CLpCategory.php
  6. 17 17
      main/inc/Entity/CTimeline.php
  7. 59 69
      main/inc/Entity/Course.php
  8. 34 46
      main/inc/Entity/CourseRelUser.php
  9. 0 184
      main/inc/Entity/EntityAccessUrl.php
  10. 0 79
      main/inc/Entity/EntityAccessUrlRelCourse.php
  11. 0 79
      main/inc/Entity/EntityAccessUrlRelSession.php
  12. 0 79
      main/inc/Entity/EntityAccessUrlRelUser.php
  13. 0 64
      main/inc/Entity/EntityAdmin.php
  14. 0 79
      main/inc/Entity/EntityAnnouncementRelGroup.php
  15. 0 184
      main/inc/Entity/EntityBlock.php
  16. 0 259
      main/inc/Entity/EntityCAnnouncement.php
  17. 0 229
      main/inc/Entity/EntityCAnnouncementAttachment.php
  18. 0 319
      main/inc/Entity/EntityCAttendance.php
  19. 0 169
      main/inc/Entity/EntityCAttendanceCalendar.php
  20. 0 169
      main/inc/Entity/EntityCAttendanceResult.php
  21. 0 141
      main/inc/Entity/EntityCAttendanceSheet.php
  22. 0 229
      main/inc/Entity/EntityCAttendanceSheetLog.php
  23. 0 229
      main/inc/Entity/EntityCBlog.php
  24. 0 289
      main/inc/Entity/EntityCBlogAttachment.php
  25. 0 319
      main/inc/Entity/EntityCBlogComment.php
  26. 0 229
      main/inc/Entity/EntityCBlogPost.php
  27. 0 229
      main/inc/Entity/EntityCBlogRating.php
  28. 0 111
      main/inc/Entity/EntityCBlogRelUser.php
  29. 0 229
      main/inc/Entity/EntityCBlogTask.php
  30. 0 173
      main/inc/Entity/EntityCBlogTaskRelUser.php
  31. 0 289
      main/inc/Entity/EntityCCalendarEvent.php
  32. 0 229
      main/inc/Entity/EntityCCalendarEventAttachment.php
  33. 0 199
      main/inc/Entity/EntityCCalendarEventRepeat.php
  34. 0 111
      main/inc/Entity/EntityCCalendarEventRepeatNot.php
  35. 0 203
      main/inc/Entity/EntityCChatConnected.php
  36. 0 229
      main/inc/Entity/EntityCCourseDescription.php
  37. 0 319
      main/inc/Entity/EntityCCourseSetting.php
  38. 0 289
      main/inc/Entity/EntityCDocument.php
  39. 0 229
      main/inc/Entity/EntityCDropboxCategory.php
  40. 0 199
      main/inc/Entity/EntityCDropboxFeedback.php
  41. 0 379
      main/inc/Entity/EntityCDropboxFile.php
  42. 0 111
      main/inc/Entity/EntityCDropboxPerson.php
  43. 0 231
      main/inc/Entity/EntityCDropboxPost.php
  44. 0 229
      main/inc/Entity/EntityCForumAttachment.php
  45. 0 229
      main/inc/Entity/EntityCForumCategory.php
  46. 0 679
      main/inc/Entity/EntityCForumForum.php
  47. 0 175
      main/inc/Entity/EntityCForumMailcue.php
  48. 0 207
      main/inc/Entity/EntityCForumNotification.php
  49. 0 379
      main/inc/Entity/EntityCForumPost.php
  50. 0 529
      main/inc/Entity/EntityCForumThread.php
  51. 0 259
      main/inc/Entity/EntityCForumThreadQualify.php
  52. 0 259
      main/inc/Entity/EntityCForumThreadQualifyLog.php
  53. 0 199
      main/inc/Entity/EntityCGlossary.php
  54. 0 499
      main/inc/Entity/EntityCGroupCategory.php
  55. 0 139
      main/inc/Entity/EntityCGroupRelTutor.php
  56. 0 199
      main/inc/Entity/EntityCGroupRelUser.php
  57. 0 319
      main/inc/Entity/EntityCLink.php
  58. 0 199
      main/inc/Entity/EntityCLinkCategory.php
  59. 0 679
      main/inc/Entity/EntityCLpItem.php
  60. 0 409
      main/inc/Entity/EntityCLpItemView.php
  61. 0 379
      main/inc/Entity/EntityCLpIvInteraction.php
  62. 0 289
      main/inc/Entity/EntityCLpIvObjective.php
  63. 0 259
      main/inc/Entity/EntityCLpView.php
  64. 0 229
      main/inc/Entity/EntityCMetadata.php
  65. 0 319
      main/inc/Entity/EntityCNotebook.php
  66. 0 109
      main/inc/Entity/EntityCOnlineConnected.php
  67. 0 139
      main/inc/Entity/EntityCOnlineLink.php
  68. 0 169
      main/inc/Entity/EntityCPermissionGroup.php
  69. 0 169
      main/inc/Entity/EntityCPermissionTask.php
  70. 0 169
      main/inc/Entity/EntityCPermissionUser.php
  71. 0 709
      main/inc/Entity/EntityCQuiz.php
  72. 0 409
      main/inc/Entity/EntityCQuizAnswer.php
  73. 0 154
      main/inc/Entity/EntityCQuizOrder.php
  74. 0 379
      main/inc/Entity/EntityCQuizQuestion.php
  75. 0 139
      main/inc/Entity/EntityCQuizQuestionCategory.php
  76. 0 169
      main/inc/Entity/EntityCQuizQuestionOption.php
  77. 0 141
      main/inc/Entity/EntityCQuizQuestionRelCategory.php
  78. 0 141
      main/inc/Entity/EntityCQuizRelQuestion.php
  79. 0 199
      main/inc/Entity/EntityCResource.php
  80. 0 169
      main/inc/Entity/EntityCRole.php
  81. 0 171
      main/inc/Entity/EntityCRoleGroup.php
  82. 0 205
      main/inc/Entity/EntityCRolePermissions.php
  83. 0 141
      main/inc/Entity/EntityCRoleUser.php
  84. 0 679
      main/inc/Entity/EntityCStudentPublication.php
  85. 0 229
      main/inc/Entity/EntityCStudentPublicationAssignment.php
  86. 0 889
      main/inc/Entity/EntityCSurvey.php
  87. 0 229
      main/inc/Entity/EntityCSurveyAnswer.php
  88. 0 169
      main/inc/Entity/EntityCSurveyGroup.php
  89. 0 289
      main/inc/Entity/EntityCSurveyInvitation.php
  90. 0 409
      main/inc/Entity/EntityCSurveyQuestion.php
  91. 0 229
      main/inc/Entity/EntityCSurveyQuestionOption.php
  92. 0 229
      main/inc/Entity/EntityCThematic.php
  93. 0 259
      main/inc/Entity/EntityCThematicAdvance.php
  94. 0 199
      main/inc/Entity/EntityCThematicPlan.php
  95. 0 379
      main/inc/Entity/EntityCTool.php
  96. 0 141
      main/inc/Entity/EntityCToolIntro.php
  97. 0 229
      main/inc/Entity/EntityCUserinfoContent.php
  98. 0 199
      main/inc/Entity/EntityCUserinfoDef.php
  99. 0 829
      main/inc/Entity/EntityCWiki.php
  100. 0 469
      main/inc/Entity/EntityCWikiConf.php

+ 2 - 6
main/group/group_edit.php

@@ -141,17 +141,13 @@ $form->add_textfield('name', get_lang('GroupName'));
 $form->addElement('textarea', 'description', get_lang('Description'), array('class' => 'span6', 'rows' => 6));
 
 //Getting course info
-$course = $app['orm.em']->getRepository('Entity\EntityCourse')->find(api_get_course_int_id());
+$course = $app['orm.em']->getRepository('Entity\Course')->find(api_get_course_int_id());
 
 //Getting subscribed students
-$subscribedUsers = $app['orm.em']->getRepository('Entity\EntityCourse')->getSubscribedStudents($course);
+$subscribedUsers = $app['orm.em']->getRepository('Entity\Course')->getSubscribedStudents($course);
 $subscribedUsers = $subscribedUsers->getQuery();
 $subscribedUsers = $subscribedUsers->execute();
 
-
-
-
-
 //Getting all users
 $complete_user_list = array();
 foreach ($subscribedUsers as $user) {

+ 43 - 48
main/inc/Entity/EntityCGroupInfo.php → main/inc/Entity/CGroupInfo.php

@@ -3,152 +3,147 @@
 namespace Entity;
 
 use Doctrine\ORM\Mapping as ORM;
-
-use Doctrine\ORM\Mapping\Id;
-use Doctrine\ORM\Mapping\Column;
-use Doctrine\ORM\Mapping\GeneratedValue;
-use Doctrine\ORM\Mapping\OneToMany;
 use Doctrine\Common\Collections\ArrayCollection;
 
 /**
- * EntityCGroupInfo
+ * CGroupInfo
  *
- * @Table(name="c_group_info")
- * @Entity
+ * @ORM\Table(name="c_group_info")
+ * @ORM\Entity
  */
-class EntityCGroupInfo
+class CGroupInfo
 {
     /**
      * @var integer
      *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $cId;
 
     /**
      * @var integer
      *
-     * @Column(name="iid", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
+     * @ORM\Column(name="iid", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Id
+     * @ORM\GeneratedValue(strategy="IDENTITY")
      */
     private $iid;
 
     /**
      * @var integer
      *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $id;
 
     /**
      * @var string
      *
-     * @Column(name="name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
      */
     private $name;
 
     /**
      * @var integer
      *
-     * @Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $categoryId;
 
     /**
      * @var string
      *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
      */
     private $description;
 
     /**
      * @var integer
      *
-     * @Column(name="max_student", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="max_student", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $maxStudent;
 
     /**
      * @var boolean
      *
-     * @Column(name="doc_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="doc_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $docState;
 
     /**
      * @var boolean
      *
-     * @Column(name="calendar_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="calendar_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $calendarState;
 
     /**
      * @var boolean
      *
-     * @Column(name="work_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="work_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $workState;
 
     /**
      * @var boolean
      *
-     * @Column(name="announcements_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="announcements_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $announcementsState;
 
     /**
      * @var boolean
      *
-     * @Column(name="forum_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="forum_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $forumState;
 
     /**
      * @var boolean
      *
-     * @Column(name="wiki_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="wiki_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $wikiState;
 
     /**
      * @var boolean
      *
-     * @Column(name="chat_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="chat_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $chatState;
 
     /**
      * @var string
      *
-     * @Column(name="secret_directory", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="secret_directory", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
      */
     private $secretDirectory;
 
     /**
      * @var boolean
      *
-     * @Column(name="self_registration_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="self_registration_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $selfRegistrationAllowed;
 
     /**
      * @var boolean
      *
-     * @Column(name="self_unregistration_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="self_unregistration_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $selfUnregistrationAllowed;
 
     /**
      * @var integer
      *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $sessionId;
 
 
     /**
-     * @OneToMany(targetEntity="EntityCItemProperty", mappedBy="group")
+     *  @ORM\OneToMany(targetEntity="CItemProperty", mappedBy="group")
      **/
     private $items;
 
@@ -174,7 +169,7 @@ class EntityCGroupInfo
      *
      * @param integer $cId
      *
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setCId($cId)
     {
@@ -197,7 +192,7 @@ class EntityCGroupInfo
      * Set iid
      *
      * @param integer $id
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setIid($iid)
     {
@@ -220,7 +215,7 @@ class EntityCGroupInfo
      * Set id
      *
      * @param integer $id
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setId($id)
     {
@@ -243,7 +238,7 @@ class EntityCGroupInfo
      * Set name
      *
      * @param string $name
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setName($name)
     {
@@ -266,7 +261,7 @@ class EntityCGroupInfo
      * Set categoryId
      *
      * @param integer $categoryId
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setCategoryId($categoryId)
     {
@@ -289,7 +284,7 @@ class EntityCGroupInfo
      * Set description
      *
      * @param string $description
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setDescription($description)
     {
@@ -312,7 +307,7 @@ class EntityCGroupInfo
      * Set maxStudent
      *
      * @param integer $maxStudent
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setMaxStudent($maxStudent)
     {
@@ -335,7 +330,7 @@ class EntityCGroupInfo
      * Set docState
      *
      * @param boolean $docState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setDocState($docState)
     {
@@ -358,7 +353,7 @@ class EntityCGroupInfo
      * Set calendarState
      *
      * @param boolean $calendarState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setCalendarState($calendarState)
     {
@@ -381,7 +376,7 @@ class EntityCGroupInfo
      * Set workState
      *
      * @param boolean $workState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setWorkState($workState)
     {
@@ -404,7 +399,7 @@ class EntityCGroupInfo
      * Set announcementsState
      *
      * @param boolean $announcementsState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setAnnouncementsState($announcementsState)
     {
@@ -427,7 +422,7 @@ class EntityCGroupInfo
      * Set forumState
      *
      * @param boolean $forumState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setForumState($forumState)
     {
@@ -450,7 +445,7 @@ class EntityCGroupInfo
      * Set wikiState
      *
      * @param boolean $wikiState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setWikiState($wikiState)
     {
@@ -473,7 +468,7 @@ class EntityCGroupInfo
      * Set chatState
      *
      * @param boolean $chatState
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setChatState($chatState)
     {
@@ -496,7 +491,7 @@ class EntityCGroupInfo
      * Set secretDirectory
      *
      * @param string $secretDirectory
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setSecretDirectory($secretDirectory)
     {
@@ -519,7 +514,7 @@ class EntityCGroupInfo
      * Set selfRegistrationAllowed
      *
      * @param boolean $selfRegistrationAllowed
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setSelfRegistrationAllowed($selfRegistrationAllowed)
     {
@@ -542,7 +537,7 @@ class EntityCGroupInfo
      * Set selfUnregistrationAllowed
      *
      * @param boolean $selfUnregistrationAllowed
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setSelfUnregistrationAllowed($selfUnregistrationAllowed)
     {
@@ -565,7 +560,7 @@ class EntityCGroupInfo
      * Set sessionId
      *
      * @param integer $sessionId
-     * @return EntityCGroupInfo
+     * @return CGroupInfo
      */
     public function setSessionId($sessionId)
     {

+ 54 - 60
main/inc/Entity/EntityCItemProperty.php → main/inc/Entity/CItemProperty.php

@@ -4,125 +4,119 @@ namespace Entity;
 
 use Doctrine\ORM\Mapping as ORM;
 
-use Doctrine\ORM\Mapping\Id;
-use Doctrine\ORM\Mapping\Column;
-use Doctrine\ORM\Mapping\GeneratedValue;
-
-use Doctrine\ORM\Mapping\ManyToOne;
-use Doctrine\ORM\Mapping\JoinColumn;
 
 /**
- * EntityCItemProperty
+ * CItemProperty
  *
- * @Table(name="c_item_property")
- * @Entity(repositoryClass="Entity\Repository\ItemPropertyRepository")
+ * @ORM\Table(name="c_item_property")
+ * @ORM\Entity(repositoryClass="Entity\Repository\ItemPropertyRepository")
  */
-class EntityCItemProperty
+class CItemProperty
 {
     /**
      * @var integer
      *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $cId;
 
     /**
      * @var integer
      *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
+     * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Id
+     * @ORM\GeneratedValue(strategy="IDENTITY")
      */
     private $id;
 
     /**
      * @var string
      *
-     * @Column(name="tool", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="tool", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
      */
     private $tool;
 
     /**
      * @var integer
      *
-     * @Column(name="insert_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="insert_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $insertUserId;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="insert_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="insert_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
      */
     private $insertDate;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="lastedit_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="lastedit_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
      */
     private $lasteditDate;
 
     /**
      * @var integer
      *
-     * @Column(name="ref", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="ref", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $ref;
 
     /**
      * @var string
      *
-     * @Column(name="lastedit_type", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="lastedit_type", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
      */
     private $lasteditType;
 
     /**
      * @var integer
      *
-     * @Column(name="lastedit_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="lastedit_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $lasteditUserId;
 
     /**
      * @var integer
      *
-     * @Column(name="to_group_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="to_group_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
      */
     private $toGroupId;
 
     /**
      * @var integer
      *
-     * @Column(name="to_user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="to_user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
      */
     private $toUserId;
 
     /**
      * @var boolean
      *
-     * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="visibility", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $visibility;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="start_visible", type="datetime", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="start_visible", type="datetime", precision=0, scale=0, nullable=true, unique=false)
      */
     private $startVisible;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="end_visible", type="datetime", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="end_visible", type="datetime", precision=0, scale=0, nullable=true, unique=false)
      */
     private $endVisible;
 
     /**
      * @var integer
      *
-     * @Column(name="id_session", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="id_session", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $idSession;
 
@@ -130,33 +124,33 @@ class EntityCItemProperty
 
     /**
      *
-     * @ManyToOne(targetEntity="EntityUser")
-     * @JoinColumn(name="to_user_id", referencedColumnName="user_id")
+     * @ORM\ManyToOne(targetEntity="User")
+     * @ORM\JoinColumn(name="to_user_id", referencedColumnName="user_id")
      **/
     private $user;
 
     /**
-     * @ManyToOne(targetEntity="EntityCourse")
-     * @JoinColumn(name="c_id", referencedColumnName="id")
+     * @ORM\ManyToOne(targetEntity="Course")
+     * @ORM\JoinColumn(name="c_id", referencedColumnName="id")
      */
     private $course;
 
     /**
-     * @ManyToOne(targetEntity="EntityCGroupInfo")
-     * @JoinColumn(name="to_group_id", referencedColumnName="iid")
+     * @ORM\ManyToOne(targetEntity="CGroupInfo")
+     * @ORM\JoinColumn(name="to_group_id", referencedColumnName="iid")
      */
     private $group;
 
     /**
-     * @ManyToOne(targetEntity="EntitySession")
-     * @JoinColumn(name="id_session", referencedColumnName="id", nullable=true)
+     * @ORM\ManyToOne(targetEntity="Session")
+     * @ORM\JoinColumn(name="id_session", referencedColumnName="id", nullable=true)
      */
     private $session;
 
     /**
-     * @param EntityCourse $course
+     * @param Course $course
      */
-    public function __construct(EntityCourse $course)
+    public function __construct(Course $course)
     {
         //Mandatory
         $this->course = $course;
@@ -168,33 +162,33 @@ class EntityCItemProperty
     }
 
     /**
-     * @param EntityUser $user
+     * @param User $user
      */
-    public function setUser(EntityUser $user)
+    public function setUser(User $user)
     {
         $this->user = $user;
     }
 
     /**
-     * @param EntityCourse $course
+     * @param Course $course
      */
-    public function setCourse(EntityCourse $course)
+    public function setCourse(Course $course)
     {
         $this->course = $course;
     }
 
     /**
-     * @param EntityCGroupInfo $group
+     * @param CGroupInfo $group
      */
-    public function setGroup(EntityCGroupInfo $group)
+    public function setGroup(CGroupInfo $group)
     {
         $this->group = $group;
     }
 
     /**
-     * @param EntitySession $session
+     * @param Session $session
      */
-    public function setSession(EntitySession $session)
+    public function setSession(Session $session)
     {
         $this->session = $session;
     }
@@ -205,7 +199,7 @@ class EntityCItemProperty
      *
      * @param integer $cId
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setCId($cId)
     {
@@ -229,7 +223,7 @@ class EntityCItemProperty
      *
      * @param integer $id
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setId($id)
     {
@@ -253,7 +247,7 @@ class EntityCItemProperty
      *
      * @param string $tool
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setTool($tool)
     {
@@ -277,7 +271,7 @@ class EntityCItemProperty
      *
      * @param integer $insertUserId
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setInsertUserId($insertUserId)
     {
@@ -301,7 +295,7 @@ class EntityCItemProperty
      *
      * @param \DateTime $insertDate
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setInsertDate($insertDate)
     {
@@ -325,7 +319,7 @@ class EntityCItemProperty
      *
      * @param \DateTime $lasteditDate
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setLasteditDate($lasteditDate)
     {
@@ -349,7 +343,7 @@ class EntityCItemProperty
      *
      * @param integer $ref
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setRef($ref)
     {
@@ -373,7 +367,7 @@ class EntityCItemProperty
      *
      * @param string $lasteditType
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setLasteditType($lasteditType)
     {
@@ -397,7 +391,7 @@ class EntityCItemProperty
      *
      * @param integer $lasteditUserId
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setLasteditUserId($lasteditUserId)
     {
@@ -421,7 +415,7 @@ class EntityCItemProperty
      *
      * @param integer $toGroupId
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setToGroupId($toGroupId)
     {
@@ -445,7 +439,7 @@ class EntityCItemProperty
      *
      * @param integer $toUserId
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setToUserId($toUserId)
     {
@@ -469,7 +463,7 @@ class EntityCItemProperty
      *
      * @param boolean $visibility
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setVisibility($visibility)
     {
@@ -493,7 +487,7 @@ class EntityCItemProperty
      *
      * @param \DateTime $startVisible
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setStartVisible($startVisible)
     {
@@ -517,7 +511,7 @@ class EntityCItemProperty
      *
      * @param \DateTime $endVisible
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setEndVisible($endVisible)
     {
@@ -541,7 +535,7 @@ class EntityCItemProperty
      *
      * @param integer $idSession
      *
-     * @return EntityCItemProperty
+     * @return CItemProperty
      */
     public function setIdSession($idSession)
     {

+ 68 - 76
main/inc/Entity/EntityCLp.php → main/inc/Entity/CLp.php

@@ -3,36 +3,28 @@
 namespace Entity;
 
 use Doctrine\ORM\Mapping as ORM;
-use Doctrine\ORM\Mapping\Id;
-use Doctrine\ORM\Mapping\Column;
-use Doctrine\ORM\Mapping\GeneratedValue;
-
-use Doctrine\ORM\Mapping\MappedSuperclass;
-use Doctrine\ORM\Mapping\HasLifecycleCallbacks;
-use Doctrine\ORM\Mapping\PreUpdate;
-
 
 /**
- * EntityCLp
+ * CLp
  *
- * @Table(name="c_lp")
- * @Entity(repositoryClass="Entity\Repository\LpRepository")
+ * @ORM\Table(name="c_lp")
+ * @ORM\Entity(repositoryClass="Entity\Repository\LpRepository")
  */
-class EntityCLp
+class CLp
 {
     /**
      * @var integer
      *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
+     * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Id
+     * @ORM\GeneratedValue(strategy="IDENTITY")
      */
     private $id;
 
     /**
      * @var integer
      *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
 
      */
     private $cId;
@@ -41,203 +33,203 @@ class EntityCLp
     /**
      * @var integer
      *
-     * @Column(name="lp_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="lp_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $lpType;
 
     /**
      * @var string
      *
-     * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
      */
     private $name;
 
     /**
      * @var string
      *
-     * @Column(name="ref", type="text", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="ref", type="text", precision=0, scale=0, nullable=true, unique=false)
      */
     private $ref;
 
     /**
      * @var string
      *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
      */
     private $description;
 
     /**
      * @var string
      *
-     * @Column(name="path", type="text", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="path", type="text", precision=0, scale=0, nullable=false, unique=false)
      */
     private $path;
 
     /**
      * @var boolean
      *
-     * @Column(name="force_commit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="force_commit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $forceCommit;
 
     /**
      * @var string
      *
-     * @Column(name="default_view_mod", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="default_view_mod", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
      */
     private $defaultViewMod;
 
     /**
      * @var string
      *
-     * @Column(name="default_encoding", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="default_encoding", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
      */
     private $defaultEncoding;
 
     /**
      * @var integer
      *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $displayOrder;
 
     /**
      * @var string
      *
-     * @Column(name="content_maker", type="text", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="content_maker", type="text", precision=0, scale=0, nullable=false, unique=false)
      */
     private $contentMaker;
 
     /**
      * @var string
      *
-     * @Column(name="content_local", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="content_local", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
      */
     private $contentLocal;
 
     /**
      * @var string
      *
-     * @Column(name="content_license", type="text", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="content_license", type="text", precision=0, scale=0, nullable=false, unique=false)
      */
     private $contentLicense;
 
     /**
      * @var boolean
      *
-     * @Column(name="prevent_reinit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="prevent_reinit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $preventReinit;
 
     /**
      * @var string
      *
-     * @Column(name="js_lib", type="text", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="js_lib", type="text", precision=0, scale=0, nullable=false, unique=false)
      */
     private $jsLib;
 
     /**
      * @var boolean
      *
-     * @Column(name="debug", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="debug", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $debug;
 
     /**
      * @var string
      *
-     * @Column(name="theme", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="theme", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
      */
     private $theme;
 
     /**
      * @var string
      *
-     * @Column(name="preview_image", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="preview_image", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
      */
     private $previewImage;
 
     /**
      * @var string
      *
-     * @Column(name="author", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="author", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
      */
     private $author;
 
     /**
      * @var integer
      *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $sessionId;
 
     /**
      * @var integer
      *
-     * @Column(name="prerequisite", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="prerequisite", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $prerequisite;
 
     /**
      * @var boolean
      *
-     * @Column(name="hide_toc_frame", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="hide_toc_frame", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $hideTocFrame;
 
     /**
      * @var boolean
      *
-     * @Column(name="seriousgame_mode", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="seriousgame_mode", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $seriousgameMode;
 
     /**
      * @var integer
      *
-     * @Column(name="use_max_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="use_max_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $useMaxScore;
 
     /**
      * @var integer
      *
-     * @Column(name="autolunch", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="autolunch", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $autolunch;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="created_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="created_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
      */
     private $createdOn;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="modified_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="modified_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
      */
     private $modifiedOn;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="publicated_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="publicated_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
      */
     private $publicatedOn;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="expired_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="expired_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
      */
     private $expiredOn;
 
     /**
      * @var integer
      *
-     * @Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $categoryId;
 
@@ -253,7 +245,7 @@ class EntityCLp
      * Set categoryId
      *
      * @param integer $id
-     * @return EntityCLp
+     * @return CLp
      */
     public function setCategoryId($id)
     {
@@ -276,7 +268,7 @@ class EntityCLp
      * Set cId
      *
      * @param integer $cId
-     * @return EntityCLp
+     * @return CLp
      */
     public function setCId($cId)
     {
@@ -299,7 +291,7 @@ class EntityCLp
      * Set id
      *
      * @param integer $id
-     * @return EntityCLp
+     * @return CLp
      */
     public function setId($id)
     {
@@ -322,7 +314,7 @@ class EntityCLp
      * Set lpType
      *
      * @param integer $lpType
-     * @return EntityCLp
+     * @return CLp
      */
     public function setLpType($lpType)
     {
@@ -345,7 +337,7 @@ class EntityCLp
      * Set name
      *
      * @param string $name
-     * @return EntityCLp
+     * @return CLp
      */
     public function setName($name)
     {
@@ -368,7 +360,7 @@ class EntityCLp
      * Set ref
      *
      * @param string $ref
-     * @return EntityCLp
+     * @return CLp
      */
     public function setRef($ref)
     {
@@ -391,7 +383,7 @@ class EntityCLp
      * Set description
      *
      * @param string $description
-     * @return EntityCLp
+     * @return CLp
      */
     public function setDescription($description)
     {
@@ -414,7 +406,7 @@ class EntityCLp
      * Set path
      *
      * @param string $path
-     * @return EntityCLp
+     * @return CLp
      */
     public function setPath($path)
     {
@@ -437,7 +429,7 @@ class EntityCLp
      * Set forceCommit
      *
      * @param boolean $forceCommit
-     * @return EntityCLp
+     * @return CLp
      */
     public function setForceCommit($forceCommit)
     {
@@ -460,7 +452,7 @@ class EntityCLp
      * Set defaultViewMod
      *
      * @param string $defaultViewMod
-     * @return EntityCLp
+     * @return CLp
      */
     public function setDefaultViewMod($defaultViewMod)
     {
@@ -483,7 +475,7 @@ class EntityCLp
      * Set defaultEncoding
      *
      * @param string $defaultEncoding
-     * @return EntityCLp
+     * @return CLp
      */
     public function setDefaultEncoding($defaultEncoding)
     {
@@ -506,7 +498,7 @@ class EntityCLp
      * Set displayOrder
      *
      * @param integer $displayOrder
-     * @return EntityCLp
+     * @return CLp
      */
     public function setDisplayOrder($displayOrder)
     {
@@ -529,7 +521,7 @@ class EntityCLp
      * Set contentMaker
      *
      * @param string $contentMaker
-     * @return EntityCLp
+     * @return CLp
      */
     public function setContentMaker($contentMaker)
     {
@@ -552,7 +544,7 @@ class EntityCLp
      * Set contentLocal
      *
      * @param string $contentLocal
-     * @return EntityCLp
+     * @return CLp
      */
     public function setContentLocal($contentLocal)
     {
@@ -575,7 +567,7 @@ class EntityCLp
      * Set contentLicense
      *
      * @param string $contentLicense
-     * @return EntityCLp
+     * @return CLp
      */
     public function setContentLicense($contentLicense)
     {
@@ -598,7 +590,7 @@ class EntityCLp
      * Set preventReinit
      *
      * @param boolean $preventReinit
-     * @return EntityCLp
+     * @return CLp
      */
     public function setPreventReinit($preventReinit)
     {
@@ -621,7 +613,7 @@ class EntityCLp
      * Set jsLib
      *
      * @param string $jsLib
-     * @return EntityCLp
+     * @return CLp
      */
     public function setJsLib($jsLib)
     {
@@ -644,7 +636,7 @@ class EntityCLp
      * Set debug
      *
      * @param boolean $debug
-     * @return EntityCLp
+     * @return CLp
      */
     public function setDebug($debug)
     {
@@ -667,7 +659,7 @@ class EntityCLp
      * Set theme
      *
      * @param string $theme
-     * @return EntityCLp
+     * @return CLp
      */
     public function setTheme($theme)
     {
@@ -690,7 +682,7 @@ class EntityCLp
      * Set previewImage
      *
      * @param string $previewImage
-     * @return EntityCLp
+     * @return CLp
      */
     public function setPreviewImage($previewImage)
     {
@@ -713,7 +705,7 @@ class EntityCLp
      * Set author
      *
      * @param string $author
-     * @return EntityCLp
+     * @return CLp
      */
     public function setAuthor($author)
     {
@@ -736,7 +728,7 @@ class EntityCLp
      * Set sessionId
      *
      * @param integer $sessionId
-     * @return EntityCLp
+     * @return CLp
      */
     public function setSessionId($sessionId)
     {
@@ -759,7 +751,7 @@ class EntityCLp
      * Set prerequisite
      *
      * @param integer $prerequisite
-     * @return EntityCLp
+     * @return CLp
      */
     public function setPrerequisite($prerequisite)
     {
@@ -782,7 +774,7 @@ class EntityCLp
      * Set hideTocFrame
      *
      * @param boolean $hideTocFrame
-     * @return EntityCLp
+     * @return CLp
      */
     public function setHideTocFrame($hideTocFrame)
     {
@@ -805,7 +797,7 @@ class EntityCLp
      * Set seriousgameMode
      *
      * @param boolean $seriousgameMode
-     * @return EntityCLp
+     * @return CLp
      */
     public function setSeriousgameMode($seriousgameMode)
     {
@@ -828,7 +820,7 @@ class EntityCLp
      * Set useMaxScore
      *
      * @param integer $useMaxScore
-     * @return EntityCLp
+     * @return CLp
      */
     public function setUseMaxScore($useMaxScore)
     {
@@ -851,7 +843,7 @@ class EntityCLp
      * Set autolunch
      *
      * @param integer $autolunch
-     * @return EntityCLp
+     * @return CLp
      */
     public function setAutolunch($autolunch)
     {
@@ -874,7 +866,7 @@ class EntityCLp
      * Set createdOn
      *
      * @param \DateTime $createdOn
-     * @return EntityCLp
+     * @return CLp
      */
     public function setCreatedOn($createdOn)
     {
@@ -897,7 +889,7 @@ class EntityCLp
      * Set modifiedOn
      *
      * @param \DateTime $modifiedOn
-     * @return EntityCLp
+     * @return CLp
      */
     public function setModifiedOn($modifiedOn)
     {
@@ -920,7 +912,7 @@ class EntityCLp
      * Set publicatedOn
      *
      * @param \DateTime $publicatedOn
-     * @return EntityCLp
+     * @return CLp
      */
     public function setPublicatedOn($publicatedOn)
     {
@@ -943,7 +935,7 @@ class EntityCLp
      * Set expiredOn
      *
      * @param \DateTime $expiredOn
-     * @return EntityCLp
+     * @return CLp
      */
     public function setExpiredOn($expiredOn)
     {

+ 18 - 24
main/inc/Entity/EntityCLpCategory.php → main/inc/Entity/CLpCategory.php

@@ -1,49 +1,42 @@
 <?php
 
 namespace Entity;
-
 use Gedmo\Mapping\Annotation as Gedmo;
-
 use Doctrine\ORM\Mapping as ORM;
-use Doctrine\ORM\Mapping\Id;
-use Doctrine\ORM\Mapping\Column;
-use Doctrine\ORM\Mapping\GeneratedValue;
-
 
 /**
- * EntityCBlog
+ * CLpCategory
  *
- * @Table(name="c_lp_category")
- * @Entity(repositoryClass="\Gedmo\Sortable\Entity\Repository\SortableRepository")
+ * @ORM\Table(name="c_lp_category")
+ * @ORM\Entity(repositoryClass="Gedmo\Sortable\Entity\Repository\SortableRepository")
  */
-class EntityCLpCategory
+class CLpCategory
 {
     /**
      * @var integer
-     * @Gedmo\SortableGroup
-     * @Column(name="c_id", type="integer")
+     *
+     * @ORM\Column(name="id", type="integer")
+     * @ORM\Id
+     * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $cId;
+    private $id;
 
     /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer")
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
+     * @Gedmo\SortableGroup
+     * @ORM\Column(name="c_id", type="integer")
      */
-    private $id;
+    private $cId;
 
     /**
      * @var string
      *
-     * @Column(name="name")
+     * @ORM\Column(name="name")
      */
     private $name;
 
     /**
      * @Gedmo\SortablePosition
-     * @Column(name="position", type="integer")
+     * @ORM\Column(name="position", type="integer")
      */
     private $position;
 
@@ -51,7 +44,7 @@ class EntityCLpCategory
      * Set cId
      *
      * @param integer $cId
-     * @return EntityCBlog
+     * @return CLpCategory
      */
     public function setCId($cId)
     {
@@ -73,7 +66,7 @@ class EntityCLpCategory
      * Set id
      *
      * @param integer $id
-     * @return EntityCBlog
+     * @return CLpCategory
      */
     public function setId($id)
     {
@@ -96,7 +89,8 @@ class EntityCLpCategory
      * Set category name
      *
      * @param string $blogName
-     * @return EntityCBlog
+     *
+     * @return CLpCategory
      */
     public function setName($name)
     {

+ 17 - 17
main/inc/Entity/EntityCTimeline.php → main/inc/Entity/CTimeline.php

@@ -5,12 +5,12 @@ namespace Entity;
 use Doctrine\ORM\Mapping as ORM;
 
 /**
- * EntityCTimeline
+ * CTimeline
  *
- * @Table(name="c_timeline")
- * @Entity
+ * @ORM\Table(name="c_timeline")
+ * @ORM\Entity
  */
-class EntityCTimeline
+class CTimeline
 {
 
     /**
@@ -113,7 +113,7 @@ class EntityCTimeline
      * Set id
      *
      * @param integer $id
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setId($id)
     {
@@ -136,7 +136,7 @@ class EntityCTimeline
      * Set cId
      *
      * @param integer $cId
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setCId($cId)
     {
@@ -159,7 +159,7 @@ class EntityCTimeline
      * Set headline
      *
      * @param string $headline
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setHeadline($headline)
     {
@@ -182,7 +182,7 @@ class EntityCTimeline
      * Set type
      *
      * @param string $type
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setType($type)
     {
@@ -205,7 +205,7 @@ class EntityCTimeline
      * Set startDate
      *
      * @param string $startDate
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setStartDate($startDate)
     {
@@ -228,7 +228,7 @@ class EntityCTimeline
      * Set endDate
      *
      * @param string $endDate
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setEndDate($endDate)
     {
@@ -251,7 +251,7 @@ class EntityCTimeline
      * Set text
      *
      * @param string $text
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setText($text)
     {
@@ -274,7 +274,7 @@ class EntityCTimeline
      * Set media
      *
      * @param string $media
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setMedia($media)
     {
@@ -297,7 +297,7 @@ class EntityCTimeline
      * Set mediaCredit
      *
      * @param string $mediaCredit
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setMediaCredit($mediaCredit)
     {
@@ -320,7 +320,7 @@ class EntityCTimeline
      * Set mediaCaption
      *
      * @param string $mediaCaption
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setMediaCaption($mediaCaption)
     {
@@ -343,7 +343,7 @@ class EntityCTimeline
      * Set titleSlide
      *
      * @param string $titleSlide
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setTitleSlide($titleSlide)
     {
@@ -366,7 +366,7 @@ class EntityCTimeline
      * Set parentId
      *
      * @param integer $parentId
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setParentId($parentId)
     {
@@ -389,7 +389,7 @@ class EntityCTimeline
      * Set status
      *
      * @param integer $status
-     * @return EntityCTimeline
+     * @return CTimeline
      */
     public function setStatus($status)
     {

+ 59 - 69
main/inc/Entity/EntityCourse.php → main/inc/Entity/Course.php

@@ -3,217 +3,207 @@
 namespace Entity;
 
 use Doctrine\ORM\Mapping as ORM;
-
-use Doctrine\ORM\Mapping\Id;
-use Doctrine\ORM\Mapping\Column;
-use Doctrine\ORM\Mapping\GeneratedValue;
-use Doctrine\ORM\Mapping\ManyToMany;
-use Doctrine\ORM\Mapping\ManyToOne;
-use Doctrine\ORM\Mapping\OneToMany;
-
-use Doctrine\ORM\Mapping\JoinColumn;
-use Doctrine\ORM\Mapping\JoinTable;
 use Doctrine\Common\Collections\ArrayCollection;
 
 /**
- * EntityCourse
+ * Course
  *
- * @Table(name="course")
- * @Entity(repositoryClass="Entity\Repository\CourseRepository")
+ * @ORM\Table(name="course")
+ * @ORM\Entity(repositoryClass="Entity\Repository\CourseRepository")
  */
-class EntityCourse
+class Course
 {
     /**
      * @var integer
      *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
+     * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Id
+     * @ORM\GeneratedValue(strategy="IDENTITY")
      */
     private $id;
 
     /**
      * @var string
      *
-     * @Column(name="code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
      */
     private $code;
 
     /**
      * @var string
      *
-     * @Column(name="directory", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="directory", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
      */
     private $directory;
 
     /**
      * @var string
      *
-     * @Column(name="db_name", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="db_name", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
      */
     private $dbName;
 
     /**
      * @var string
      *
-     * @Column(name="course_language", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="course_language", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
      */
     private $courseLanguage;
 
     /**
      * @var string
      *
-     * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
      */
     private $title;
 
     /**
      * @var string
      *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
      */
     private $description;
 
     /**
      * @var string
      *
-     * @Column(name="category_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="category_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
      */
     private $categoryCode;
 
     /**
      * @var boolean
      *
-     * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="visibility", type="boolean", precision=0, scale=0, nullable=true, unique=false)
      */
     private $visibility;
 
     /**
      * @var integer
      *
-     * @Column(name="show_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="show_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $showScore;
 
     /**
      * @var string
      *
-     * @Column(name="tutor_name", type="string", length=200, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="tutor_name", type="string", length=200, precision=0, scale=0, nullable=true, unique=false)
      */
     private $tutorName;
 
     /**
      * @var string
      *
-     * @Column(name="visual_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="visual_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
      */
     private $visualCode;
 
     /**
      * @var string
      *
-     * @Column(name="department_name", type="string", length=30, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="department_name", type="string", length=30, precision=0, scale=0, nullable=true, unique=false)
      */
     private $departmentName;
 
     /**
      * @var string
      *
-     * @Column(name="department_url", type="string", length=180, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="department_url", type="string", length=180, precision=0, scale=0, nullable=true, unique=false)
      */
     private $departmentUrl;
 
     /**
      * @var integer
      *
-     * @Column(name="disk_quota", type="bigint", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="disk_quota", type="bigint", precision=0, scale=0, nullable=true, unique=false)
      */
     private $diskQuota;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="last_visit", type="datetime", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="last_visit", type="datetime", precision=0, scale=0, nullable=true, unique=false)
      */
     private $lastVisit;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="last_edit", type="datetime", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="last_edit", type="datetime", precision=0, scale=0, nullable=true, unique=false)
      */
     private $lastEdit;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
      */
     private $creationDate;
 
     /**
      * @var \DateTime
      *
-     * @Column(name="expiration_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="expiration_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
      */
     private $expirationDate;
 
     /**
      * @var string
      *
-     * @Column(name="target_course_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="target_course_code", type="string", length=40, precision=0, scale=0, nullable=true, unique=false)
      */
     private $targetCourseCode;
 
     /**
      * @var boolean
      *
-     * @Column(name="subscribe", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="subscribe", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $subscribe;
 
     /**
      * @var boolean
      *
-     * @Column(name="unsubscribe", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="unsubscribe", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $unsubscribe;
 
     /**
      * @var string
      *
-     * @Column(name="registration_code", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="registration_code", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
      */
     private $registrationCode;
 
     /**
      * @var string
      *
-     * @Column(name="legal", type="text", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="legal", type="text", precision=0, scale=0, nullable=false, unique=false)
      */
     private $legal;
 
     /**
      * @var integer
      *
-     * @Column(name="activate_legal", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="activate_legal", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $activateLegal;
 
     /**
      * @var integer
      *
-     * @Column(name="course_type_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="course_type_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
      */
     private $courseTypeId;
 
     /**
-     * @OneToMany(targetEntity="EntityCourseRelUser", mappedBy="course")
+     * @ORM\OneToMany(targetEntity="CourseRelUser", mappedBy="course")
      **/
     private $users;
 
     /**
-     * @OneToMany(targetEntity="EntityCItemProperty", mappedBy="course")
+     * @ORM\OneToMany(targetEntity="CItemProperty", mappedBy="course")
      **/
     private $items;
 
@@ -247,7 +237,7 @@ class EntityCourse
      * Set code
      *
      * @param string $code
-     * @return EntityCourse
+     * @return Course
      */
     public function setCode($code)
     {
@@ -270,7 +260,7 @@ class EntityCourse
      * Set directory
      *
      * @param string $directory
-     * @return EntityCourse
+     * @return Course
      */
     public function setDirectory($directory)
     {
@@ -293,7 +283,7 @@ class EntityCourse
      * Set dbName
      *
      * @param string $dbName
-     * @return EntityCourse
+     * @return Course
      */
     public function setDbName($dbName)
     {
@@ -316,7 +306,7 @@ class EntityCourse
      * Set courseLanguage
      *
      * @param string $courseLanguage
-     * @return EntityCourse
+     * @return Course
      */
     public function setCourseLanguage($courseLanguage)
     {
@@ -339,7 +329,7 @@ class EntityCourse
      * Set title
      *
      * @param string $title
-     * @return EntityCourse
+     * @return Course
      */
     public function setTitle($title)
     {
@@ -362,7 +352,7 @@ class EntityCourse
      * Set description
      *
      * @param string $description
-     * @return EntityCourse
+     * @return Course
      */
     public function setDescription($description)
     {
@@ -385,7 +375,7 @@ class EntityCourse
      * Set categoryCode
      *
      * @param string $categoryCode
-     * @return EntityCourse
+     * @return Course
      */
     public function setCategoryCode($categoryCode)
     {
@@ -408,7 +398,7 @@ class EntityCourse
      * Set visibility
      *
      * @param boolean $visibility
-     * @return EntityCourse
+     * @return Course
      */
     public function setVisibility($visibility)
     {
@@ -431,7 +421,7 @@ class EntityCourse
      * Set showScore
      *
      * @param integer $showScore
-     * @return EntityCourse
+     * @return Course
      */
     public function setShowScore($showScore)
     {
@@ -454,7 +444,7 @@ class EntityCourse
      * Set tutorName
      *
      * @param string $tutorName
-     * @return EntityCourse
+     * @return Course
      */
     public function setTutorName($tutorName)
     {
@@ -477,7 +467,7 @@ class EntityCourse
      * Set visualCode
      *
      * @param string $visualCode
-     * @return EntityCourse
+     * @return Course
      */
     public function setVisualCode($visualCode)
     {
@@ -500,7 +490,7 @@ class EntityCourse
      * Set departmentName
      *
      * @param string $departmentName
-     * @return EntityCourse
+     * @return Course
      */
     public function setDepartmentName($departmentName)
     {
@@ -523,7 +513,7 @@ class EntityCourse
      * Set departmentUrl
      *
      * @param string $departmentUrl
-     * @return EntityCourse
+     * @return Course
      */
     public function setDepartmentUrl($departmentUrl)
     {
@@ -546,7 +536,7 @@ class EntityCourse
      * Set diskQuota
      *
      * @param integer $diskQuota
-     * @return EntityCourse
+     * @return Course
      */
     public function setDiskQuota($diskQuota)
     {
@@ -569,7 +559,7 @@ class EntityCourse
      * Set lastVisit
      *
      * @param \DateTime $lastVisit
-     * @return EntityCourse
+     * @return Course
      */
     public function setLastVisit($lastVisit)
     {
@@ -592,7 +582,7 @@ class EntityCourse
      * Set lastEdit
      *
      * @param \DateTime $lastEdit
-     * @return EntityCourse
+     * @return Course
      */
     public function setLastEdit($lastEdit)
     {
@@ -615,7 +605,7 @@ class EntityCourse
      * Set creationDate
      *
      * @param \DateTime $creationDate
-     * @return EntityCourse
+     * @return Course
      */
     public function setCreationDate($creationDate)
     {
@@ -638,7 +628,7 @@ class EntityCourse
      * Set expirationDate
      *
      * @param \DateTime $expirationDate
-     * @return EntityCourse
+     * @return Course
      */
     public function setExpirationDate($expirationDate)
     {
@@ -661,7 +651,7 @@ class EntityCourse
      * Set targetCourseCode
      *
      * @param string $targetCourseCode
-     * @return EntityCourse
+     * @return Course
      */
     public function setTargetCourseCode($targetCourseCode)
     {
@@ -684,7 +674,7 @@ class EntityCourse
      * Set subscribe
      *
      * @param boolean $subscribe
-     * @return EntityCourse
+     * @return Course
      */
     public function setSubscribe($subscribe)
     {
@@ -707,7 +697,7 @@ class EntityCourse
      * Set unsubscribe
      *
      * @param boolean $unsubscribe
-     * @return EntityCourse
+     * @return Course
      */
     public function setUnsubscribe($unsubscribe)
     {
@@ -730,7 +720,7 @@ class EntityCourse
      * Set registrationCode
      *
      * @param string $registrationCode
-     * @return EntityCourse
+     * @return Course
      */
     public function setRegistrationCode($registrationCode)
     {
@@ -753,7 +743,7 @@ class EntityCourse
      * Set legal
      *
      * @param string $legal
-     * @return EntityCourse
+     * @return Course
      */
     public function setLegal($legal)
     {
@@ -776,7 +766,7 @@ class EntityCourse
      * Set activateLegal
      *
      * @param integer $activateLegal
-     * @return EntityCourse
+     * @return Course
      */
     public function setActivateLegal($activateLegal)
     {
@@ -799,7 +789,7 @@ class EntityCourse
      * Set courseTypeId
      *
      * @param integer $courseTypeId
-     * @return EntityCourse
+     * @return Course
      */
     public function setCourseTypeId($courseTypeId)
     {

+ 34 - 46
main/inc/Entity/EntityCourseRelUser.php → main/inc/Entity/CourseRelUser.php

@@ -4,125 +4,113 @@ namespace Entity;
 
 use Doctrine\ORM\Mapping as ORM;
 
-use Doctrine\ORM\Mapping\Id;
-use Doctrine\ORM\Mapping\Column;
-use Doctrine\ORM\Mapping\GeneratedValue;
-use Doctrine\ORM\Mapping\ManyToOne;
-use Doctrine\ORM\Mapping\OneToMany;
-use Doctrine\ORM\Mapping\JoinColumn;
-
-
 /**
- * EntityCourseRelUser
+ * CourseRelUser
  *
- * @Table(name="course_rel_user")
- * @Entity
+ * @ORM\Table(name="course_rel_user")
+ * @ORM\Entity
  */
-class EntityCourseRelUser
+class CourseRelUser
 {
     /**
      * @var integer
      *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
+     * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Id
+     * @ORM\GeneratedValue(strategy="IDENTITY")
      */
     private $id;
 
     /**
      * @var string
      *
-     * @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
      */
     private $courseCode;
 
     /**
      * @var integer
      *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
+     * @ORM\Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $userId;
 
     /**
      * @var integer
      *
-     * @Column(name="relation_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
+     * @ORM\Column(name="relation_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $relationType;
 
     /**
      * @var boolean
      *
-     * @Column(name="status", type="boolean", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="status", type="boolean", precision=0, scale=0, nullable=false, unique=false)
      */
     private $status;
 
     /**
      * @var string
      *
-     * @Column(name="role", type="string", length=60, precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="role", type="string", length=60, precision=0, scale=0, nullable=true, unique=false)
      */
     private $role;
 
     /**
      * @var integer
      *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $groupId;
 
     /**
      * @var integer
      *
-     * @Column(name="tutor_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="tutor_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $tutorId;
 
     /**
      * @var integer
      *
-     * @Column(name="sort", type="integer", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="sort", type="integer", precision=0, scale=0, nullable=true, unique=false)
      */
     private $sort;
 
     /**
      * @var integer
      *
-     * @Column(name="user_course_cat", type="integer", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="user_course_cat", type="integer", precision=0, scale=0, nullable=true, unique=false)
      */
     private $userCourseCat;
 
     /**
      * @var integer
      *
-     * @Column(name="legal_agreement", type="integer", precision=0, scale=0, nullable=true, unique=false)
+     * @ORM\Column(name="legal_agreement", type="integer", precision=0, scale=0, nullable=true, unique=false)
      */
     private $legalAgreement;
 
     /**
      * @var integer
      *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
+     * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
      */
     private $cId;
 
     /**
-     * @ManyToOne(targetEntity="EntityUser")
-     * @JoinColumn(name="user_id", referencedColumnName="user_id")
+     * @ORM\ManyToOne(targetEntity="User")
+     * @ORM\JoinColumn(name="user_id", referencedColumnName="user_id")
      */
     private $user;
 
     /**
-     * @ManyToOne(targetEntity="EntityCourse")
-     * @JoinColumn(name="c_id", referencedColumnName="id")
+     * @ORM\ManyToOne(targetEntity="Course")
+     * @ORM\JoinColumn(name="c_id", referencedColumnName="id")
      */
     private $course;
 
-    public function __construct(EntityCourse $course, EntityUser $user)
+    public function __construct(Course $course, User $user)
     {
         $this->course = $course;
         $this->user = $user;
@@ -132,7 +120,7 @@ class EntityCourseRelUser
      * Set cId
      *
      * @param integer $cId
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setCId($cId)
     {
@@ -157,7 +145,7 @@ class EntityCourseRelUser
      * Set courseCode
      *
      * @param string $courseCode
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setCourseCode($courseCode)
     {
@@ -180,7 +168,7 @@ class EntityCourseRelUser
      * Set userId
      *
      * @param integer $userId
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setUserId($userId)
     {
@@ -203,7 +191,7 @@ class EntityCourseRelUser
      * Set relationType
      *
      * @param integer $relationType
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setRelationType($relationType)
     {
@@ -226,7 +214,7 @@ class EntityCourseRelUser
      * Set status
      *
      * @param boolean $status
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setStatus($status)
     {
@@ -249,7 +237,7 @@ class EntityCourseRelUser
      * Set role
      *
      * @param string $role
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setRole($role)
     {
@@ -272,7 +260,7 @@ class EntityCourseRelUser
      * Set groupId
      *
      * @param integer $groupId
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setGroupId($groupId)
     {
@@ -295,7 +283,7 @@ class EntityCourseRelUser
      * Set tutorId
      *
      * @param integer $tutorId
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setTutorId($tutorId)
     {
@@ -318,7 +306,7 @@ class EntityCourseRelUser
      * Set sort
      *
      * @param integer $sort
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setSort($sort)
     {
@@ -341,7 +329,7 @@ class EntityCourseRelUser
      * Set userCourseCat
      *
      * @param integer $userCourseCat
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setUserCourseCat($userCourseCat)
     {
@@ -364,7 +352,7 @@ class EntityCourseRelUser
      * Set legalAgreement
      *
      * @param integer $legalAgreement
-     * @return EntityCourseRelUser
+     * @return CourseRelUser
      */
     public function setLegalAgreement($legalAgreement)
     {

+ 0 - 184
main/inc/Entity/EntityAccessUrl.php

@@ -1,184 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityAccessUrl
- *
- * @Table(name="access_url")
- * @Entity
- */
-class EntityAccessUrl
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="url", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $url;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="active", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $active;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="created_by", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $createdBy;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $tms;
-
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set url
-     *
-     * @param string $url
-     * @return EntityAccessUrl
-     */
-    public function setUrl($url)
-    {
-        $this->url = $url;
-
-        return $this;
-    }
-
-    /**
-     * Get url
-     *
-     * @return string 
-     */
-    public function getUrl()
-    {
-        return $this->url;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityAccessUrl
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set active
-     *
-     * @param integer $active
-     * @return EntityAccessUrl
-     */
-    public function setActive($active)
-    {
-        $this->active = $active;
-
-        return $this;
-    }
-
-    /**
-     * Get active
-     *
-     * @return integer 
-     */
-    public function getActive()
-    {
-        return $this->active;
-    }
-
-    /**
-     * Set createdBy
-     *
-     * @param integer $createdBy
-     * @return EntityAccessUrl
-     */
-    public function setCreatedBy($createdBy)
-    {
-        $this->createdBy = $createdBy;
-
-        return $this;
-    }
-
-    /**
-     * Get createdBy
-     *
-     * @return integer 
-     */
-    public function getCreatedBy()
-    {
-        return $this->createdBy;
-    }
-
-    /**
-     * Set tms
-     *
-     * @param \DateTime $tms
-     * @return EntityAccessUrl
-     */
-    public function setTms($tms)
-    {
-        $this->tms = $tms;
-
-        return $this;
-    }
-
-    /**
-     * Get tms
-     *
-     * @return \DateTime 
-     */
-    public function getTms()
-    {
-        return $this->tms;
-    }
-}

+ 0 - 79
main/inc/Entity/EntityAccessUrlRelCourse.php

@@ -1,79 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityAccessUrlRelCourse
- *
- * @Table(name="access_url_rel_course")
- * @Entity
- */
-class EntityAccessUrlRelCourse
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="access_url_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $accessUrlId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="course_code", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $courseCode;
-
-
-    /**
-     * Set accessUrlId
-     *
-     * @param integer $accessUrlId
-     * @return EntityAccessUrlRelCourse
-     */
-    public function setAccessUrlId($accessUrlId)
-    {
-        $this->accessUrlId = $accessUrlId;
-
-        return $this;
-    }
-
-    /**
-     * Get accessUrlId
-     *
-     * @return integer 
-     */
-    public function getAccessUrlId()
-    {
-        return $this->accessUrlId;
-    }
-
-    /**
-     * Set courseCode
-     *
-     * @param string $courseCode
-     * @return EntityAccessUrlRelCourse
-     */
-    public function setCourseCode($courseCode)
-    {
-        $this->courseCode = $courseCode;
-
-        return $this;
-    }
-
-    /**
-     * Get courseCode
-     *
-     * @return string 
-     */
-    public function getCourseCode()
-    {
-        return $this->courseCode;
-    }
-}

+ 0 - 79
main/inc/Entity/EntityAccessUrlRelSession.php

@@ -1,79 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityAccessUrlRelSession
- *
- * @Table(name="access_url_rel_session")
- * @Entity
- */
-class EntityAccessUrlRelSession
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="access_url_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $accessUrlId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $sessionId;
-
-
-    /**
-     * Set accessUrlId
-     *
-     * @param integer $accessUrlId
-     * @return EntityAccessUrlRelSession
-     */
-    public function setAccessUrlId($accessUrlId)
-    {
-        $this->accessUrlId = $accessUrlId;
-
-        return $this;
-    }
-
-    /**
-     * Get accessUrlId
-     *
-     * @return integer 
-     */
-    public function getAccessUrlId()
-    {
-        return $this->accessUrlId;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityAccessUrlRelSession
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 79
main/inc/Entity/EntityAccessUrlRelUser.php

@@ -1,79 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityAccessUrlRelUser
- *
- * @Table(name="access_url_rel_user")
- * @Entity
- */
-class EntityAccessUrlRelUser
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="access_url_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $accessUrlId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-
-    /**
-     * Set accessUrlId
-     *
-     * @param integer $accessUrlId
-     * @return EntityAccessUrlRelUser
-     */
-    public function setAccessUrlId($accessUrlId)
-    {
-        $this->accessUrlId = $accessUrlId;
-
-        return $this;
-    }
-
-    /**
-     * Get accessUrlId
-     *
-     * @return integer 
-     */
-    public function getAccessUrlId()
-    {
-        return $this->accessUrlId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityAccessUrlRelUser
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-}

+ 0 - 64
main/inc/Entity/EntityAdmin.php

@@ -1,64 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityAdmin
- *
- * @Table(name="admin")
- * @Entity
- */
-class EntityAdmin
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityAdmin
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-}

+ 0 - 79
main/inc/Entity/EntityAnnouncementRelGroup.php

@@ -1,79 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityAnnouncementRelGroup
- *
- * @Table(name="announcement_rel_group")
- * @Entity
- */
-class EntityAnnouncementRelGroup
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $groupId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="announcement_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $announcementId;
-
-
-    /**
-     * Set groupId
-     *
-     * @param integer $groupId
-     * @return EntityAnnouncementRelGroup
-     */
-    public function setGroupId($groupId)
-    {
-        $this->groupId = $groupId;
-
-        return $this;
-    }
-
-    /**
-     * Get groupId
-     *
-     * @return integer 
-     */
-    public function getGroupId()
-    {
-        return $this->groupId;
-    }
-
-    /**
-     * Set announcementId
-     *
-     * @param integer $announcementId
-     * @return EntityAnnouncementRelGroup
-     */
-    public function setAnnouncementId($announcementId)
-    {
-        $this->announcementId = $announcementId;
-
-        return $this;
-    }
-
-    /**
-     * Get announcementId
-     *
-     * @return integer 
-     */
-    public function getAnnouncementId()
-    {
-        return $this->announcementId;
-    }
-}

+ 0 - 184
main/inc/Entity/EntityBlock.php

@@ -1,184 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityBlock
- *
- * @Table(name="block")
- * @Entity
- */
-class EntityBlock
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var string
-     *
-     * @Column(name="controller", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $controller;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $active;
-
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityBlock
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityBlock
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityBlock
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set controller
-     *
-     * @param string $controller
-     * @return EntityBlock
-     */
-    public function setController($controller)
-    {
-        $this->controller = $controller;
-
-        return $this;
-    }
-
-    /**
-     * Get controller
-     *
-     * @return string 
-     */
-    public function getController()
-    {
-        return $this->controller;
-    }
-
-    /**
-     * Set active
-     *
-     * @param boolean $active
-     * @return EntityBlock
-     */
-    public function setActive($active)
-    {
-        $this->active = $active;
-
-        return $this;
-    }
-
-    /**
-     * Get active
-     *
-     * @return boolean 
-     */
-    public function getActive()
-    {
-        return $this->active;
-    }
-}

+ 0 - 259
main/inc/Entity/EntityCAnnouncement.php

@@ -1,259 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAnnouncement
- *
- * @Table(name="c_announcement")
- * @Entity
- */
-class EntityCAnnouncement
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $content;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="end_date", type="date", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $endDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayOrder;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="email_sent", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $emailSent;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAnnouncement
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCAnnouncement
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCAnnouncement
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCAnnouncement
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-
-    /**
-     * Set endDate
-     *
-     * @param \DateTime $endDate
-     * @return EntityCAnnouncement
-     */
-    public function setEndDate($endDate)
-    {
-        $this->endDate = $endDate;
-
-        return $this;
-    }
-
-    /**
-     * Get endDate
-     *
-     * @return \DateTime 
-     */
-    public function getEndDate()
-    {
-        return $this->endDate;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCAnnouncement
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-
-    /**
-     * Set emailSent
-     *
-     * @param boolean $emailSent
-     * @return EntityCAnnouncement
-     */
-    public function setEmailSent($emailSent)
-    {
-        $this->emailSent = $emailSent;
-
-        return $this;
-    }
-
-    /**
-     * Get emailSent
-     *
-     * @return boolean 
-     */
-    public function getEmailSent()
-    {
-        return $this->emailSent;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCAnnouncement
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCAnnouncementAttachment.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAnnouncementAttachment
- *
- * @Table(name="c_announcement_attachment")
- * @Entity
- */
-class EntityCAnnouncementAttachment
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $size;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="announcement_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $announcementId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filename", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filename;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set size
-     *
-     * @param integer $size
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setSize($size)
-    {
-        $this->size = $size;
-
-        return $this;
-    }
-
-    /**
-     * Get size
-     *
-     * @return integer 
-     */
-    public function getSize()
-    {
-        return $this->size;
-    }
-
-    /**
-     * Set announcementId
-     *
-     * @param integer $announcementId
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setAnnouncementId($announcementId)
-    {
-        $this->announcementId = $announcementId;
-
-        return $this;
-    }
-
-    /**
-     * Get announcementId
-     *
-     * @return integer 
-     */
-    public function getAnnouncementId()
-    {
-        return $this->announcementId;
-    }
-
-    /**
-     * Set filename
-     *
-     * @param string $filename
-     * @return EntityCAnnouncementAttachment
-     */
-    public function setFilename($filename)
-    {
-        $this->filename = $filename;
-
-        return $this;
-    }
-
-    /**
-     * Get filename
-     *
-     * @return string 
-     */
-    public function getFilename()
-    {
-        return $this->filename;
-    }
-}

+ 0 - 319
main/inc/Entity/EntityCAttendance.php

@@ -1,319 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAttendance
- *
- * @Table(name="c_attendance")
- * @Entity
- */
-class EntityCAttendance
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $active;
-
-    /**
-     * @var string
-     *
-     * @Column(name="attendance_qualify_title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $attendanceQualifyTitle;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="attendance_qualify_max", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $attendanceQualifyMax;
-
-    /**
-     * @var float
-     *
-     * @Column(name="attendance_weight", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $attendanceWeight;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $locked;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAttendance
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCAttendance
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityCAttendance
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCAttendance
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set active
-     *
-     * @param boolean $active
-     * @return EntityCAttendance
-     */
-    public function setActive($active)
-    {
-        $this->active = $active;
-
-        return $this;
-    }
-
-    /**
-     * Get active
-     *
-     * @return boolean 
-     */
-    public function getActive()
-    {
-        return $this->active;
-    }
-
-    /**
-     * Set attendanceQualifyTitle
-     *
-     * @param string $attendanceQualifyTitle
-     * @return EntityCAttendance
-     */
-    public function setAttendanceQualifyTitle($attendanceQualifyTitle)
-    {
-        $this->attendanceQualifyTitle = $attendanceQualifyTitle;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceQualifyTitle
-     *
-     * @return string 
-     */
-    public function getAttendanceQualifyTitle()
-    {
-        return $this->attendanceQualifyTitle;
-    }
-
-    /**
-     * Set attendanceQualifyMax
-     *
-     * @param integer $attendanceQualifyMax
-     * @return EntityCAttendance
-     */
-    public function setAttendanceQualifyMax($attendanceQualifyMax)
-    {
-        $this->attendanceQualifyMax = $attendanceQualifyMax;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceQualifyMax
-     *
-     * @return integer 
-     */
-    public function getAttendanceQualifyMax()
-    {
-        return $this->attendanceQualifyMax;
-    }
-
-    /**
-     * Set attendanceWeight
-     *
-     * @param float $attendanceWeight
-     * @return EntityCAttendance
-     */
-    public function setAttendanceWeight($attendanceWeight)
-    {
-        $this->attendanceWeight = $attendanceWeight;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceWeight
-     *
-     * @return float 
-     */
-    public function getAttendanceWeight()
-    {
-        return $this->attendanceWeight;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCAttendance
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set locked
-     *
-     * @param integer $locked
-     * @return EntityCAttendance
-     */
-    public function setLocked($locked)
-    {
-        $this->locked = $locked;
-
-        return $this;
-    }
-
-    /**
-     * Get locked
-     *
-     * @return integer 
-     */
-    public function getLocked()
-    {
-        return $this->locked;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCAttendanceCalendar.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAttendanceCalendar
- *
- * @Table(name="c_attendance_calendar")
- * @Entity
- */
-class EntityCAttendanceCalendar
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="attendance_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $attendanceId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="date_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $dateTime;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="done_attendance", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $doneAttendance;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAttendanceCalendar
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCAttendanceCalendar
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set attendanceId
-     *
-     * @param integer $attendanceId
-     * @return EntityCAttendanceCalendar
-     */
-    public function setAttendanceId($attendanceId)
-    {
-        $this->attendanceId = $attendanceId;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceId
-     *
-     * @return integer 
-     */
-    public function getAttendanceId()
-    {
-        return $this->attendanceId;
-    }
-
-    /**
-     * Set dateTime
-     *
-     * @param \DateTime $dateTime
-     * @return EntityCAttendanceCalendar
-     */
-    public function setDateTime($dateTime)
-    {
-        $this->dateTime = $dateTime;
-
-        return $this;
-    }
-
-    /**
-     * Get dateTime
-     *
-     * @return \DateTime 
-     */
-    public function getDateTime()
-    {
-        return $this->dateTime;
-    }
-
-    /**
-     * Set doneAttendance
-     *
-     * @param boolean $doneAttendance
-     * @return EntityCAttendanceCalendar
-     */
-    public function setDoneAttendance($doneAttendance)
-    {
-        $this->doneAttendance = $doneAttendance;
-
-        return $this;
-    }
-
-    /**
-     * Get doneAttendance
-     *
-     * @return boolean 
-     */
-    public function getDoneAttendance()
-    {
-        return $this->doneAttendance;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCAttendanceResult.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAttendanceResult
- *
- * @Table(name="c_attendance_result")
- * @Entity
- */
-class EntityCAttendanceResult
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="attendance_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $attendanceId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="score", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $score;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAttendanceResult
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCAttendanceResult
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCAttendanceResult
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set attendanceId
-     *
-     * @param integer $attendanceId
-     * @return EntityCAttendanceResult
-     */
-    public function setAttendanceId($attendanceId)
-    {
-        $this->attendanceId = $attendanceId;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceId
-     *
-     * @return integer 
-     */
-    public function getAttendanceId()
-    {
-        return $this->attendanceId;
-    }
-
-    /**
-     * Set score
-     *
-     * @param integer $score
-     * @return EntityCAttendanceResult
-     */
-    public function setScore($score)
-    {
-        $this->score = $score;
-
-        return $this;
-    }
-
-    /**
-     * Get score
-     *
-     * @return integer 
-     */
-    public function getScore()
-    {
-        return $this->score;
-    }
-}

+ 0 - 141
main/inc/Entity/EntityCAttendanceSheet.php

@@ -1,141 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAttendanceSheet
- *
- * @Table(name="c_attendance_sheet")
- * @Entity
- */
-class EntityCAttendanceSheet
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="attendance_calendar_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $attendanceCalendarId;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="presence", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $presence;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAttendanceSheet
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCAttendanceSheet
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set attendanceCalendarId
-     *
-     * @param integer $attendanceCalendarId
-     * @return EntityCAttendanceSheet
-     */
-    public function setAttendanceCalendarId($attendanceCalendarId)
-    {
-        $this->attendanceCalendarId = $attendanceCalendarId;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceCalendarId
-     *
-     * @return integer 
-     */
-    public function getAttendanceCalendarId()
-    {
-        return $this->attendanceCalendarId;
-    }
-
-    /**
-     * Set presence
-     *
-     * @param boolean $presence
-     * @return EntityCAttendanceSheet
-     */
-    public function setPresence($presence)
-    {
-        $this->presence = $presence;
-
-        return $this;
-    }
-
-    /**
-     * Get presence
-     *
-     * @return boolean 
-     */
-    public function getPresence()
-    {
-        return $this->presence;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCAttendanceSheetLog.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCAttendanceSheetLog
- *
- * @Table(name="c_attendance_sheet_log")
- * @Entity
- */
-class EntityCAttendanceSheetLog
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="attendance_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $attendanceId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="lastedit_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lasteditDate;
-
-    /**
-     * @var string
-     *
-     * @Column(name="lastedit_type", type="string", length=200, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lasteditType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lastedit_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lasteditUserId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="calendar_date_value", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $calendarDateValue;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set attendanceId
-     *
-     * @param integer $attendanceId
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setAttendanceId($attendanceId)
-    {
-        $this->attendanceId = $attendanceId;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceId
-     *
-     * @return integer 
-     */
-    public function getAttendanceId()
-    {
-        return $this->attendanceId;
-    }
-
-    /**
-     * Set lasteditDate
-     *
-     * @param \DateTime $lasteditDate
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setLasteditDate($lasteditDate)
-    {
-        $this->lasteditDate = $lasteditDate;
-
-        return $this;
-    }
-
-    /**
-     * Get lasteditDate
-     *
-     * @return \DateTime 
-     */
-    public function getLasteditDate()
-    {
-        return $this->lasteditDate;
-    }
-
-    /**
-     * Set lasteditType
-     *
-     * @param string $lasteditType
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setLasteditType($lasteditType)
-    {
-        $this->lasteditType = $lasteditType;
-
-        return $this;
-    }
-
-    /**
-     * Get lasteditType
-     *
-     * @return string 
-     */
-    public function getLasteditType()
-    {
-        return $this->lasteditType;
-    }
-
-    /**
-     * Set lasteditUserId
-     *
-     * @param integer $lasteditUserId
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setLasteditUserId($lasteditUserId)
-    {
-        $this->lasteditUserId = $lasteditUserId;
-
-        return $this;
-    }
-
-    /**
-     * Get lasteditUserId
-     *
-     * @return integer 
-     */
-    public function getLasteditUserId()
-    {
-        return $this->lasteditUserId;
-    }
-
-    /**
-     * Set calendarDateValue
-     *
-     * @param \DateTime $calendarDateValue
-     * @return EntityCAttendanceSheetLog
-     */
-    public function setCalendarDateValue($calendarDateValue)
-    {
-        $this->calendarDateValue = $calendarDateValue;
-
-        return $this;
-    }
-
-    /**
-     * Get calendarDateValue
-     *
-     * @return \DateTime 
-     */
-    public function getCalendarDateValue()
-    {
-        return $this->calendarDateValue;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCBlog.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlog
- *
- * @Table(name="c_blog")
- * @Entity
- */
-class EntityCBlog
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $blogId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="blog_name", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $blogName;
-
-    /**
-     * @var string
-     *
-     * @Column(name="blog_subtitle", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $blogSubtitle;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="date_creation", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $dateCreation;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $visibility;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlog
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlog
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set blogName
-     *
-     * @param string $blogName
-     * @return EntityCBlog
-     */
-    public function setBlogName($blogName)
-    {
-        $this->blogName = $blogName;
-
-        return $this;
-    }
-
-    /**
-     * Get blogName
-     *
-     * @return string 
-     */
-    public function getBlogName()
-    {
-        return $this->blogName;
-    }
-
-    /**
-     * Set blogSubtitle
-     *
-     * @param string $blogSubtitle
-     * @return EntityCBlog
-     */
-    public function setBlogSubtitle($blogSubtitle)
-    {
-        $this->blogSubtitle = $blogSubtitle;
-
-        return $this;
-    }
-
-    /**
-     * Get blogSubtitle
-     *
-     * @return string 
-     */
-    public function getBlogSubtitle()
-    {
-        return $this->blogSubtitle;
-    }
-
-    /**
-     * Set dateCreation
-     *
-     * @param \DateTime $dateCreation
-     * @return EntityCBlog
-     */
-    public function setDateCreation($dateCreation)
-    {
-        $this->dateCreation = $dateCreation;
-
-        return $this;
-    }
-
-    /**
-     * Get dateCreation
-     *
-     * @return \DateTime 
-     */
-    public function getDateCreation()
-    {
-        return $this->dateCreation;
-    }
-
-    /**
-     * Set visibility
-     *
-     * @param boolean $visibility
-     * @return EntityCBlog
-     */
-    public function setVisibility($visibility)
-    {
-        $this->visibility = $visibility;
-
-        return $this;
-    }
-
-    /**
-     * Get visibility
-     *
-     * @return boolean 
-     */
-    public function getVisibility()
-    {
-        return $this->visibility;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCBlog
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 289
main/inc/Entity/EntityCBlogAttachment.php

@@ -1,289 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogAttachment
- *
- * @Table(name="c_blog_attachment")
- * @Entity
- */
-class EntityCBlogAttachment
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $size;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $postId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filename", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filename;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $blogId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="comment_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $commentId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogAttachment
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCBlogAttachment
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityCBlogAttachment
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCBlogAttachment
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set size
-     *
-     * @param integer $size
-     * @return EntityCBlogAttachment
-     */
-    public function setSize($size)
-    {
-        $this->size = $size;
-
-        return $this;
-    }
-
-    /**
-     * Get size
-     *
-     * @return integer 
-     */
-    public function getSize()
-    {
-        return $this->size;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCBlogAttachment
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-
-    /**
-     * Set filename
-     *
-     * @param string $filename
-     * @return EntityCBlogAttachment
-     */
-    public function setFilename($filename)
-    {
-        $this->filename = $filename;
-
-        return $this;
-    }
-
-    /**
-     * Get filename
-     *
-     * @return string 
-     */
-    public function getFilename()
-    {
-        return $this->filename;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogAttachment
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set commentId
-     *
-     * @param integer $commentId
-     * @return EntityCBlogAttachment
-     */
-    public function setCommentId($commentId)
-    {
-        $this->commentId = $commentId;
-
-        return $this;
-    }
-
-    /**
-     * Get commentId
-     *
-     * @return integer 
-     */
-    public function getCommentId()
-    {
-        return $this->commentId;
-    }
-}

+ 0 - 319
main/inc/Entity/EntityCBlogComment.php

@@ -1,319 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogComment
- *
- * @Table(name="c_blog_comment")
- * @Entity
- */
-class EntityCBlogComment
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="comment_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $commentId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="author_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $authorId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="date_creation", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $dateCreation;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $blogId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $postId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="task_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $taskId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="parent_comment_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $parentCommentId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogComment
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set commentId
-     *
-     * @param integer $commentId
-     * @return EntityCBlogComment
-     */
-    public function setCommentId($commentId)
-    {
-        $this->commentId = $commentId;
-
-        return $this;
-    }
-
-    /**
-     * Get commentId
-     *
-     * @return integer 
-     */
-    public function getCommentId()
-    {
-        return $this->commentId;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCBlogComment
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCBlogComment
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set authorId
-     *
-     * @param integer $authorId
-     * @return EntityCBlogComment
-     */
-    public function setAuthorId($authorId)
-    {
-        $this->authorId = $authorId;
-
-        return $this;
-    }
-
-    /**
-     * Get authorId
-     *
-     * @return integer 
-     */
-    public function getAuthorId()
-    {
-        return $this->authorId;
-    }
-
-    /**
-     * Set dateCreation
-     *
-     * @param \DateTime $dateCreation
-     * @return EntityCBlogComment
-     */
-    public function setDateCreation($dateCreation)
-    {
-        $this->dateCreation = $dateCreation;
-
-        return $this;
-    }
-
-    /**
-     * Get dateCreation
-     *
-     * @return \DateTime 
-     */
-    public function getDateCreation()
-    {
-        return $this->dateCreation;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogComment
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCBlogComment
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-
-    /**
-     * Set taskId
-     *
-     * @param integer $taskId
-     * @return EntityCBlogComment
-     */
-    public function setTaskId($taskId)
-    {
-        $this->taskId = $taskId;
-
-        return $this;
-    }
-
-    /**
-     * Get taskId
-     *
-     * @return integer 
-     */
-    public function getTaskId()
-    {
-        return $this->taskId;
-    }
-
-    /**
-     * Set parentCommentId
-     *
-     * @param integer $parentCommentId
-     * @return EntityCBlogComment
-     */
-    public function setParentCommentId($parentCommentId)
-    {
-        $this->parentCommentId = $parentCommentId;
-
-        return $this;
-    }
-
-    /**
-     * Get parentCommentId
-     *
-     * @return integer 
-     */
-    public function getParentCommentId()
-    {
-        return $this->parentCommentId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCBlogPost.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogPost
- *
- * @Table(name="c_blog_post")
- * @Entity
- */
-class EntityCBlogPost
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $postId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="full_text", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $fullText;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="date_creation", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $dateCreation;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $blogId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="author_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $authorId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogPost
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCBlogPost
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCBlogPost
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set fullText
-     *
-     * @param string $fullText
-     * @return EntityCBlogPost
-     */
-    public function setFullText($fullText)
-    {
-        $this->fullText = $fullText;
-
-        return $this;
-    }
-
-    /**
-     * Get fullText
-     *
-     * @return string 
-     */
-    public function getFullText()
-    {
-        return $this->fullText;
-    }
-
-    /**
-     * Set dateCreation
-     *
-     * @param \DateTime $dateCreation
-     * @return EntityCBlogPost
-     */
-    public function setDateCreation($dateCreation)
-    {
-        $this->dateCreation = $dateCreation;
-
-        return $this;
-    }
-
-    /**
-     * Get dateCreation
-     *
-     * @return \DateTime 
-     */
-    public function getDateCreation()
-    {
-        return $this->dateCreation;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogPost
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set authorId
-     *
-     * @param integer $authorId
-     * @return EntityCBlogPost
-     */
-    public function setAuthorId($authorId)
-    {
-        $this->authorId = $authorId;
-
-        return $this;
-    }
-
-    /**
-     * Get authorId
-     *
-     * @return integer 
-     */
-    public function getAuthorId()
-    {
-        return $this->authorId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCBlogRating.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogRating
- *
- * @Table(name="c_blog_rating")
- * @Entity
- */
-class EntityCBlogRating
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="rating_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $ratingId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $blogId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="rating_type", type="string", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $ratingType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $itemId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="rating", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $rating;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogRating
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set ratingId
-     *
-     * @param integer $ratingId
-     * @return EntityCBlogRating
-     */
-    public function setRatingId($ratingId)
-    {
-        $this->ratingId = $ratingId;
-
-        return $this;
-    }
-
-    /**
-     * Get ratingId
-     *
-     * @return integer 
-     */
-    public function getRatingId()
-    {
-        return $this->ratingId;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogRating
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set ratingType
-     *
-     * @param string $ratingType
-     * @return EntityCBlogRating
-     */
-    public function setRatingType($ratingType)
-    {
-        $this->ratingType = $ratingType;
-
-        return $this;
-    }
-
-    /**
-     * Get ratingType
-     *
-     * @return string 
-     */
-    public function getRatingType()
-    {
-        return $this->ratingType;
-    }
-
-    /**
-     * Set itemId
-     *
-     * @param integer $itemId
-     * @return EntityCBlogRating
-     */
-    public function setItemId($itemId)
-    {
-        $this->itemId = $itemId;
-
-        return $this;
-    }
-
-    /**
-     * Get itemId
-     *
-     * @return integer 
-     */
-    public function getItemId()
-    {
-        return $this->itemId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCBlogRating
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set rating
-     *
-     * @param integer $rating
-     * @return EntityCBlogRating
-     */
-    public function setRating($rating)
-    {
-        $this->rating = $rating;
-
-        return $this;
-    }
-
-    /**
-     * Get rating
-     *
-     * @return integer 
-     */
-    public function getRating()
-    {
-        return $this->rating;
-    }
-}

+ 0 - 111
main/inc/Entity/EntityCBlogRelUser.php

@@ -1,111 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogRelUser
- *
- * @Table(name="c_blog_rel_user")
- * @Entity
- */
-class EntityCBlogRelUser
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $blogId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogRelUser
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogRelUser
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCBlogRelUser
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCBlogTask.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogTask
- *
- * @Table(name="c_blog_task")
- * @Entity
- */
-class EntityCBlogTask
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="task_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $taskId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $blogId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var string
-     *
-     * @Column(name="color", type="string", length=10, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $color;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="system_task", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $systemTask;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogTask
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set taskId
-     *
-     * @param integer $taskId
-     * @return EntityCBlogTask
-     */
-    public function setTaskId($taskId)
-    {
-        $this->taskId = $taskId;
-
-        return $this;
-    }
-
-    /**
-     * Get taskId
-     *
-     * @return integer 
-     */
-    public function getTaskId()
-    {
-        return $this->taskId;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogTask
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCBlogTask
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCBlogTask
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set color
-     *
-     * @param string $color
-     * @return EntityCBlogTask
-     */
-    public function setColor($color)
-    {
-        $this->color = $color;
-
-        return $this;
-    }
-
-    /**
-     * Get color
-     *
-     * @return string 
-     */
-    public function getColor()
-    {
-        return $this->color;
-    }
-
-    /**
-     * Set systemTask
-     *
-     * @param boolean $systemTask
-     * @return EntityCBlogTask
-     */
-    public function setSystemTask($systemTask)
-    {
-        $this->systemTask = $systemTask;
-
-        return $this;
-    }
-
-    /**
-     * Get systemTask
-     *
-     * @return boolean 
-     */
-    public function getSystemTask()
-    {
-        return $this->systemTask;
-    }
-}

+ 0 - 173
main/inc/Entity/EntityCBlogTaskRelUser.php

@@ -1,173 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCBlogTaskRelUser
- *
- * @Table(name="c_blog_task_rel_user")
- * @Entity
- */
-class EntityCBlogTaskRelUser
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $blogId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="task_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $taskId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="target_date", type="date", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $targetDate;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCBlogTaskRelUser
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set blogId
-     *
-     * @param integer $blogId
-     * @return EntityCBlogTaskRelUser
-     */
-    public function setBlogId($blogId)
-    {
-        $this->blogId = $blogId;
-
-        return $this;
-    }
-
-    /**
-     * Get blogId
-     *
-     * @return integer 
-     */
-    public function getBlogId()
-    {
-        return $this->blogId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCBlogTaskRelUser
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set taskId
-     *
-     * @param integer $taskId
-     * @return EntityCBlogTaskRelUser
-     */
-    public function setTaskId($taskId)
-    {
-        $this->taskId = $taskId;
-
-        return $this;
-    }
-
-    /**
-     * Get taskId
-     *
-     * @return integer 
-     */
-    public function getTaskId()
-    {
-        return $this->taskId;
-    }
-
-    /**
-     * Set targetDate
-     *
-     * @param \DateTime $targetDate
-     * @return EntityCBlogTaskRelUser
-     */
-    public function setTargetDate($targetDate)
-    {
-        $this->targetDate = $targetDate;
-
-        return $this;
-    }
-
-    /**
-     * Get targetDate
-     *
-     * @return \DateTime 
-     */
-    public function getTargetDate()
-    {
-        return $this->targetDate;
-    }
-}

+ 0 - 289
main/inc/Entity/EntityCCalendarEvent.php

@@ -1,289 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCCalendarEvent
- *
- * @Table(name="c_calendar_event")
- * @Entity
- */
-class EntityCCalendarEvent
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $content;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="start_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $startDate;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="end_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $endDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="parent_event_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $parentEventId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="all_day", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $allDay;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCCalendarEvent
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCCalendarEvent
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCCalendarEvent
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCCalendarEvent
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-
-    /**
-     * Set startDate
-     *
-     * @param \DateTime $startDate
-     * @return EntityCCalendarEvent
-     */
-    public function setStartDate($startDate)
-    {
-        $this->startDate = $startDate;
-
-        return $this;
-    }
-
-    /**
-     * Get startDate
-     *
-     * @return \DateTime 
-     */
-    public function getStartDate()
-    {
-        return $this->startDate;
-    }
-
-    /**
-     * Set endDate
-     *
-     * @param \DateTime $endDate
-     * @return EntityCCalendarEvent
-     */
-    public function setEndDate($endDate)
-    {
-        $this->endDate = $endDate;
-
-        return $this;
-    }
-
-    /**
-     * Get endDate
-     *
-     * @return \DateTime 
-     */
-    public function getEndDate()
-    {
-        return $this->endDate;
-    }
-
-    /**
-     * Set parentEventId
-     *
-     * @param integer $parentEventId
-     * @return EntityCCalendarEvent
-     */
-    public function setParentEventId($parentEventId)
-    {
-        $this->parentEventId = $parentEventId;
-
-        return $this;
-    }
-
-    /**
-     * Get parentEventId
-     *
-     * @return integer 
-     */
-    public function getParentEventId()
-    {
-        return $this->parentEventId;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCCalendarEvent
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set allDay
-     *
-     * @param integer $allDay
-     * @return EntityCCalendarEvent
-     */
-    public function setAllDay($allDay)
-    {
-        $this->allDay = $allDay;
-
-        return $this;
-    }
-
-    /**
-     * Get allDay
-     *
-     * @return integer 
-     */
-    public function getAllDay()
-    {
-        return $this->allDay;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCCalendarEventAttachment.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCCalendarEventAttachment
- *
- * @Table(name="c_calendar_event_attachment")
- * @Entity
- */
-class EntityCCalendarEventAttachment
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $size;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="agenda_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $agendaId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filename", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filename;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set size
-     *
-     * @param integer $size
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setSize($size)
-    {
-        $this->size = $size;
-
-        return $this;
-    }
-
-    /**
-     * Get size
-     *
-     * @return integer 
-     */
-    public function getSize()
-    {
-        return $this->size;
-    }
-
-    /**
-     * Set agendaId
-     *
-     * @param integer $agendaId
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setAgendaId($agendaId)
-    {
-        $this->agendaId = $agendaId;
-
-        return $this;
-    }
-
-    /**
-     * Get agendaId
-     *
-     * @return integer 
-     */
-    public function getAgendaId()
-    {
-        return $this->agendaId;
-    }
-
-    /**
-     * Set filename
-     *
-     * @param string $filename
-     * @return EntityCCalendarEventAttachment
-     */
-    public function setFilename($filename)
-    {
-        $this->filename = $filename;
-
-        return $this;
-    }
-
-    /**
-     * Get filename
-     *
-     * @return string 
-     */
-    public function getFilename()
-    {
-        return $this->filename;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCCalendarEventRepeat.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCCalendarEventRepeat
- *
- * @Table(name="c_calendar_event_repeat")
- * @Entity
- */
-class EntityCCalendarEventRepeat
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cal_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $calId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="cal_type", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $calType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cal_end", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $calEnd;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cal_frequency", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $calFrequency;
-
-    /**
-     * @var string
-     *
-     * @Column(name="cal_days", type="string", length=7, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $calDays;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCCalendarEventRepeat
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set calId
-     *
-     * @param integer $calId
-     * @return EntityCCalendarEventRepeat
-     */
-    public function setCalId($calId)
-    {
-        $this->calId = $calId;
-
-        return $this;
-    }
-
-    /**
-     * Get calId
-     *
-     * @return integer 
-     */
-    public function getCalId()
-    {
-        return $this->calId;
-    }
-
-    /**
-     * Set calType
-     *
-     * @param string $calType
-     * @return EntityCCalendarEventRepeat
-     */
-    public function setCalType($calType)
-    {
-        $this->calType = $calType;
-
-        return $this;
-    }
-
-    /**
-     * Get calType
-     *
-     * @return string 
-     */
-    public function getCalType()
-    {
-        return $this->calType;
-    }
-
-    /**
-     * Set calEnd
-     *
-     * @param integer $calEnd
-     * @return EntityCCalendarEventRepeat
-     */
-    public function setCalEnd($calEnd)
-    {
-        $this->calEnd = $calEnd;
-
-        return $this;
-    }
-
-    /**
-     * Get calEnd
-     *
-     * @return integer 
-     */
-    public function getCalEnd()
-    {
-        return $this->calEnd;
-    }
-
-    /**
-     * Set calFrequency
-     *
-     * @param integer $calFrequency
-     * @return EntityCCalendarEventRepeat
-     */
-    public function setCalFrequency($calFrequency)
-    {
-        $this->calFrequency = $calFrequency;
-
-        return $this;
-    }
-
-    /**
-     * Get calFrequency
-     *
-     * @return integer 
-     */
-    public function getCalFrequency()
-    {
-        return $this->calFrequency;
-    }
-
-    /**
-     * Set calDays
-     *
-     * @param string $calDays
-     * @return EntityCCalendarEventRepeat
-     */
-    public function setCalDays($calDays)
-    {
-        $this->calDays = $calDays;
-
-        return $this;
-    }
-
-    /**
-     * Get calDays
-     *
-     * @return string 
-     */
-    public function getCalDays()
-    {
-        return $this->calDays;
-    }
-}

+ 0 - 111
main/inc/Entity/EntityCCalendarEventRepeatNot.php

@@ -1,111 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCCalendarEventRepeatNot
- *
- * @Table(name="c_calendar_event_repeat_not")
- * @Entity
- */
-class EntityCCalendarEventRepeatNot
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cal_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $calId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cal_date", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $calDate;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCCalendarEventRepeatNot
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set calId
-     *
-     * @param integer $calId
-     * @return EntityCCalendarEventRepeatNot
-     */
-    public function setCalId($calId)
-    {
-        $this->calId = $calId;
-
-        return $this;
-    }
-
-    /**
-     * Get calId
-     *
-     * @return integer 
-     */
-    public function getCalId()
-    {
-        return $this->calId;
-    }
-
-    /**
-     * Set calDate
-     *
-     * @param integer $calDate
-     * @return EntityCCalendarEventRepeatNot
-     */
-    public function setCalDate($calDate)
-    {
-        $this->calDate = $calDate;
-
-        return $this;
-    }
-
-    /**
-     * Get calDate
-     *
-     * @return integer 
-     */
-    public function getCalDate()
-    {
-        return $this->calDate;
-    }
-}

+ 0 - 203
main/inc/Entity/EntityCChatConnected.php

@@ -1,203 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCChatConnected
- *
- * @Table(name="c_chat_connected")
- * @Entity
- */
-class EntityCChatConnected
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="last_connection", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $lastConnection;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="to_group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $toGroupId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCChatConnected
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCChatConnected
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCChatConnected
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set lastConnection
-     *
-     * @param \DateTime $lastConnection
-     * @return EntityCChatConnected
-     */
-    public function setLastConnection($lastConnection)
-    {
-        $this->lastConnection = $lastConnection;
-
-        return $this;
-    }
-
-    /**
-     * Get lastConnection
-     *
-     * @return \DateTime 
-     */
-    public function getLastConnection()
-    {
-        return $this->lastConnection;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCChatConnected
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set toGroupId
-     *
-     * @param integer $toGroupId
-     * @return EntityCChatConnected
-     */
-    public function setToGroupId($toGroupId)
-    {
-        $this->toGroupId = $toGroupId;
-
-        return $this;
-    }
-
-    /**
-     * Get toGroupId
-     *
-     * @return integer 
-     */
-    public function getToGroupId()
-    {
-        return $this->toGroupId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCCourseDescription.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCCourseDescription
- *
- * @Table(name="c_course_description")
- * @Entity
- */
-class EntityCCourseDescription
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $content;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="description_type", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $descriptionType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="progress", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $progress;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCCourseDescription
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCCourseDescription
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCCourseDescription
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCCourseDescription
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCCourseDescription
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set descriptionType
-     *
-     * @param boolean $descriptionType
-     * @return EntityCCourseDescription
-     */
-    public function setDescriptionType($descriptionType)
-    {
-        $this->descriptionType = $descriptionType;
-
-        return $this;
-    }
-
-    /**
-     * Get descriptionType
-     *
-     * @return boolean 
-     */
-    public function getDescriptionType()
-    {
-        return $this->descriptionType;
-    }
-
-    /**
-     * Set progress
-     *
-     * @param integer $progress
-     * @return EntityCCourseDescription
-     */
-    public function setProgress($progress)
-    {
-        $this->progress = $progress;
-
-        return $this;
-    }
-
-    /**
-     * Get progress
-     *
-     * @return integer 
-     */
-    public function getProgress()
-    {
-        return $this->progress;
-    }
-}

+ 0 - 319
main/inc/Entity/EntityCCourseSetting.php

@@ -1,319 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCCourseSetting
- *
- * @Table(name="c_course_setting")
- * @Entity
- */
-class EntityCCourseSetting
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="variable", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $variable;
-
-    /**
-     * @var string
-     *
-     * @Column(name="subkey", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $subkey;
-
-    /**
-     * @var string
-     *
-     * @Column(name="type", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $type;
-
-    /**
-     * @var string
-     *
-     * @Column(name="category", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $category;
-
-    /**
-     * @var string
-     *
-     * @Column(name="value", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $value;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var string
-     *
-     * @Column(name="subkeytext", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $subkeytext;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCCourseSetting
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCCourseSetting
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set variable
-     *
-     * @param string $variable
-     * @return EntityCCourseSetting
-     */
-    public function setVariable($variable)
-    {
-        $this->variable = $variable;
-
-        return $this;
-    }
-
-    /**
-     * Get variable
-     *
-     * @return string 
-     */
-    public function getVariable()
-    {
-        return $this->variable;
-    }
-
-    /**
-     * Set subkey
-     *
-     * @param string $subkey
-     * @return EntityCCourseSetting
-     */
-    public function setSubkey($subkey)
-    {
-        $this->subkey = $subkey;
-
-        return $this;
-    }
-
-    /**
-     * Get subkey
-     *
-     * @return string 
-     */
-    public function getSubkey()
-    {
-        return $this->subkey;
-    }
-
-    /**
-     * Set type
-     *
-     * @param string $type
-     * @return EntityCCourseSetting
-     */
-    public function setType($type)
-    {
-        $this->type = $type;
-
-        return $this;
-    }
-
-    /**
-     * Get type
-     *
-     * @return string 
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-
-    /**
-     * Set category
-     *
-     * @param string $category
-     * @return EntityCCourseSetting
-     */
-    public function setCategory($category)
-    {
-        $this->category = $category;
-
-        return $this;
-    }
-
-    /**
-     * Get category
-     *
-     * @return string 
-     */
-    public function getCategory()
-    {
-        return $this->category;
-    }
-
-    /**
-     * Set value
-     *
-     * @param string $value
-     * @return EntityCCourseSetting
-     */
-    public function setValue($value)
-    {
-        $this->value = $value;
-
-        return $this;
-    }
-
-    /**
-     * Get value
-     *
-     * @return string 
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCCourseSetting
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCCourseSetting
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set subkeytext
-     *
-     * @param string $subkeytext
-     * @return EntityCCourseSetting
-     */
-    public function setSubkeytext($subkeytext)
-    {
-        $this->subkeytext = $subkeytext;
-
-        return $this;
-    }
-
-    /**
-     * Get subkeytext
-     *
-     * @return string 
-     */
-    public function getSubkeytext()
-    {
-        return $this->subkeytext;
-    }
-}

+ 0 - 289
main/inc/Entity/EntityCDocument.php

@@ -1,289 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCDocument
- *
- * @Table(name="c_document")
- * @Entity
- */
-class EntityCDocument
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filetype", type="string", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filetype;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $size;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="readonly", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $readonly;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCDocument
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCDocument
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityCDocument
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCDocument
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCDocument
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set filetype
-     *
-     * @param string $filetype
-     * @return EntityCDocument
-     */
-    public function setFiletype($filetype)
-    {
-        $this->filetype = $filetype;
-
-        return $this;
-    }
-
-    /**
-     * Get filetype
-     *
-     * @return string 
-     */
-    public function getFiletype()
-    {
-        return $this->filetype;
-    }
-
-    /**
-     * Set size
-     *
-     * @param integer $size
-     * @return EntityCDocument
-     */
-    public function setSize($size)
-    {
-        $this->size = $size;
-
-        return $this;
-    }
-
-    /**
-     * Get size
-     *
-     * @return integer 
-     */
-    public function getSize()
-    {
-        return $this->size;
-    }
-
-    /**
-     * Set readonly
-     *
-     * @param boolean $readonly
-     * @return EntityCDocument
-     */
-    public function setReadonly($readonly)
-    {
-        $this->readonly = $readonly;
-
-        return $this;
-    }
-
-    /**
-     * Get readonly
-     *
-     * @return boolean 
-     */
-    public function getReadonly()
-    {
-        return $this->readonly;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCDocument
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCDropboxCategory.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCDropboxCategory
- *
- * @Table(name="c_dropbox_category")
- * @Entity
- */
-class EntityCDropboxCategory
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cat_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $catId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="cat_name", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $catName;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="received", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $received;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="sent", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sent;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCDropboxCategory
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set catId
-     *
-     * @param integer $catId
-     * @return EntityCDropboxCategory
-     */
-    public function setCatId($catId)
-    {
-        $this->catId = $catId;
-
-        return $this;
-    }
-
-    /**
-     * Get catId
-     *
-     * @return integer 
-     */
-    public function getCatId()
-    {
-        return $this->catId;
-    }
-
-    /**
-     * Set catName
-     *
-     * @param string $catName
-     * @return EntityCDropboxCategory
-     */
-    public function setCatName($catName)
-    {
-        $this->catName = $catName;
-
-        return $this;
-    }
-
-    /**
-     * Get catName
-     *
-     * @return string 
-     */
-    public function getCatName()
-    {
-        return $this->catName;
-    }
-
-    /**
-     * Set received
-     *
-     * @param boolean $received
-     * @return EntityCDropboxCategory
-     */
-    public function setReceived($received)
-    {
-        $this->received = $received;
-
-        return $this;
-    }
-
-    /**
-     * Get received
-     *
-     * @return boolean 
-     */
-    public function getReceived()
-    {
-        return $this->received;
-    }
-
-    /**
-     * Set sent
-     *
-     * @param boolean $sent
-     * @return EntityCDropboxCategory
-     */
-    public function setSent($sent)
-    {
-        $this->sent = $sent;
-
-        return $this;
-    }
-
-    /**
-     * Get sent
-     *
-     * @return boolean 
-     */
-    public function getSent()
-    {
-        return $this->sent;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCDropboxCategory
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCDropboxCategory
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCDropboxFeedback.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCDropboxFeedback
- *
- * @Table(name="c_dropbox_feedback")
- * @Entity
- */
-class EntityCDropboxFeedback
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="feedback_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $feedbackId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="file_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $fileId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="author_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $authorUserId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="feedback", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedback;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="feedback_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedbackDate;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCDropboxFeedback
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set feedbackId
-     *
-     * @param integer $feedbackId
-     * @return EntityCDropboxFeedback
-     */
-    public function setFeedbackId($feedbackId)
-    {
-        $this->feedbackId = $feedbackId;
-
-        return $this;
-    }
-
-    /**
-     * Get feedbackId
-     *
-     * @return integer 
-     */
-    public function getFeedbackId()
-    {
-        return $this->feedbackId;
-    }
-
-    /**
-     * Set fileId
-     *
-     * @param integer $fileId
-     * @return EntityCDropboxFeedback
-     */
-    public function setFileId($fileId)
-    {
-        $this->fileId = $fileId;
-
-        return $this;
-    }
-
-    /**
-     * Get fileId
-     *
-     * @return integer 
-     */
-    public function getFileId()
-    {
-        return $this->fileId;
-    }
-
-    /**
-     * Set authorUserId
-     *
-     * @param integer $authorUserId
-     * @return EntityCDropboxFeedback
-     */
-    public function setAuthorUserId($authorUserId)
-    {
-        $this->authorUserId = $authorUserId;
-
-        return $this;
-    }
-
-    /**
-     * Get authorUserId
-     *
-     * @return integer 
-     */
-    public function getAuthorUserId()
-    {
-        return $this->authorUserId;
-    }
-
-    /**
-     * Set feedback
-     *
-     * @param string $feedback
-     * @return EntityCDropboxFeedback
-     */
-    public function setFeedback($feedback)
-    {
-        $this->feedback = $feedback;
-
-        return $this;
-    }
-
-    /**
-     * Get feedback
-     *
-     * @return string 
-     */
-    public function getFeedback()
-    {
-        return $this->feedback;
-    }
-
-    /**
-     * Set feedbackDate
-     *
-     * @param \DateTime $feedbackDate
-     * @return EntityCDropboxFeedback
-     */
-    public function setFeedbackDate($feedbackDate)
-    {
-        $this->feedbackDate = $feedbackDate;
-
-        return $this;
-    }
-
-    /**
-     * Get feedbackDate
-     *
-     * @return \DateTime 
-     */
-    public function getFeedbackDate()
-    {
-        return $this->feedbackDate;
-    }
-}

+ 0 - 379
main/inc/Entity/EntityCDropboxFile.php

@@ -1,379 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCDropboxFile
- *
- * @Table(name="c_dropbox_file")
- * @Entity
- */
-class EntityCDropboxFile
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="uploader_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $uploaderId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filename", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filename;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="filesize", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filesize;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var string
-     *
-     * @Column(name="author", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $author;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="upload_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $uploadDate;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="last_upload_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lastUploadDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cat_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $catId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCDropboxFile
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCDropboxFile
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set uploaderId
-     *
-     * @param integer $uploaderId
-     * @return EntityCDropboxFile
-     */
-    public function setUploaderId($uploaderId)
-    {
-        $this->uploaderId = $uploaderId;
-
-        return $this;
-    }
-
-    /**
-     * Get uploaderId
-     *
-     * @return integer 
-     */
-    public function getUploaderId()
-    {
-        return $this->uploaderId;
-    }
-
-    /**
-     * Set filename
-     *
-     * @param string $filename
-     * @return EntityCDropboxFile
-     */
-    public function setFilename($filename)
-    {
-        $this->filename = $filename;
-
-        return $this;
-    }
-
-    /**
-     * Get filename
-     *
-     * @return string 
-     */
-    public function getFilename()
-    {
-        return $this->filename;
-    }
-
-    /**
-     * Set filesize
-     *
-     * @param integer $filesize
-     * @return EntityCDropboxFile
-     */
-    public function setFilesize($filesize)
-    {
-        $this->filesize = $filesize;
-
-        return $this;
-    }
-
-    /**
-     * Get filesize
-     *
-     * @return integer 
-     */
-    public function getFilesize()
-    {
-        return $this->filesize;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCDropboxFile
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCDropboxFile
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set author
-     *
-     * @param string $author
-     * @return EntityCDropboxFile
-     */
-    public function setAuthor($author)
-    {
-        $this->author = $author;
-
-        return $this;
-    }
-
-    /**
-     * Get author
-     *
-     * @return string 
-     */
-    public function getAuthor()
-    {
-        return $this->author;
-    }
-
-    /**
-     * Set uploadDate
-     *
-     * @param \DateTime $uploadDate
-     * @return EntityCDropboxFile
-     */
-    public function setUploadDate($uploadDate)
-    {
-        $this->uploadDate = $uploadDate;
-
-        return $this;
-    }
-
-    /**
-     * Get uploadDate
-     *
-     * @return \DateTime 
-     */
-    public function getUploadDate()
-    {
-        return $this->uploadDate;
-    }
-
-    /**
-     * Set lastUploadDate
-     *
-     * @param \DateTime $lastUploadDate
-     * @return EntityCDropboxFile
-     */
-    public function setLastUploadDate($lastUploadDate)
-    {
-        $this->lastUploadDate = $lastUploadDate;
-
-        return $this;
-    }
-
-    /**
-     * Get lastUploadDate
-     *
-     * @return \DateTime 
-     */
-    public function getLastUploadDate()
-    {
-        return $this->lastUploadDate;
-    }
-
-    /**
-     * Set catId
-     *
-     * @param integer $catId
-     * @return EntityCDropboxFile
-     */
-    public function setCatId($catId)
-    {
-        $this->catId = $catId;
-
-        return $this;
-    }
-
-    /**
-     * Get catId
-     *
-     * @return integer 
-     */
-    public function getCatId()
-    {
-        return $this->catId;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCDropboxFile
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 111
main/inc/Entity/EntityCDropboxPerson.php

@@ -1,111 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCDropboxPerson
- *
- * @Table(name="c_dropbox_person")
- * @Entity
- */
-class EntityCDropboxPerson
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="file_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $fileId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCDropboxPerson
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set fileId
-     *
-     * @param integer $fileId
-     * @return EntityCDropboxPerson
-     */
-    public function setFileId($fileId)
-    {
-        $this->fileId = $fileId;
-
-        return $this;
-    }
-
-    /**
-     * Get fileId
-     *
-     * @return integer 
-     */
-    public function getFileId()
-    {
-        return $this->fileId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCDropboxPerson
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-}

+ 0 - 231
main/inc/Entity/EntityCDropboxPost.php

@@ -1,231 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCDropboxPost
- *
- * @Table(name="c_dropbox_post")
- * @Entity
- */
-class EntityCDropboxPost
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="file_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $fileId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="dest_user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $destUserId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="feedback_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedbackDate;
-
-    /**
-     * @var string
-     *
-     * @Column(name="feedback", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $feedback;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cat_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $catId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCDropboxPost
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set fileId
-     *
-     * @param integer $fileId
-     * @return EntityCDropboxPost
-     */
-    public function setFileId($fileId)
-    {
-        $this->fileId = $fileId;
-
-        return $this;
-    }
-
-    /**
-     * Get fileId
-     *
-     * @return integer 
-     */
-    public function getFileId()
-    {
-        return $this->fileId;
-    }
-
-    /**
-     * Set destUserId
-     *
-     * @param integer $destUserId
-     * @return EntityCDropboxPost
-     */
-    public function setDestUserId($destUserId)
-    {
-        $this->destUserId = $destUserId;
-
-        return $this;
-    }
-
-    /**
-     * Get destUserId
-     *
-     * @return integer 
-     */
-    public function getDestUserId()
-    {
-        return $this->destUserId;
-    }
-
-    /**
-     * Set feedbackDate
-     *
-     * @param \DateTime $feedbackDate
-     * @return EntityCDropboxPost
-     */
-    public function setFeedbackDate($feedbackDate)
-    {
-        $this->feedbackDate = $feedbackDate;
-
-        return $this;
-    }
-
-    /**
-     * Get feedbackDate
-     *
-     * @return \DateTime 
-     */
-    public function getFeedbackDate()
-    {
-        return $this->feedbackDate;
-    }
-
-    /**
-     * Set feedback
-     *
-     * @param string $feedback
-     * @return EntityCDropboxPost
-     */
-    public function setFeedback($feedback)
-    {
-        $this->feedback = $feedback;
-
-        return $this;
-    }
-
-    /**
-     * Get feedback
-     *
-     * @return string 
-     */
-    public function getFeedback()
-    {
-        return $this->feedback;
-    }
-
-    /**
-     * Set catId
-     *
-     * @param integer $catId
-     * @return EntityCDropboxPost
-     */
-    public function setCatId($catId)
-    {
-        $this->catId = $catId;
-
-        return $this;
-    }
-
-    /**
-     * Get catId
-     *
-     * @return integer 
-     */
-    public function getCatId()
-    {
-        return $this->catId;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCDropboxPost
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCForumAttachment.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumAttachment
- *
- * @Table(name="c_forum_attachment")
- * @Entity
- */
-class EntityCForumAttachment
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $size;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $postId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filename", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filename;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumAttachment
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCForumAttachment
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityCForumAttachment
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCForumAttachment
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set size
-     *
-     * @param integer $size
-     * @return EntityCForumAttachment
-     */
-    public function setSize($size)
-    {
-        $this->size = $size;
-
-        return $this;
-    }
-
-    /**
-     * Get size
-     *
-     * @return integer 
-     */
-    public function getSize()
-    {
-        return $this->size;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCForumAttachment
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-
-    /**
-     * Set filename
-     *
-     * @param string $filename
-     * @return EntityCForumAttachment
-     */
-    public function setFilename($filename)
-    {
-        $this->filename = $filename;
-
-        return $this;
-    }
-
-    /**
-     * Get filename
-     *
-     * @return string 
-     */
-    public function getFilename()
-    {
-        return $this->filename;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCForumCategory.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumCategory
- *
- * @Table(name="c_forum_category")
- * @Entity
- */
-class EntityCForumCategory
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cat_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $catId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="cat_title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $catTitle;
-
-    /**
-     * @var string
-     *
-     * @Column(name="cat_comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $catComment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="cat_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $catOrder;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $locked;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumCategory
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set catId
-     *
-     * @param integer $catId
-     * @return EntityCForumCategory
-     */
-    public function setCatId($catId)
-    {
-        $this->catId = $catId;
-
-        return $this;
-    }
-
-    /**
-     * Get catId
-     *
-     * @return integer 
-     */
-    public function getCatId()
-    {
-        return $this->catId;
-    }
-
-    /**
-     * Set catTitle
-     *
-     * @param string $catTitle
-     * @return EntityCForumCategory
-     */
-    public function setCatTitle($catTitle)
-    {
-        $this->catTitle = $catTitle;
-
-        return $this;
-    }
-
-    /**
-     * Get catTitle
-     *
-     * @return string 
-     */
-    public function getCatTitle()
-    {
-        return $this->catTitle;
-    }
-
-    /**
-     * Set catComment
-     *
-     * @param string $catComment
-     * @return EntityCForumCategory
-     */
-    public function setCatComment($catComment)
-    {
-        $this->catComment = $catComment;
-
-        return $this;
-    }
-
-    /**
-     * Get catComment
-     *
-     * @return string 
-     */
-    public function getCatComment()
-    {
-        return $this->catComment;
-    }
-
-    /**
-     * Set catOrder
-     *
-     * @param integer $catOrder
-     * @return EntityCForumCategory
-     */
-    public function setCatOrder($catOrder)
-    {
-        $this->catOrder = $catOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get catOrder
-     *
-     * @return integer 
-     */
-    public function getCatOrder()
-    {
-        return $this->catOrder;
-    }
-
-    /**
-     * Set locked
-     *
-     * @param integer $locked
-     * @return EntityCForumCategory
-     */
-    public function setLocked($locked)
-    {
-        $this->locked = $locked;
-
-        return $this;
-    }
-
-    /**
-     * Get locked
-     *
-     * @return integer 
-     */
-    public function getLocked()
-    {
-        return $this->locked;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCForumCategory
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 679
main/inc/Entity/EntityCForumForum.php

@@ -1,679 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumForum
- *
- * @Table(name="c_forum_forum")
- * @Entity
- */
-class EntityCForumForum
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $forumId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="forum_title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $forumTitle;
-
-    /**
-     * @var string
-     *
-     * @Column(name="forum_comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumComment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_threads", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumThreads;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_posts", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumPosts;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_last_post", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumLastPost;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_category", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumCategory;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="allow_anonymous", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $allowAnonymous;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="allow_edit", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $allowEdit;
-
-    /**
-     * @var string
-     *
-     * @Column(name="approval_direct_post", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $approvalDirectPost;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="allow_attachments", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $allowAttachments;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="allow_new_threads", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $allowNewThreads;
-
-    /**
-     * @var string
-     *
-     * @Column(name="default_view", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $defaultView;
-
-    /**
-     * @var string
-     *
-     * @Column(name="forum_of_group", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumOfGroup;
-
-    /**
-     * @var string
-     *
-     * @Column(name="forum_group_public_private", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumGroupPublicPrivate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_order", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumOrder;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $locked;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="forum_image", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $forumImage;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="start_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $startTime;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="end_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $endTime;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumForum
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set forumId
-     *
-     * @param integer $forumId
-     * @return EntityCForumForum
-     */
-    public function setForumId($forumId)
-    {
-        $this->forumId = $forumId;
-
-        return $this;
-    }
-
-    /**
-     * Get forumId
-     *
-     * @return integer 
-     */
-    public function getForumId()
-    {
-        return $this->forumId;
-    }
-
-    /**
-     * Set forumTitle
-     *
-     * @param string $forumTitle
-     * @return EntityCForumForum
-     */
-    public function setForumTitle($forumTitle)
-    {
-        $this->forumTitle = $forumTitle;
-
-        return $this;
-    }
-
-    /**
-     * Get forumTitle
-     *
-     * @return string 
-     */
-    public function getForumTitle()
-    {
-        return $this->forumTitle;
-    }
-
-    /**
-     * Set forumComment
-     *
-     * @param string $forumComment
-     * @return EntityCForumForum
-     */
-    public function setForumComment($forumComment)
-    {
-        $this->forumComment = $forumComment;
-
-        return $this;
-    }
-
-    /**
-     * Get forumComment
-     *
-     * @return string 
-     */
-    public function getForumComment()
-    {
-        return $this->forumComment;
-    }
-
-    /**
-     * Set forumThreads
-     *
-     * @param integer $forumThreads
-     * @return EntityCForumForum
-     */
-    public function setForumThreads($forumThreads)
-    {
-        $this->forumThreads = $forumThreads;
-
-        return $this;
-    }
-
-    /**
-     * Get forumThreads
-     *
-     * @return integer 
-     */
-    public function getForumThreads()
-    {
-        return $this->forumThreads;
-    }
-
-    /**
-     * Set forumPosts
-     *
-     * @param integer $forumPosts
-     * @return EntityCForumForum
-     */
-    public function setForumPosts($forumPosts)
-    {
-        $this->forumPosts = $forumPosts;
-
-        return $this;
-    }
-
-    /**
-     * Get forumPosts
-     *
-     * @return integer 
-     */
-    public function getForumPosts()
-    {
-        return $this->forumPosts;
-    }
-
-    /**
-     * Set forumLastPost
-     *
-     * @param integer $forumLastPost
-     * @return EntityCForumForum
-     */
-    public function setForumLastPost($forumLastPost)
-    {
-        $this->forumLastPost = $forumLastPost;
-
-        return $this;
-    }
-
-    /**
-     * Get forumLastPost
-     *
-     * @return integer 
-     */
-    public function getForumLastPost()
-    {
-        return $this->forumLastPost;
-    }
-
-    /**
-     * Set forumCategory
-     *
-     * @param integer $forumCategory
-     * @return EntityCForumForum
-     */
-    public function setForumCategory($forumCategory)
-    {
-        $this->forumCategory = $forumCategory;
-
-        return $this;
-    }
-
-    /**
-     * Get forumCategory
-     *
-     * @return integer 
-     */
-    public function getForumCategory()
-    {
-        return $this->forumCategory;
-    }
-
-    /**
-     * Set allowAnonymous
-     *
-     * @param integer $allowAnonymous
-     * @return EntityCForumForum
-     */
-    public function setAllowAnonymous($allowAnonymous)
-    {
-        $this->allowAnonymous = $allowAnonymous;
-
-        return $this;
-    }
-
-    /**
-     * Get allowAnonymous
-     *
-     * @return integer 
-     */
-    public function getAllowAnonymous()
-    {
-        return $this->allowAnonymous;
-    }
-
-    /**
-     * Set allowEdit
-     *
-     * @param integer $allowEdit
-     * @return EntityCForumForum
-     */
-    public function setAllowEdit($allowEdit)
-    {
-        $this->allowEdit = $allowEdit;
-
-        return $this;
-    }
-
-    /**
-     * Get allowEdit
-     *
-     * @return integer 
-     */
-    public function getAllowEdit()
-    {
-        return $this->allowEdit;
-    }
-
-    /**
-     * Set approvalDirectPost
-     *
-     * @param string $approvalDirectPost
-     * @return EntityCForumForum
-     */
-    public function setApprovalDirectPost($approvalDirectPost)
-    {
-        $this->approvalDirectPost = $approvalDirectPost;
-
-        return $this;
-    }
-
-    /**
-     * Get approvalDirectPost
-     *
-     * @return string 
-     */
-    public function getApprovalDirectPost()
-    {
-        return $this->approvalDirectPost;
-    }
-
-    /**
-     * Set allowAttachments
-     *
-     * @param integer $allowAttachments
-     * @return EntityCForumForum
-     */
-    public function setAllowAttachments($allowAttachments)
-    {
-        $this->allowAttachments = $allowAttachments;
-
-        return $this;
-    }
-
-    /**
-     * Get allowAttachments
-     *
-     * @return integer 
-     */
-    public function getAllowAttachments()
-    {
-        return $this->allowAttachments;
-    }
-
-    /**
-     * Set allowNewThreads
-     *
-     * @param integer $allowNewThreads
-     * @return EntityCForumForum
-     */
-    public function setAllowNewThreads($allowNewThreads)
-    {
-        $this->allowNewThreads = $allowNewThreads;
-
-        return $this;
-    }
-
-    /**
-     * Get allowNewThreads
-     *
-     * @return integer 
-     */
-    public function getAllowNewThreads()
-    {
-        return $this->allowNewThreads;
-    }
-
-    /**
-     * Set defaultView
-     *
-     * @param string $defaultView
-     * @return EntityCForumForum
-     */
-    public function setDefaultView($defaultView)
-    {
-        $this->defaultView = $defaultView;
-
-        return $this;
-    }
-
-    /**
-     * Get defaultView
-     *
-     * @return string 
-     */
-    public function getDefaultView()
-    {
-        return $this->defaultView;
-    }
-
-    /**
-     * Set forumOfGroup
-     *
-     * @param string $forumOfGroup
-     * @return EntityCForumForum
-     */
-    public function setForumOfGroup($forumOfGroup)
-    {
-        $this->forumOfGroup = $forumOfGroup;
-
-        return $this;
-    }
-
-    /**
-     * Get forumOfGroup
-     *
-     * @return string 
-     */
-    public function getForumOfGroup()
-    {
-        return $this->forumOfGroup;
-    }
-
-    /**
-     * Set forumGroupPublicPrivate
-     *
-     * @param string $forumGroupPublicPrivate
-     * @return EntityCForumForum
-     */
-    public function setForumGroupPublicPrivate($forumGroupPublicPrivate)
-    {
-        $this->forumGroupPublicPrivate = $forumGroupPublicPrivate;
-
-        return $this;
-    }
-
-    /**
-     * Get forumGroupPublicPrivate
-     *
-     * @return string 
-     */
-    public function getForumGroupPublicPrivate()
-    {
-        return $this->forumGroupPublicPrivate;
-    }
-
-    /**
-     * Set forumOrder
-     *
-     * @param integer $forumOrder
-     * @return EntityCForumForum
-     */
-    public function setForumOrder($forumOrder)
-    {
-        $this->forumOrder = $forumOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get forumOrder
-     *
-     * @return integer 
-     */
-    public function getForumOrder()
-    {
-        return $this->forumOrder;
-    }
-
-    /**
-     * Set locked
-     *
-     * @param integer $locked
-     * @return EntityCForumForum
-     */
-    public function setLocked($locked)
-    {
-        $this->locked = $locked;
-
-        return $this;
-    }
-
-    /**
-     * Get locked
-     *
-     * @return integer 
-     */
-    public function getLocked()
-    {
-        return $this->locked;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCForumForum
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set forumImage
-     *
-     * @param string $forumImage
-     * @return EntityCForumForum
-     */
-    public function setForumImage($forumImage)
-    {
-        $this->forumImage = $forumImage;
-
-        return $this;
-    }
-
-    /**
-     * Get forumImage
-     *
-     * @return string 
-     */
-    public function getForumImage()
-    {
-        return $this->forumImage;
-    }
-
-    /**
-     * Set startTime
-     *
-     * @param \DateTime $startTime
-     * @return EntityCForumForum
-     */
-    public function setStartTime($startTime)
-    {
-        $this->startTime = $startTime;
-
-        return $this;
-    }
-
-    /**
-     * Get startTime
-     *
-     * @return \DateTime 
-     */
-    public function getStartTime()
-    {
-        return $this->startTime;
-    }
-
-    /**
-     * Set endTime
-     *
-     * @param \DateTime $endTime
-     * @return EntityCForumForum
-     */
-    public function setEndTime($endTime)
-    {
-        $this->endTime = $endTime;
-
-        return $this;
-    }
-
-    /**
-     * Get endTime
-     *
-     * @return \DateTime 
-     */
-    public function getEndTime()
-    {
-        return $this->endTime;
-    }
-}

+ 0 - 175
main/inc/Entity/EntityCForumMailcue.php

@@ -1,175 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumMailcue
- *
- * @Table(name="c_forum_mailcue")
- * @Entity
- */
-class EntityCForumMailcue
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $threadId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $postId;
-
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCForumMailcue
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumMailcue
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set threadId
-     *
-     * @param integer $threadId
-     * @return EntityCForumMailcue
-     */
-    public function setThreadId($threadId)
-    {
-        $this->threadId = $threadId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadId
-     *
-     * @return integer 
-     */
-    public function getThreadId()
-    {
-        return $this->threadId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCForumMailcue
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCForumMailcue
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-}

+ 0 - 207
main/inc/Entity/EntityCForumNotification.php

@@ -1,207 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumNotification
- *
- * @Table(name="c_forum_notification")
- * @Entity
- */
-class EntityCForumNotification
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $forumId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $threadId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $postId;
-
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCForumNotification
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumNotification
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCForumNotification
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set forumId
-     *
-     * @param integer $forumId
-     * @return EntityCForumNotification
-     */
-    public function setForumId($forumId)
-    {
-        $this->forumId = $forumId;
-
-        return $this;
-    }
-
-    /**
-     * Get forumId
-     *
-     * @return integer 
-     */
-    public function getForumId()
-    {
-        return $this->forumId;
-    }
-
-    /**
-     * Set threadId
-     *
-     * @param integer $threadId
-     * @return EntityCForumNotification
-     */
-    public function setThreadId($threadId)
-    {
-        $this->threadId = $threadId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadId
-     *
-     * @return integer 
-     */
-    public function getThreadId()
-    {
-        return $this->threadId;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCForumNotification
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-}

+ 0 - 379
main/inc/Entity/EntityCForumPost.php

@@ -1,379 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumPost
- *
- * @Table(name="c_forum_post")
- * @Entity
- */
-class EntityCForumPost
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $postId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="post_title", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $postTitle;
-
-    /**
-     * @var string
-     *
-     * @Column(name="post_text", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $postText;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="poster_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $posterId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="poster_name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $posterName;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="post_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $postDate;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="post_notification", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $postNotification;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_parent_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $postParentId;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="visible", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $visible;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumPost
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set postId
-     *
-     * @param integer $postId
-     * @return EntityCForumPost
-     */
-    public function setPostId($postId)
-    {
-        $this->postId = $postId;
-
-        return $this;
-    }
-
-    /**
-     * Get postId
-     *
-     * @return integer 
-     */
-    public function getPostId()
-    {
-        return $this->postId;
-    }
-
-    /**
-     * Set postTitle
-     *
-     * @param string $postTitle
-     * @return EntityCForumPost
-     */
-    public function setPostTitle($postTitle)
-    {
-        $this->postTitle = $postTitle;
-
-        return $this;
-    }
-
-    /**
-     * Get postTitle
-     *
-     * @return string 
-     */
-    public function getPostTitle()
-    {
-        return $this->postTitle;
-    }
-
-    /**
-     * Set postText
-     *
-     * @param string $postText
-     * @return EntityCForumPost
-     */
-    public function setPostText($postText)
-    {
-        $this->postText = $postText;
-
-        return $this;
-    }
-
-    /**
-     * Get postText
-     *
-     * @return string 
-     */
-    public function getPostText()
-    {
-        return $this->postText;
-    }
-
-    /**
-     * Set threadId
-     *
-     * @param integer $threadId
-     * @return EntityCForumPost
-     */
-    public function setThreadId($threadId)
-    {
-        $this->threadId = $threadId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadId
-     *
-     * @return integer 
-     */
-    public function getThreadId()
-    {
-        return $this->threadId;
-    }
-
-    /**
-     * Set forumId
-     *
-     * @param integer $forumId
-     * @return EntityCForumPost
-     */
-    public function setForumId($forumId)
-    {
-        $this->forumId = $forumId;
-
-        return $this;
-    }
-
-    /**
-     * Get forumId
-     *
-     * @return integer 
-     */
-    public function getForumId()
-    {
-        return $this->forumId;
-    }
-
-    /**
-     * Set posterId
-     *
-     * @param integer $posterId
-     * @return EntityCForumPost
-     */
-    public function setPosterId($posterId)
-    {
-        $this->posterId = $posterId;
-
-        return $this;
-    }
-
-    /**
-     * Get posterId
-     *
-     * @return integer 
-     */
-    public function getPosterId()
-    {
-        return $this->posterId;
-    }
-
-    /**
-     * Set posterName
-     *
-     * @param string $posterName
-     * @return EntityCForumPost
-     */
-    public function setPosterName($posterName)
-    {
-        $this->posterName = $posterName;
-
-        return $this;
-    }
-
-    /**
-     * Get posterName
-     *
-     * @return string 
-     */
-    public function getPosterName()
-    {
-        return $this->posterName;
-    }
-
-    /**
-     * Set postDate
-     *
-     * @param \DateTime $postDate
-     * @return EntityCForumPost
-     */
-    public function setPostDate($postDate)
-    {
-        $this->postDate = $postDate;
-
-        return $this;
-    }
-
-    /**
-     * Get postDate
-     *
-     * @return \DateTime 
-     */
-    public function getPostDate()
-    {
-        return $this->postDate;
-    }
-
-    /**
-     * Set postNotification
-     *
-     * @param boolean $postNotification
-     * @return EntityCForumPost
-     */
-    public function setPostNotification($postNotification)
-    {
-        $this->postNotification = $postNotification;
-
-        return $this;
-    }
-
-    /**
-     * Get postNotification
-     *
-     * @return boolean 
-     */
-    public function getPostNotification()
-    {
-        return $this->postNotification;
-    }
-
-    /**
-     * Set postParentId
-     *
-     * @param integer $postParentId
-     * @return EntityCForumPost
-     */
-    public function setPostParentId($postParentId)
-    {
-        $this->postParentId = $postParentId;
-
-        return $this;
-    }
-
-    /**
-     * Get postParentId
-     *
-     * @return integer 
-     */
-    public function getPostParentId()
-    {
-        return $this->postParentId;
-    }
-
-    /**
-     * Set visible
-     *
-     * @param boolean $visible
-     * @return EntityCForumPost
-     */
-    public function setVisible($visible)
-    {
-        $this->visible = $visible;
-
-        return $this;
-    }
-
-    /**
-     * Get visible
-     *
-     * @return boolean 
-     */
-    public function getVisible()
-    {
-        return $this->visible;
-    }
-}

+ 0 - 529
main/inc/Entity/EntityCForumThread.php

@@ -1,529 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumThread
- *
- * @Table(name="c_forum_thread")
- * @Entity
- */
-class EntityCForumThread
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $threadId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="thread_title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadTitle;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="forum_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $forumId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_replies", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadReplies;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_poster_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadPosterId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="thread_poster_name", type="string", length=100, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadPosterName;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_views", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadViews;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_last_post", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadLastPost;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="thread_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadDate;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="thread_sticky", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadSticky;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="locked", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $locked;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="thread_title_qualify", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadTitleQualify;
-
-    /**
-     * @var float
-     *
-     * @Column(name="thread_qualify_max", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $threadQualifyMax;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="thread_close_date", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $threadCloseDate;
-
-    /**
-     * @var float
-     *
-     * @Column(name="thread_weight", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $threadWeight;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumThread
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set threadId
-     *
-     * @param integer $threadId
-     * @return EntityCForumThread
-     */
-    public function setThreadId($threadId)
-    {
-        $this->threadId = $threadId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadId
-     *
-     * @return integer 
-     */
-    public function getThreadId()
-    {
-        return $this->threadId;
-    }
-
-    /**
-     * Set threadTitle
-     *
-     * @param string $threadTitle
-     * @return EntityCForumThread
-     */
-    public function setThreadTitle($threadTitle)
-    {
-        $this->threadTitle = $threadTitle;
-
-        return $this;
-    }
-
-    /**
-     * Get threadTitle
-     *
-     * @return string 
-     */
-    public function getThreadTitle()
-    {
-        return $this->threadTitle;
-    }
-
-    /**
-     * Set forumId
-     *
-     * @param integer $forumId
-     * @return EntityCForumThread
-     */
-    public function setForumId($forumId)
-    {
-        $this->forumId = $forumId;
-
-        return $this;
-    }
-
-    /**
-     * Get forumId
-     *
-     * @return integer 
-     */
-    public function getForumId()
-    {
-        return $this->forumId;
-    }
-
-    /**
-     * Set threadReplies
-     *
-     * @param integer $threadReplies
-     * @return EntityCForumThread
-     */
-    public function setThreadReplies($threadReplies)
-    {
-        $this->threadReplies = $threadReplies;
-
-        return $this;
-    }
-
-    /**
-     * Get threadReplies
-     *
-     * @return integer 
-     */
-    public function getThreadReplies()
-    {
-        return $this->threadReplies;
-    }
-
-    /**
-     * Set threadPosterId
-     *
-     * @param integer $threadPosterId
-     * @return EntityCForumThread
-     */
-    public function setThreadPosterId($threadPosterId)
-    {
-        $this->threadPosterId = $threadPosterId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadPosterId
-     *
-     * @return integer 
-     */
-    public function getThreadPosterId()
-    {
-        return $this->threadPosterId;
-    }
-
-    /**
-     * Set threadPosterName
-     *
-     * @param string $threadPosterName
-     * @return EntityCForumThread
-     */
-    public function setThreadPosterName($threadPosterName)
-    {
-        $this->threadPosterName = $threadPosterName;
-
-        return $this;
-    }
-
-    /**
-     * Get threadPosterName
-     *
-     * @return string 
-     */
-    public function getThreadPosterName()
-    {
-        return $this->threadPosterName;
-    }
-
-    /**
-     * Set threadViews
-     *
-     * @param integer $threadViews
-     * @return EntityCForumThread
-     */
-    public function setThreadViews($threadViews)
-    {
-        $this->threadViews = $threadViews;
-
-        return $this;
-    }
-
-    /**
-     * Get threadViews
-     *
-     * @return integer 
-     */
-    public function getThreadViews()
-    {
-        return $this->threadViews;
-    }
-
-    /**
-     * Set threadLastPost
-     *
-     * @param integer $threadLastPost
-     * @return EntityCForumThread
-     */
-    public function setThreadLastPost($threadLastPost)
-    {
-        $this->threadLastPost = $threadLastPost;
-
-        return $this;
-    }
-
-    /**
-     * Get threadLastPost
-     *
-     * @return integer 
-     */
-    public function getThreadLastPost()
-    {
-        return $this->threadLastPost;
-    }
-
-    /**
-     * Set threadDate
-     *
-     * @param \DateTime $threadDate
-     * @return EntityCForumThread
-     */
-    public function setThreadDate($threadDate)
-    {
-        $this->threadDate = $threadDate;
-
-        return $this;
-    }
-
-    /**
-     * Get threadDate
-     *
-     * @return \DateTime 
-     */
-    public function getThreadDate()
-    {
-        return $this->threadDate;
-    }
-
-    /**
-     * Set threadSticky
-     *
-     * @param boolean $threadSticky
-     * @return EntityCForumThread
-     */
-    public function setThreadSticky($threadSticky)
-    {
-        $this->threadSticky = $threadSticky;
-
-        return $this;
-    }
-
-    /**
-     * Get threadSticky
-     *
-     * @return boolean 
-     */
-    public function getThreadSticky()
-    {
-        return $this->threadSticky;
-    }
-
-    /**
-     * Set locked
-     *
-     * @param integer $locked
-     * @return EntityCForumThread
-     */
-    public function setLocked($locked)
-    {
-        $this->locked = $locked;
-
-        return $this;
-    }
-
-    /**
-     * Get locked
-     *
-     * @return integer 
-     */
-    public function getLocked()
-    {
-        return $this->locked;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCForumThread
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set threadTitleQualify
-     *
-     * @param string $threadTitleQualify
-     * @return EntityCForumThread
-     */
-    public function setThreadTitleQualify($threadTitleQualify)
-    {
-        $this->threadTitleQualify = $threadTitleQualify;
-
-        return $this;
-    }
-
-    /**
-     * Get threadTitleQualify
-     *
-     * @return string 
-     */
-    public function getThreadTitleQualify()
-    {
-        return $this->threadTitleQualify;
-    }
-
-    /**
-     * Set threadQualifyMax
-     *
-     * @param float $threadQualifyMax
-     * @return EntityCForumThread
-     */
-    public function setThreadQualifyMax($threadQualifyMax)
-    {
-        $this->threadQualifyMax = $threadQualifyMax;
-
-        return $this;
-    }
-
-    /**
-     * Get threadQualifyMax
-     *
-     * @return float 
-     */
-    public function getThreadQualifyMax()
-    {
-        return $this->threadQualifyMax;
-    }
-
-    /**
-     * Set threadCloseDate
-     *
-     * @param \DateTime $threadCloseDate
-     * @return EntityCForumThread
-     */
-    public function setThreadCloseDate($threadCloseDate)
-    {
-        $this->threadCloseDate = $threadCloseDate;
-
-        return $this;
-    }
-
-    /**
-     * Get threadCloseDate
-     *
-     * @return \DateTime 
-     */
-    public function getThreadCloseDate()
-    {
-        return $this->threadCloseDate;
-    }
-
-    /**
-     * Set threadWeight
-     *
-     * @param float $threadWeight
-     * @return EntityCForumThread
-     */
-    public function setThreadWeight($threadWeight)
-    {
-        $this->threadWeight = $threadWeight;
-
-        return $this;
-    }
-
-    /**
-     * Get threadWeight
-     *
-     * @return float 
-     */
-    public function getThreadWeight()
-    {
-        return $this->threadWeight;
-    }
-}

+ 0 - 259
main/inc/Entity/EntityCForumThreadQualify.php

@@ -1,259 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumThreadQualify
- *
- * @Table(name="c_forum_thread_qualify")
- * @Entity
- */
-class EntityCForumThreadQualify
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $threadId;
-
-    /**
-     * @var float
-     *
-     * @Column(name="qualify", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $qualify;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="qualify_user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $qualifyUserId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="qualify_time", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $qualifyTime;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumThreadQualify
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCForumThreadQualify
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCForumThreadQualify
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set threadId
-     *
-     * @param integer $threadId
-     * @return EntityCForumThreadQualify
-     */
-    public function setThreadId($threadId)
-    {
-        $this->threadId = $threadId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadId
-     *
-     * @return integer 
-     */
-    public function getThreadId()
-    {
-        return $this->threadId;
-    }
-
-    /**
-     * Set qualify
-     *
-     * @param float $qualify
-     * @return EntityCForumThreadQualify
-     */
-    public function setQualify($qualify)
-    {
-        $this->qualify = $qualify;
-
-        return $this;
-    }
-
-    /**
-     * Get qualify
-     *
-     * @return float 
-     */
-    public function getQualify()
-    {
-        return $this->qualify;
-    }
-
-    /**
-     * Set qualifyUserId
-     *
-     * @param integer $qualifyUserId
-     * @return EntityCForumThreadQualify
-     */
-    public function setQualifyUserId($qualifyUserId)
-    {
-        $this->qualifyUserId = $qualifyUserId;
-
-        return $this;
-    }
-
-    /**
-     * Get qualifyUserId
-     *
-     * @return integer 
-     */
-    public function getQualifyUserId()
-    {
-        return $this->qualifyUserId;
-    }
-
-    /**
-     * Set qualifyTime
-     *
-     * @param \DateTime $qualifyTime
-     * @return EntityCForumThreadQualify
-     */
-    public function setQualifyTime($qualifyTime)
-    {
-        $this->qualifyTime = $qualifyTime;
-
-        return $this;
-    }
-
-    /**
-     * Get qualifyTime
-     *
-     * @return \DateTime 
-     */
-    public function getQualifyTime()
-    {
-        return $this->qualifyTime;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCForumThreadQualify
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 259
main/inc/Entity/EntityCForumThreadQualifyLog.php

@@ -1,259 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCForumThreadQualifyLog
- *
- * @Table(name="c_forum_thread_qualify_log")
- * @Entity
- */
-class EntityCForumThreadQualifyLog
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thread_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $threadId;
-
-    /**
-     * @var float
-     *
-     * @Column(name="qualify", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $qualify;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="qualify_user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $qualifyUserId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="qualify_time", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $qualifyTime;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set threadId
-     *
-     * @param integer $threadId
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setThreadId($threadId)
-    {
-        $this->threadId = $threadId;
-
-        return $this;
-    }
-
-    /**
-     * Get threadId
-     *
-     * @return integer 
-     */
-    public function getThreadId()
-    {
-        return $this->threadId;
-    }
-
-    /**
-     * Set qualify
-     *
-     * @param float $qualify
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setQualify($qualify)
-    {
-        $this->qualify = $qualify;
-
-        return $this;
-    }
-
-    /**
-     * Get qualify
-     *
-     * @return float 
-     */
-    public function getQualify()
-    {
-        return $this->qualify;
-    }
-
-    /**
-     * Set qualifyUserId
-     *
-     * @param integer $qualifyUserId
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setQualifyUserId($qualifyUserId)
-    {
-        $this->qualifyUserId = $qualifyUserId;
-
-        return $this;
-    }
-
-    /**
-     * Get qualifyUserId
-     *
-     * @return integer 
-     */
-    public function getQualifyUserId()
-    {
-        return $this->qualifyUserId;
-    }
-
-    /**
-     * Set qualifyTime
-     *
-     * @param \DateTime $qualifyTime
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setQualifyTime($qualifyTime)
-    {
-        $this->qualifyTime = $qualifyTime;
-
-        return $this;
-    }
-
-    /**
-     * Get qualifyTime
-     *
-     * @return \DateTime 
-     */
-    public function getQualifyTime()
-    {
-        return $this->qualifyTime;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCForumThreadQualifyLog
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCGlossary.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCGlossary
- *
- * @Table(name="c_glossary")
- * @Entity
- */
-class EntityCGlossary
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="glossary_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $glossaryId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $displayOrder;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCGlossary
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set glossaryId
-     *
-     * @param integer $glossaryId
-     * @return EntityCGlossary
-     */
-    public function setGlossaryId($glossaryId)
-    {
-        $this->glossaryId = $glossaryId;
-
-        return $this;
-    }
-
-    /**
-     * Get glossaryId
-     *
-     * @return integer 
-     */
-    public function getGlossaryId()
-    {
-        return $this->glossaryId;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityCGlossary
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCGlossary
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCGlossary
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCGlossary
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 499
main/inc/Entity/EntityCGroupCategory.php

@@ -1,499 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCGroupCategory
- *
- * @Table(name="c_group_category")
- * @Entity
- */
-class EntityCGroupCategory
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="doc_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $docState;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="calendar_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $calendarState;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="work_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $workState;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="announcements_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $announcementsState;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="forum_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $forumState;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="wiki_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $wikiState;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="chat_state", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $chatState;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="max_student", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $maxStudent;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="self_reg_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $selfRegAllowed;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="self_unreg_allowed", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $selfUnregAllowed;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="groups_per_user", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $groupsPerUser;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayOrder;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCGroupCategory
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCGroupCategory
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCGroupCategory
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCGroupCategory
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set docState
-     *
-     * @param boolean $docState
-     * @return EntityCGroupCategory
-     */
-    public function setDocState($docState)
-    {
-        $this->docState = $docState;
-
-        return $this;
-    }
-
-    /**
-     * Get docState
-     *
-     * @return boolean 
-     */
-    public function getDocState()
-    {
-        return $this->docState;
-    }
-
-    /**
-     * Set calendarState
-     *
-     * @param boolean $calendarState
-     * @return EntityCGroupCategory
-     */
-    public function setCalendarState($calendarState)
-    {
-        $this->calendarState = $calendarState;
-
-        return $this;
-    }
-
-    /**
-     * Get calendarState
-     *
-     * @return boolean 
-     */
-    public function getCalendarState()
-    {
-        return $this->calendarState;
-    }
-
-    /**
-     * Set workState
-     *
-     * @param boolean $workState
-     * @return EntityCGroupCategory
-     */
-    public function setWorkState($workState)
-    {
-        $this->workState = $workState;
-
-        return $this;
-    }
-
-    /**
-     * Get workState
-     *
-     * @return boolean 
-     */
-    public function getWorkState()
-    {
-        return $this->workState;
-    }
-
-    /**
-     * Set announcementsState
-     *
-     * @param boolean $announcementsState
-     * @return EntityCGroupCategory
-     */
-    public function setAnnouncementsState($announcementsState)
-    {
-        $this->announcementsState = $announcementsState;
-
-        return $this;
-    }
-
-    /**
-     * Get announcementsState
-     *
-     * @return boolean 
-     */
-    public function getAnnouncementsState()
-    {
-        return $this->announcementsState;
-    }
-
-    /**
-     * Set forumState
-     *
-     * @param boolean $forumState
-     * @return EntityCGroupCategory
-     */
-    public function setForumState($forumState)
-    {
-        $this->forumState = $forumState;
-
-        return $this;
-    }
-
-    /**
-     * Get forumState
-     *
-     * @return boolean 
-     */
-    public function getForumState()
-    {
-        return $this->forumState;
-    }
-
-    /**
-     * Set wikiState
-     *
-     * @param boolean $wikiState
-     * @return EntityCGroupCategory
-     */
-    public function setWikiState($wikiState)
-    {
-        $this->wikiState = $wikiState;
-
-        return $this;
-    }
-
-    /**
-     * Get wikiState
-     *
-     * @return boolean 
-     */
-    public function getWikiState()
-    {
-        return $this->wikiState;
-    }
-
-    /**
-     * Set chatState
-     *
-     * @param boolean $chatState
-     * @return EntityCGroupCategory
-     */
-    public function setChatState($chatState)
-    {
-        $this->chatState = $chatState;
-
-        return $this;
-    }
-
-    /**
-     * Get chatState
-     *
-     * @return boolean 
-     */
-    public function getChatState()
-    {
-        return $this->chatState;
-    }
-
-    /**
-     * Set maxStudent
-     *
-     * @param integer $maxStudent
-     * @return EntityCGroupCategory
-     */
-    public function setMaxStudent($maxStudent)
-    {
-        $this->maxStudent = $maxStudent;
-
-        return $this;
-    }
-
-    /**
-     * Get maxStudent
-     *
-     * @return integer 
-     */
-    public function getMaxStudent()
-    {
-        return $this->maxStudent;
-    }
-
-    /**
-     * Set selfRegAllowed
-     *
-     * @param boolean $selfRegAllowed
-     * @return EntityCGroupCategory
-     */
-    public function setSelfRegAllowed($selfRegAllowed)
-    {
-        $this->selfRegAllowed = $selfRegAllowed;
-
-        return $this;
-    }
-
-    /**
-     * Get selfRegAllowed
-     *
-     * @return boolean 
-     */
-    public function getSelfRegAllowed()
-    {
-        return $this->selfRegAllowed;
-    }
-
-    /**
-     * Set selfUnregAllowed
-     *
-     * @param boolean $selfUnregAllowed
-     * @return EntityCGroupCategory
-     */
-    public function setSelfUnregAllowed($selfUnregAllowed)
-    {
-        $this->selfUnregAllowed = $selfUnregAllowed;
-
-        return $this;
-    }
-
-    /**
-     * Get selfUnregAllowed
-     *
-     * @return boolean 
-     */
-    public function getSelfUnregAllowed()
-    {
-        return $this->selfUnregAllowed;
-    }
-
-    /**
-     * Set groupsPerUser
-     *
-     * @param integer $groupsPerUser
-     * @return EntityCGroupCategory
-     */
-    public function setGroupsPerUser($groupsPerUser)
-    {
-        $this->groupsPerUser = $groupsPerUser;
-
-        return $this;
-    }
-
-    /**
-     * Get groupsPerUser
-     *
-     * @return integer 
-     */
-    public function getGroupsPerUser()
-    {
-        return $this->groupsPerUser;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCGroupCategory
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-}

+ 0 - 139
main/inc/Entity/EntityCGroupRelTutor.php

@@ -1,139 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCGroupRelTutor
- *
- * @Table(name="c_group_rel_tutor")
- * @Entity
- */
-class EntityCGroupRelTutor
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $groupId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCGroupRelTutor
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCGroupRelTutor
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCGroupRelTutor
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set groupId
-     *
-     * @param integer $groupId
-     * @return EntityCGroupRelTutor
-     */
-    public function setGroupId($groupId)
-    {
-        $this->groupId = $groupId;
-
-        return $this;
-    }
-
-    /**
-     * Get groupId
-     *
-     * @return integer 
-     */
-    public function getGroupId()
-    {
-        return $this->groupId;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCGroupRelUser.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCGroupRelUser
- *
- * @Table(name="c_group_rel_user")
- * @Entity
- */
-class EntityCGroupRelUser
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $groupId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="status", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $status;
-
-    /**
-     * @var string
-     *
-     * @Column(name="role", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $role;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCGroupRelUser
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCGroupRelUser
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCGroupRelUser
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set groupId
-     *
-     * @param integer $groupId
-     * @return EntityCGroupRelUser
-     */
-    public function setGroupId($groupId)
-    {
-        $this->groupId = $groupId;
-
-        return $this;
-    }
-
-    /**
-     * Get groupId
-     *
-     * @return integer 
-     */
-    public function getGroupId()
-    {
-        return $this->groupId;
-    }
-
-    /**
-     * Set status
-     *
-     * @param integer $status
-     * @return EntityCGroupRelUser
-     */
-    public function setStatus($status)
-    {
-        $this->status = $status;
-
-        return $this;
-    }
-
-    /**
-     * Get status
-     *
-     * @return integer 
-     */
-    public function getStatus()
-    {
-        return $this->status;
-    }
-
-    /**
-     * Set role
-     *
-     * @param string $role
-     * @return EntityCGroupRelUser
-     */
-    public function setRole($role)
-    {
-        $this->role = $role;
-
-        return $this;
-    }
-
-    /**
-     * Get role
-     *
-     * @return string 
-     */
-    public function getRole()
-    {
-        return $this->role;
-    }
-}

+ 0 - 319
main/inc/Entity/EntityCLink.php

@@ -1,319 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLink
- *
- * @Table(name="c_link")
- * @Entity
- */
-class EntityCLink
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="url", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $url;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=150, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="category_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $categoryId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayOrder;
-
-    /**
-     * @var string
-     *
-     * @Column(name="on_homepage", type="string", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $onHomepage;
-
-    /**
-     * @var string
-     *
-     * @Column(name="target", type="string", length=10, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $target;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLink
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLink
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set url
-     *
-     * @param string $url
-     * @return EntityCLink
-     */
-    public function setUrl($url)
-    {
-        $this->url = $url;
-
-        return $this;
-    }
-
-    /**
-     * Get url
-     *
-     * @return string 
-     */
-    public function getUrl()
-    {
-        return $this->url;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCLink
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCLink
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set categoryId
-     *
-     * @param integer $categoryId
-     * @return EntityCLink
-     */
-    public function setCategoryId($categoryId)
-    {
-        $this->categoryId = $categoryId;
-
-        return $this;
-    }
-
-    /**
-     * Get categoryId
-     *
-     * @return integer 
-     */
-    public function getCategoryId()
-    {
-        return $this->categoryId;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCLink
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-
-    /**
-     * Set onHomepage
-     *
-     * @param string $onHomepage
-     * @return EntityCLink
-     */
-    public function setOnHomepage($onHomepage)
-    {
-        $this->onHomepage = $onHomepage;
-
-        return $this;
-    }
-
-    /**
-     * Get onHomepage
-     *
-     * @return string 
-     */
-    public function getOnHomepage()
-    {
-        return $this->onHomepage;
-    }
-
-    /**
-     * Set target
-     *
-     * @param string $target
-     * @return EntityCLink
-     */
-    public function setTarget($target)
-    {
-        $this->target = $target;
-
-        return $this;
-    }
-
-    /**
-     * Get target
-     *
-     * @return string 
-     */
-    public function getTarget()
-    {
-        return $this->target;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCLink
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCLinkCategory.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLinkCategory
- *
- * @Table(name="c_link_category")
- * @Entity
- */
-class EntityCLinkCategory
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="category_title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $categoryTitle;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayOrder;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLinkCategory
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLinkCategory
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set categoryTitle
-     *
-     * @param string $categoryTitle
-     * @return EntityCLinkCategory
-     */
-    public function setCategoryTitle($categoryTitle)
-    {
-        $this->categoryTitle = $categoryTitle;
-
-        return $this;
-    }
-
-    /**
-     * Get categoryTitle
-     *
-     * @return string 
-     */
-    public function getCategoryTitle()
-    {
-        return $this->categoryTitle;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCLinkCategory
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCLinkCategory
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCLinkCategory
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 679
main/inc/Entity/EntityCLpItem.php

@@ -1,679 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLpItem
- *
- * @Table(name="c_lp_item")
- * @Entity
- */
-class EntityCLpItem
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lp_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lpId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="item_type", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $itemType;
-
-    /**
-     * @var string
-     *
-     * @Column(name="ref", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $ref;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=511, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="string", length=511, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var string
-     *
-     * @Column(name="path", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $path;
-
-    /**
-     * @var float
-     *
-     * @Column(name="min_score", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $minScore;
-
-    /**
-     * @var float
-     *
-     * @Column(name="max_score", type="float", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxScore;
-
-    /**
-     * @var float
-     *
-     * @Column(name="mastery_score", type="float", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $masteryScore;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="parent_item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $parentItemId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="previous_item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $previousItemId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="next_item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $nextItemId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayOrder;
-
-    /**
-     * @var string
-     *
-     * @Column(name="prerequisite", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $prerequisite;
-
-    /**
-     * @var string
-     *
-     * @Column(name="parameters", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $parameters;
-
-    /**
-     * @var string
-     *
-     * @Column(name="launch_data", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $launchData;
-
-    /**
-     * @var string
-     *
-     * @Column(name="max_time_allowed", type="string", length=13, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxTimeAllowed;
-
-    /**
-     * @var string
-     *
-     * @Column(name="terms", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $terms;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="search_did", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $searchDid;
-
-    /**
-     * @var string
-     *
-     * @Column(name="audio", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $audio;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLpItem
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLpItem
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set lpId
-     *
-     * @param integer $lpId
-     * @return EntityCLpItem
-     */
-    public function setLpId($lpId)
-    {
-        $this->lpId = $lpId;
-
-        return $this;
-    }
-
-    /**
-     * Get lpId
-     *
-     * @return integer 
-     */
-    public function getLpId()
-    {
-        return $this->lpId;
-    }
-
-    /**
-     * Set itemType
-     *
-     * @param string $itemType
-     * @return EntityCLpItem
-     */
-    public function setItemType($itemType)
-    {
-        $this->itemType = $itemType;
-
-        return $this;
-    }
-
-    /**
-     * Get itemType
-     *
-     * @return string 
-     */
-    public function getItemType()
-    {
-        return $this->itemType;
-    }
-
-    /**
-     * Set ref
-     *
-     * @param string $ref
-     * @return EntityCLpItem
-     */
-    public function setRef($ref)
-    {
-        $this->ref = $ref;
-
-        return $this;
-    }
-
-    /**
-     * Get ref
-     *
-     * @return string 
-     */
-    public function getRef()
-    {
-        return $this->ref;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCLpItem
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCLpItem
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set path
-     *
-     * @param string $path
-     * @return EntityCLpItem
-     */
-    public function setPath($path)
-    {
-        $this->path = $path;
-
-        return $this;
-    }
-
-    /**
-     * Get path
-     *
-     * @return string 
-     */
-    public function getPath()
-    {
-        return $this->path;
-    }
-
-    /**
-     * Set minScore
-     *
-     * @param float $minScore
-     * @return EntityCLpItem
-     */
-    public function setMinScore($minScore)
-    {
-        $this->minScore = $minScore;
-
-        return $this;
-    }
-
-    /**
-     * Get minScore
-     *
-     * @return float 
-     */
-    public function getMinScore()
-    {
-        return $this->minScore;
-    }
-
-    /**
-     * Set maxScore
-     *
-     * @param float $maxScore
-     * @return EntityCLpItem
-     */
-    public function setMaxScore($maxScore)
-    {
-        $this->maxScore = $maxScore;
-
-        return $this;
-    }
-
-    /**
-     * Get maxScore
-     *
-     * @return float 
-     */
-    public function getMaxScore()
-    {
-        return $this->maxScore;
-    }
-
-    /**
-     * Set masteryScore
-     *
-     * @param float $masteryScore
-     * @return EntityCLpItem
-     */
-    public function setMasteryScore($masteryScore)
-    {
-        $this->masteryScore = $masteryScore;
-
-        return $this;
-    }
-
-    /**
-     * Get masteryScore
-     *
-     * @return float 
-     */
-    public function getMasteryScore()
-    {
-        return $this->masteryScore;
-    }
-
-    /**
-     * Set parentItemId
-     *
-     * @param integer $parentItemId
-     * @return EntityCLpItem
-     */
-    public function setParentItemId($parentItemId)
-    {
-        $this->parentItemId = $parentItemId;
-
-        return $this;
-    }
-
-    /**
-     * Get parentItemId
-     *
-     * @return integer 
-     */
-    public function getParentItemId()
-    {
-        return $this->parentItemId;
-    }
-
-    /**
-     * Set previousItemId
-     *
-     * @param integer $previousItemId
-     * @return EntityCLpItem
-     */
-    public function setPreviousItemId($previousItemId)
-    {
-        $this->previousItemId = $previousItemId;
-
-        return $this;
-    }
-
-    /**
-     * Get previousItemId
-     *
-     * @return integer 
-     */
-    public function getPreviousItemId()
-    {
-        return $this->previousItemId;
-    }
-
-    /**
-     * Set nextItemId
-     *
-     * @param integer $nextItemId
-     * @return EntityCLpItem
-     */
-    public function setNextItemId($nextItemId)
-    {
-        $this->nextItemId = $nextItemId;
-
-        return $this;
-    }
-
-    /**
-     * Get nextItemId
-     *
-     * @return integer 
-     */
-    public function getNextItemId()
-    {
-        return $this->nextItemId;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCLpItem
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-
-    /**
-     * Set prerequisite
-     *
-     * @param string $prerequisite
-     * @return EntityCLpItem
-     */
-    public function setPrerequisite($prerequisite)
-    {
-        $this->prerequisite = $prerequisite;
-
-        return $this;
-    }
-
-    /**
-     * Get prerequisite
-     *
-     * @return string 
-     */
-    public function getPrerequisite()
-    {
-        return $this->prerequisite;
-    }
-
-    /**
-     * Set parameters
-     *
-     * @param string $parameters
-     * @return EntityCLpItem
-     */
-    public function setParameters($parameters)
-    {
-        $this->parameters = $parameters;
-
-        return $this;
-    }
-
-    /**
-     * Get parameters
-     *
-     * @return string 
-     */
-    public function getParameters()
-    {
-        return $this->parameters;
-    }
-
-    /**
-     * Set launchData
-     *
-     * @param string $launchData
-     * @return EntityCLpItem
-     */
-    public function setLaunchData($launchData)
-    {
-        $this->launchData = $launchData;
-
-        return $this;
-    }
-
-    /**
-     * Get launchData
-     *
-     * @return string 
-     */
-    public function getLaunchData()
-    {
-        return $this->launchData;
-    }
-
-    /**
-     * Set maxTimeAllowed
-     *
-     * @param string $maxTimeAllowed
-     * @return EntityCLpItem
-     */
-    public function setMaxTimeAllowed($maxTimeAllowed)
-    {
-        $this->maxTimeAllowed = $maxTimeAllowed;
-
-        return $this;
-    }
-
-    /**
-     * Get maxTimeAllowed
-     *
-     * @return string 
-     */
-    public function getMaxTimeAllowed()
-    {
-        return $this->maxTimeAllowed;
-    }
-
-    /**
-     * Set terms
-     *
-     * @param string $terms
-     * @return EntityCLpItem
-     */
-    public function setTerms($terms)
-    {
-        $this->terms = $terms;
-
-        return $this;
-    }
-
-    /**
-     * Get terms
-     *
-     * @return string 
-     */
-    public function getTerms()
-    {
-        return $this->terms;
-    }
-
-    /**
-     * Set searchDid
-     *
-     * @param integer $searchDid
-     * @return EntityCLpItem
-     */
-    public function setSearchDid($searchDid)
-    {
-        $this->searchDid = $searchDid;
-
-        return $this;
-    }
-
-    /**
-     * Get searchDid
-     *
-     * @return integer 
-     */
-    public function getSearchDid()
-    {
-        return $this->searchDid;
-    }
-
-    /**
-     * Set audio
-     *
-     * @param string $audio
-     * @return EntityCLpItem
-     */
-    public function setAudio($audio)
-    {
-        $this->audio = $audio;
-
-        return $this;
-    }
-
-    /**
-     * Get audio
-     *
-     * @return string 
-     */
-    public function getAudio()
-    {
-        return $this->audio;
-    }
-}

+ 0 - 409
main/inc/Entity/EntityCLpItemView.php

@@ -1,409 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLpItemView
- *
- * @Table(name="c_lp_item_view")
- * @Entity
- */
-class EntityCLpItemView
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lp_item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lpItemId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lp_view_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lpViewId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="view_count", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $viewCount;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="start_time", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $startTime;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="total_time", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $totalTime;
-
-    /**
-     * @var float
-     *
-     * @Column(name="score", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $score;
-
-    /**
-     * @var string
-     *
-     * @Column(name="status", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $status;
-
-    /**
-     * @var string
-     *
-     * @Column(name="suspend_data", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $suspendData;
-
-    /**
-     * @var string
-     *
-     * @Column(name="lesson_location", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $lessonLocation;
-
-    /**
-     * @var string
-     *
-     * @Column(name="core_exit", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $coreExit;
-
-    /**
-     * @var string
-     *
-     * @Column(name="max_score", type="string", length=8, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxScore;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLpItemView
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLpItemView
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set lpItemId
-     *
-     * @param integer $lpItemId
-     * @return EntityCLpItemView
-     */
-    public function setLpItemId($lpItemId)
-    {
-        $this->lpItemId = $lpItemId;
-
-        return $this;
-    }
-
-    /**
-     * Get lpItemId
-     *
-     * @return integer 
-     */
-    public function getLpItemId()
-    {
-        return $this->lpItemId;
-    }
-
-    /**
-     * Set lpViewId
-     *
-     * @param integer $lpViewId
-     * @return EntityCLpItemView
-     */
-    public function setLpViewId($lpViewId)
-    {
-        $this->lpViewId = $lpViewId;
-
-        return $this;
-    }
-
-    /**
-     * Get lpViewId
-     *
-     * @return integer 
-     */
-    public function getLpViewId()
-    {
-        return $this->lpViewId;
-    }
-
-    /**
-     * Set viewCount
-     *
-     * @param integer $viewCount
-     * @return EntityCLpItemView
-     */
-    public function setViewCount($viewCount)
-    {
-        $this->viewCount = $viewCount;
-
-        return $this;
-    }
-
-    /**
-     * Get viewCount
-     *
-     * @return integer 
-     */
-    public function getViewCount()
-    {
-        return $this->viewCount;
-    }
-
-    /**
-     * Set startTime
-     *
-     * @param integer $startTime
-     * @return EntityCLpItemView
-     */
-    public function setStartTime($startTime)
-    {
-        $this->startTime = $startTime;
-
-        return $this;
-    }
-
-    /**
-     * Get startTime
-     *
-     * @return integer 
-     */
-    public function getStartTime()
-    {
-        return $this->startTime;
-    }
-
-    /**
-     * Set totalTime
-     *
-     * @param integer $totalTime
-     * @return EntityCLpItemView
-     */
-    public function setTotalTime($totalTime)
-    {
-        $this->totalTime = $totalTime;
-
-        return $this;
-    }
-
-    /**
-     * Get totalTime
-     *
-     * @return integer 
-     */
-    public function getTotalTime()
-    {
-        return $this->totalTime;
-    }
-
-    /**
-     * Set score
-     *
-     * @param float $score
-     * @return EntityCLpItemView
-     */
-    public function setScore($score)
-    {
-        $this->score = $score;
-
-        return $this;
-    }
-
-    /**
-     * Get score
-     *
-     * @return float 
-     */
-    public function getScore()
-    {
-        return $this->score;
-    }
-
-    /**
-     * Set status
-     *
-     * @param string $status
-     * @return EntityCLpItemView
-     */
-    public function setStatus($status)
-    {
-        $this->status = $status;
-
-        return $this;
-    }
-
-    /**
-     * Get status
-     *
-     * @return string 
-     */
-    public function getStatus()
-    {
-        return $this->status;
-    }
-
-    /**
-     * Set suspendData
-     *
-     * @param string $suspendData
-     * @return EntityCLpItemView
-     */
-    public function setSuspendData($suspendData)
-    {
-        $this->suspendData = $suspendData;
-
-        return $this;
-    }
-
-    /**
-     * Get suspendData
-     *
-     * @return string 
-     */
-    public function getSuspendData()
-    {
-        return $this->suspendData;
-    }
-
-    /**
-     * Set lessonLocation
-     *
-     * @param string $lessonLocation
-     * @return EntityCLpItemView
-     */
-    public function setLessonLocation($lessonLocation)
-    {
-        $this->lessonLocation = $lessonLocation;
-
-        return $this;
-    }
-
-    /**
-     * Get lessonLocation
-     *
-     * @return string 
-     */
-    public function getLessonLocation()
-    {
-        return $this->lessonLocation;
-    }
-
-    /**
-     * Set coreExit
-     *
-     * @param string $coreExit
-     * @return EntityCLpItemView
-     */
-    public function setCoreExit($coreExit)
-    {
-        $this->coreExit = $coreExit;
-
-        return $this;
-    }
-
-    /**
-     * Get coreExit
-     *
-     * @return string 
-     */
-    public function getCoreExit()
-    {
-        return $this->coreExit;
-    }
-
-    /**
-     * Set maxScore
-     *
-     * @param string $maxScore
-     * @return EntityCLpItemView
-     */
-    public function setMaxScore($maxScore)
-    {
-        $this->maxScore = $maxScore;
-
-        return $this;
-    }
-
-    /**
-     * Get maxScore
-     *
-     * @return string 
-     */
-    public function getMaxScore()
-    {
-        return $this->maxScore;
-    }
-}

+ 0 - 379
main/inc/Entity/EntityCLpIvInteraction.php

@@ -1,379 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLpIvInteraction
- *
- * @Table(name="c_lp_iv_interaction")
- * @Entity
- */
-class EntityCLpIvInteraction
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="order_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $orderId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lp_iv_id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lpIvId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="interaction_id", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $interactionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="interaction_type", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $interactionType;
-
-    /**
-     * @var float
-     *
-     * @Column(name="weighting", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $weighting;
-
-    /**
-     * @var string
-     *
-     * @Column(name="completion_time", type="string", length=16, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $completionTime;
-
-    /**
-     * @var string
-     *
-     * @Column(name="correct_responses", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $correctResponses;
-
-    /**
-     * @var string
-     *
-     * @Column(name="student_response", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $studentResponse;
-
-    /**
-     * @var string
-     *
-     * @Column(name="result", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $result;
-
-    /**
-     * @var string
-     *
-     * @Column(name="latency", type="string", length=16, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $latency;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLpIvInteraction
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLpIvInteraction
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set orderId
-     *
-     * @param integer $orderId
-     * @return EntityCLpIvInteraction
-     */
-    public function setOrderId($orderId)
-    {
-        $this->orderId = $orderId;
-
-        return $this;
-    }
-
-    /**
-     * Get orderId
-     *
-     * @return integer 
-     */
-    public function getOrderId()
-    {
-        return $this->orderId;
-    }
-
-    /**
-     * Set lpIvId
-     *
-     * @param integer $lpIvId
-     * @return EntityCLpIvInteraction
-     */
-    public function setLpIvId($lpIvId)
-    {
-        $this->lpIvId = $lpIvId;
-
-        return $this;
-    }
-
-    /**
-     * Get lpIvId
-     *
-     * @return integer 
-     */
-    public function getLpIvId()
-    {
-        return $this->lpIvId;
-    }
-
-    /**
-     * Set interactionId
-     *
-     * @param string $interactionId
-     * @return EntityCLpIvInteraction
-     */
-    public function setInteractionId($interactionId)
-    {
-        $this->interactionId = $interactionId;
-
-        return $this;
-    }
-
-    /**
-     * Get interactionId
-     *
-     * @return string 
-     */
-    public function getInteractionId()
-    {
-        return $this->interactionId;
-    }
-
-    /**
-     * Set interactionType
-     *
-     * @param string $interactionType
-     * @return EntityCLpIvInteraction
-     */
-    public function setInteractionType($interactionType)
-    {
-        $this->interactionType = $interactionType;
-
-        return $this;
-    }
-
-    /**
-     * Get interactionType
-     *
-     * @return string 
-     */
-    public function getInteractionType()
-    {
-        return $this->interactionType;
-    }
-
-    /**
-     * Set weighting
-     *
-     * @param float $weighting
-     * @return EntityCLpIvInteraction
-     */
-    public function setWeighting($weighting)
-    {
-        $this->weighting = $weighting;
-
-        return $this;
-    }
-
-    /**
-     * Get weighting
-     *
-     * @return float 
-     */
-    public function getWeighting()
-    {
-        return $this->weighting;
-    }
-
-    /**
-     * Set completionTime
-     *
-     * @param string $completionTime
-     * @return EntityCLpIvInteraction
-     */
-    public function setCompletionTime($completionTime)
-    {
-        $this->completionTime = $completionTime;
-
-        return $this;
-    }
-
-    /**
-     * Get completionTime
-     *
-     * @return string 
-     */
-    public function getCompletionTime()
-    {
-        return $this->completionTime;
-    }
-
-    /**
-     * Set correctResponses
-     *
-     * @param string $correctResponses
-     * @return EntityCLpIvInteraction
-     */
-    public function setCorrectResponses($correctResponses)
-    {
-        $this->correctResponses = $correctResponses;
-
-        return $this;
-    }
-
-    /**
-     * Get correctResponses
-     *
-     * @return string 
-     */
-    public function getCorrectResponses()
-    {
-        return $this->correctResponses;
-    }
-
-    /**
-     * Set studentResponse
-     *
-     * @param string $studentResponse
-     * @return EntityCLpIvInteraction
-     */
-    public function setStudentResponse($studentResponse)
-    {
-        $this->studentResponse = $studentResponse;
-
-        return $this;
-    }
-
-    /**
-     * Get studentResponse
-     *
-     * @return string 
-     */
-    public function getStudentResponse()
-    {
-        return $this->studentResponse;
-    }
-
-    /**
-     * Set result
-     *
-     * @param string $result
-     * @return EntityCLpIvInteraction
-     */
-    public function setResult($result)
-    {
-        $this->result = $result;
-
-        return $this;
-    }
-
-    /**
-     * Get result
-     *
-     * @return string 
-     */
-    public function getResult()
-    {
-        return $this->result;
-    }
-
-    /**
-     * Set latency
-     *
-     * @param string $latency
-     * @return EntityCLpIvInteraction
-     */
-    public function setLatency($latency)
-    {
-        $this->latency = $latency;
-
-        return $this;
-    }
-
-    /**
-     * Get latency
-     *
-     * @return string 
-     */
-    public function getLatency()
-    {
-        return $this->latency;
-    }
-}

+ 0 - 289
main/inc/Entity/EntityCLpIvObjective.php

@@ -1,289 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLpIvObjective
- *
- * @Table(name="c_lp_iv_objective")
- * @Entity
- */
-class EntityCLpIvObjective
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lp_iv_id", type="bigint", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lpIvId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="order_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $orderId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="objective_id", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $objectiveId;
-
-    /**
-     * @var float
-     *
-     * @Column(name="score_raw", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $scoreRaw;
-
-    /**
-     * @var float
-     *
-     * @Column(name="score_max", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $scoreMax;
-
-    /**
-     * @var float
-     *
-     * @Column(name="score_min", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $scoreMin;
-
-    /**
-     * @var string
-     *
-     * @Column(name="status", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $status;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLpIvObjective
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLpIvObjective
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set lpIvId
-     *
-     * @param integer $lpIvId
-     * @return EntityCLpIvObjective
-     */
-    public function setLpIvId($lpIvId)
-    {
-        $this->lpIvId = $lpIvId;
-
-        return $this;
-    }
-
-    /**
-     * Get lpIvId
-     *
-     * @return integer 
-     */
-    public function getLpIvId()
-    {
-        return $this->lpIvId;
-    }
-
-    /**
-     * Set orderId
-     *
-     * @param integer $orderId
-     * @return EntityCLpIvObjective
-     */
-    public function setOrderId($orderId)
-    {
-        $this->orderId = $orderId;
-
-        return $this;
-    }
-
-    /**
-     * Get orderId
-     *
-     * @return integer 
-     */
-    public function getOrderId()
-    {
-        return $this->orderId;
-    }
-
-    /**
-     * Set objectiveId
-     *
-     * @param string $objectiveId
-     * @return EntityCLpIvObjective
-     */
-    public function setObjectiveId($objectiveId)
-    {
-        $this->objectiveId = $objectiveId;
-
-        return $this;
-    }
-
-    /**
-     * Get objectiveId
-     *
-     * @return string 
-     */
-    public function getObjectiveId()
-    {
-        return $this->objectiveId;
-    }
-
-    /**
-     * Set scoreRaw
-     *
-     * @param float $scoreRaw
-     * @return EntityCLpIvObjective
-     */
-    public function setScoreRaw($scoreRaw)
-    {
-        $this->scoreRaw = $scoreRaw;
-
-        return $this;
-    }
-
-    /**
-     * Get scoreRaw
-     *
-     * @return float 
-     */
-    public function getScoreRaw()
-    {
-        return $this->scoreRaw;
-    }
-
-    /**
-     * Set scoreMax
-     *
-     * @param float $scoreMax
-     * @return EntityCLpIvObjective
-     */
-    public function setScoreMax($scoreMax)
-    {
-        $this->scoreMax = $scoreMax;
-
-        return $this;
-    }
-
-    /**
-     * Get scoreMax
-     *
-     * @return float 
-     */
-    public function getScoreMax()
-    {
-        return $this->scoreMax;
-    }
-
-    /**
-     * Set scoreMin
-     *
-     * @param float $scoreMin
-     * @return EntityCLpIvObjective
-     */
-    public function setScoreMin($scoreMin)
-    {
-        $this->scoreMin = $scoreMin;
-
-        return $this;
-    }
-
-    /**
-     * Get scoreMin
-     *
-     * @return float 
-     */
-    public function getScoreMin()
-    {
-        return $this->scoreMin;
-    }
-
-    /**
-     * Set status
-     *
-     * @param string $status
-     * @return EntityCLpIvObjective
-     */
-    public function setStatus($status)
-    {
-        $this->status = $status;
-
-        return $this;
-    }
-
-    /**
-     * Get status
-     *
-     * @return string 
-     */
-    public function getStatus()
-    {
-        return $this->status;
-    }
-}

+ 0 - 259
main/inc/Entity/EntityCLpView.php

@@ -1,259 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCLpView
- *
- * @Table(name="c_lp_view")
- * @Entity
- */
-class EntityCLpView
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="lp_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lpId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="view_count", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $viewCount;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="last_item", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lastItem;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="progress", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $progress;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCLpView
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCLpView
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set lpId
-     *
-     * @param integer $lpId
-     * @return EntityCLpView
-     */
-    public function setLpId($lpId)
-    {
-        $this->lpId = $lpId;
-
-        return $this;
-    }
-
-    /**
-     * Get lpId
-     *
-     * @return integer 
-     */
-    public function getLpId()
-    {
-        return $this->lpId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCLpView
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set viewCount
-     *
-     * @param integer $viewCount
-     * @return EntityCLpView
-     */
-    public function setViewCount($viewCount)
-    {
-        $this->viewCount = $viewCount;
-
-        return $this;
-    }
-
-    /**
-     * Get viewCount
-     *
-     * @return integer 
-     */
-    public function getViewCount()
-    {
-        return $this->viewCount;
-    }
-
-    /**
-     * Set lastItem
-     *
-     * @param integer $lastItem
-     * @return EntityCLpView
-     */
-    public function setLastItem($lastItem)
-    {
-        $this->lastItem = $lastItem;
-
-        return $this;
-    }
-
-    /**
-     * Get lastItem
-     *
-     * @return integer 
-     */
-    public function getLastItem()
-    {
-        return $this->lastItem;
-    }
-
-    /**
-     * Set progress
-     *
-     * @param integer $progress
-     * @return EntityCLpView
-     */
-    public function setProgress($progress)
-    {
-        $this->progress = $progress;
-
-        return $this;
-    }
-
-    /**
-     * Get progress
-     *
-     * @return integer 
-     */
-    public function getProgress()
-    {
-        return $this->progress;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCLpView
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCMetadata.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCMetadata
- *
- * @Table(name="c_metadata")
- * @Entity
- */
-class EntityCMetadata
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="eid", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $eid;
-
-    /**
-     * @var string
-     *
-     * @Column(name="mdxmltext", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $mdxmltext;
-
-    /**
-     * @var string
-     *
-     * @Column(name="md5", type="string", length=32, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $md5;
-
-    /**
-     * @var string
-     *
-     * @Column(name="htmlcache1", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $htmlcache1;
-
-    /**
-     * @var string
-     *
-     * @Column(name="htmlcache2", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $htmlcache2;
-
-    /**
-     * @var string
-     *
-     * @Column(name="indexabletext", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $indexabletext;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCMetadata
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set eid
-     *
-     * @param string $eid
-     * @return EntityCMetadata
-     */
-    public function setEid($eid)
-    {
-        $this->eid = $eid;
-
-        return $this;
-    }
-
-    /**
-     * Get eid
-     *
-     * @return string 
-     */
-    public function getEid()
-    {
-        return $this->eid;
-    }
-
-    /**
-     * Set mdxmltext
-     *
-     * @param string $mdxmltext
-     * @return EntityCMetadata
-     */
-    public function setMdxmltext($mdxmltext)
-    {
-        $this->mdxmltext = $mdxmltext;
-
-        return $this;
-    }
-
-    /**
-     * Get mdxmltext
-     *
-     * @return string 
-     */
-    public function getMdxmltext()
-    {
-        return $this->mdxmltext;
-    }
-
-    /**
-     * Set md5
-     *
-     * @param string $md5
-     * @return EntityCMetadata
-     */
-    public function setMd5($md5)
-    {
-        $this->md5 = $md5;
-
-        return $this;
-    }
-
-    /**
-     * Get md5
-     *
-     * @return string 
-     */
-    public function getMd5()
-    {
-        return $this->md5;
-    }
-
-    /**
-     * Set htmlcache1
-     *
-     * @param string $htmlcache1
-     * @return EntityCMetadata
-     */
-    public function setHtmlcache1($htmlcache1)
-    {
-        $this->htmlcache1 = $htmlcache1;
-
-        return $this;
-    }
-
-    /**
-     * Get htmlcache1
-     *
-     * @return string 
-     */
-    public function getHtmlcache1()
-    {
-        return $this->htmlcache1;
-    }
-
-    /**
-     * Set htmlcache2
-     *
-     * @param string $htmlcache2
-     * @return EntityCMetadata
-     */
-    public function setHtmlcache2($htmlcache2)
-    {
-        $this->htmlcache2 = $htmlcache2;
-
-        return $this;
-    }
-
-    /**
-     * Get htmlcache2
-     *
-     * @return string 
-     */
-    public function getHtmlcache2()
-    {
-        return $this->htmlcache2;
-    }
-
-    /**
-     * Set indexabletext
-     *
-     * @param string $indexabletext
-     * @return EntityCMetadata
-     */
-    public function setIndexabletext($indexabletext)
-    {
-        $this->indexabletext = $indexabletext;
-
-        return $this;
-    }
-
-    /**
-     * Get indexabletext
-     *
-     * @return string 
-     */
-    public function getIndexabletext()
-    {
-        return $this->indexabletext;
-    }
-}

+ 0 - 319
main/inc/Entity/EntityCNotebook.php

@@ -1,319 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCNotebook
- *
- * @Table(name="c_notebook")
- * @Entity
- */
-class EntityCNotebook
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="notebook_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $notebookId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="course", type="string", length=40, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $course;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $creationDate;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="update_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $updateDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="status", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $status;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCNotebook
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set notebookId
-     *
-     * @param integer $notebookId
-     * @return EntityCNotebook
-     */
-    public function setNotebookId($notebookId)
-    {
-        $this->notebookId = $notebookId;
-
-        return $this;
-    }
-
-    /**
-     * Get notebookId
-     *
-     * @return integer 
-     */
-    public function getNotebookId()
-    {
-        return $this->notebookId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCNotebook
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set course
-     *
-     * @param string $course
-     * @return EntityCNotebook
-     */
-    public function setCourse($course)
-    {
-        $this->course = $course;
-
-        return $this;
-    }
-
-    /**
-     * Get course
-     *
-     * @return string 
-     */
-    public function getCourse()
-    {
-        return $this->course;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCNotebook
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCNotebook
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCNotebook
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set creationDate
-     *
-     * @param \DateTime $creationDate
-     * @return EntityCNotebook
-     */
-    public function setCreationDate($creationDate)
-    {
-        $this->creationDate = $creationDate;
-
-        return $this;
-    }
-
-    /**
-     * Get creationDate
-     *
-     * @return \DateTime 
-     */
-    public function getCreationDate()
-    {
-        return $this->creationDate;
-    }
-
-    /**
-     * Set updateDate
-     *
-     * @param \DateTime $updateDate
-     * @return EntityCNotebook
-     */
-    public function setUpdateDate($updateDate)
-    {
-        $this->updateDate = $updateDate;
-
-        return $this;
-    }
-
-    /**
-     * Get updateDate
-     *
-     * @return \DateTime 
-     */
-    public function getUpdateDate()
-    {
-        return $this->updateDate;
-    }
-
-    /**
-     * Set status
-     *
-     * @param integer $status
-     * @return EntityCNotebook
-     */
-    public function setStatus($status)
-    {
-        $this->status = $status;
-
-        return $this;
-    }
-
-    /**
-     * Get status
-     *
-     * @return integer 
-     */
-    public function getStatus()
-    {
-        return $this->status;
-    }
-}

+ 0 - 109
main/inc/Entity/EntityCOnlineConnected.php

@@ -1,109 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCOnlineConnected
- *
- * @Table(name="c_online_connected")
- * @Entity
- */
-class EntityCOnlineConnected
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="last_connection", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lastConnection;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCOnlineConnected
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCOnlineConnected
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set lastConnection
-     *
-     * @param \DateTime $lastConnection
-     * @return EntityCOnlineConnected
-     */
-    public function setLastConnection($lastConnection)
-    {
-        $this->lastConnection = $lastConnection;
-
-        return $this;
-    }
-
-    /**
-     * Get lastConnection
-     *
-     * @return \DateTime 
-     */
-    public function getLastConnection()
-    {
-        return $this->lastConnection;
-    }
-}

+ 0 - 139
main/inc/Entity/EntityCOnlineLink.php

@@ -1,139 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCOnlineLink
- *
- * @Table(name="c_online_link")
- * @Entity
- */
-class EntityCOnlineLink
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var string
-     *
-     * @Column(name="url", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $url;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCOnlineLink
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCOnlineLink
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityCOnlineLink
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set url
-     *
-     * @param string $url
-     * @return EntityCOnlineLink
-     */
-    public function setUrl($url)
-    {
-        $this->url = $url;
-
-        return $this;
-    }
-
-    /**
-     * Get url
-     *
-     * @return string 
-     */
-    public function getUrl()
-    {
-        return $this->url;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCPermissionGroup.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCPermissionGroup
- *
- * @Table(name="c_permission_group")
- * @Entity
- */
-class EntityCPermissionGroup
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $groupId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="tool", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $tool;
-
-    /**
-     * @var string
-     *
-     * @Column(name="action", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $action;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCPermissionGroup
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCPermissionGroup
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set groupId
-     *
-     * @param integer $groupId
-     * @return EntityCPermissionGroup
-     */
-    public function setGroupId($groupId)
-    {
-        $this->groupId = $groupId;
-
-        return $this;
-    }
-
-    /**
-     * Get groupId
-     *
-     * @return integer 
-     */
-    public function getGroupId()
-    {
-        return $this->groupId;
-    }
-
-    /**
-     * Set tool
-     *
-     * @param string $tool
-     * @return EntityCPermissionGroup
-     */
-    public function setTool($tool)
-    {
-        $this->tool = $tool;
-
-        return $this;
-    }
-
-    /**
-     * Get tool
-     *
-     * @return string 
-     */
-    public function getTool()
-    {
-        return $this->tool;
-    }
-
-    /**
-     * Set action
-     *
-     * @param string $action
-     * @return EntityCPermissionGroup
-     */
-    public function setAction($action)
-    {
-        $this->action = $action;
-
-        return $this;
-    }
-
-    /**
-     * Get action
-     *
-     * @return string 
-     */
-    public function getAction()
-    {
-        return $this->action;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCPermissionTask.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCPermissionTask
- *
- * @Table(name="c_permission_task")
- * @Entity
- */
-class EntityCPermissionTask
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="task_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $taskId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="tool", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $tool;
-
-    /**
-     * @var string
-     *
-     * @Column(name="action", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $action;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCPermissionTask
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCPermissionTask
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set taskId
-     *
-     * @param integer $taskId
-     * @return EntityCPermissionTask
-     */
-    public function setTaskId($taskId)
-    {
-        $this->taskId = $taskId;
-
-        return $this;
-    }
-
-    /**
-     * Get taskId
-     *
-     * @return integer 
-     */
-    public function getTaskId()
-    {
-        return $this->taskId;
-    }
-
-    /**
-     * Set tool
-     *
-     * @param string $tool
-     * @return EntityCPermissionTask
-     */
-    public function setTool($tool)
-    {
-        $this->tool = $tool;
-
-        return $this;
-    }
-
-    /**
-     * Get tool
-     *
-     * @return string 
-     */
-    public function getTool()
-    {
-        return $this->tool;
-    }
-
-    /**
-     * Set action
-     *
-     * @param string $action
-     * @return EntityCPermissionTask
-     */
-    public function setAction($action)
-    {
-        $this->action = $action;
-
-        return $this;
-    }
-
-    /**
-     * Get action
-     *
-     * @return string 
-     */
-    public function getAction()
-    {
-        return $this->action;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCPermissionUser.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCPermissionUser
- *
- * @Table(name="c_permission_user")
- * @Entity
- */
-class EntityCPermissionUser
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="tool", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $tool;
-
-    /**
-     * @var string
-     *
-     * @Column(name="action", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $action;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCPermissionUser
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCPermissionUser
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCPermissionUser
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set tool
-     *
-     * @param string $tool
-     * @return EntityCPermissionUser
-     */
-    public function setTool($tool)
-    {
-        $this->tool = $tool;
-
-        return $this;
-    }
-
-    /**
-     * Get tool
-     *
-     * @return string 
-     */
-    public function getTool()
-    {
-        return $this->tool;
-    }
-
-    /**
-     * Set action
-     *
-     * @param string $action
-     * @return EntityCPermissionUser
-     */
-    public function setAction($action)
-    {
-        $this->action = $action;
-
-        return $this;
-    }
-
-    /**
-     * Get action
-     *
-     * @return string 
-     */
-    public function getAction()
-    {
-        return $this->action;
-    }
-}

+ 0 - 709
main/inc/Entity/EntityCQuiz.php

@@ -1,709 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuiz
- *
- * @Table(name="c_quiz")
- * @Entity
- */
-class EntityCQuiz
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var string
-     *
-     * @Column(name="sound", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sound;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="type", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $type;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="random", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $random;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="random_answers", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $randomAnswers;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $active;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="results_disabled", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $resultsDisabled;
-
-    /**
-     * @var string
-     *
-     * @Column(name="access_condition", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $accessCondition;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="max_attempt", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $maxAttempt;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="start_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $startTime;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="end_time", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $endTime;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="feedback_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedbackType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="expired_time", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $expiredTime;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="propagate_neg", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $propagateNeg;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="review_answers", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $reviewAnswers;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="random_by_category", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $randomByCategory;
-
-    /**
-     * @var string
-     *
-     * @Column(name="text_when_finished", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $textWhenFinished;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_category_name", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayCategoryName;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="pass_percentage", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $passPercentage;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuiz
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCQuiz
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCQuiz
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCQuiz
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set sound
-     *
-     * @param string $sound
-     * @return EntityCQuiz
-     */
-    public function setSound($sound)
-    {
-        $this->sound = $sound;
-
-        return $this;
-    }
-
-    /**
-     * Get sound
-     *
-     * @return string 
-     */
-    public function getSound()
-    {
-        return $this->sound;
-    }
-
-    /**
-     * Set type
-     *
-     * @param boolean $type
-     * @return EntityCQuiz
-     */
-    public function setType($type)
-    {
-        $this->type = $type;
-
-        return $this;
-    }
-
-    /**
-     * Get type
-     *
-     * @return boolean 
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-
-    /**
-     * Set random
-     *
-     * @param integer $random
-     * @return EntityCQuiz
-     */
-    public function setRandom($random)
-    {
-        $this->random = $random;
-
-        return $this;
-    }
-
-    /**
-     * Get random
-     *
-     * @return integer 
-     */
-    public function getRandom()
-    {
-        return $this->random;
-    }
-
-    /**
-     * Set randomAnswers
-     *
-     * @param boolean $randomAnswers
-     * @return EntityCQuiz
-     */
-    public function setRandomAnswers($randomAnswers)
-    {
-        $this->randomAnswers = $randomAnswers;
-
-        return $this;
-    }
-
-    /**
-     * Get randomAnswers
-     *
-     * @return boolean 
-     */
-    public function getRandomAnswers()
-    {
-        return $this->randomAnswers;
-    }
-
-    /**
-     * Set active
-     *
-     * @param boolean $active
-     * @return EntityCQuiz
-     */
-    public function setActive($active)
-    {
-        $this->active = $active;
-
-        return $this;
-    }
-
-    /**
-     * Get active
-     *
-     * @return boolean 
-     */
-    public function getActive()
-    {
-        return $this->active;
-    }
-
-    /**
-     * Set resultsDisabled
-     *
-     * @param integer $resultsDisabled
-     * @return EntityCQuiz
-     */
-    public function setResultsDisabled($resultsDisabled)
-    {
-        $this->resultsDisabled = $resultsDisabled;
-
-        return $this;
-    }
-
-    /**
-     * Get resultsDisabled
-     *
-     * @return integer 
-     */
-    public function getResultsDisabled()
-    {
-        return $this->resultsDisabled;
-    }
-
-    /**
-     * Set accessCondition
-     *
-     * @param string $accessCondition
-     * @return EntityCQuiz
-     */
-    public function setAccessCondition($accessCondition)
-    {
-        $this->accessCondition = $accessCondition;
-
-        return $this;
-    }
-
-    /**
-     * Get accessCondition
-     *
-     * @return string 
-     */
-    public function getAccessCondition()
-    {
-        return $this->accessCondition;
-    }
-
-    /**
-     * Set maxAttempt
-     *
-     * @param integer $maxAttempt
-     * @return EntityCQuiz
-     */
-    public function setMaxAttempt($maxAttempt)
-    {
-        $this->maxAttempt = $maxAttempt;
-
-        return $this;
-    }
-
-    /**
-     * Get maxAttempt
-     *
-     * @return integer 
-     */
-    public function getMaxAttempt()
-    {
-        return $this->maxAttempt;
-    }
-
-    /**
-     * Set startTime
-     *
-     * @param \DateTime $startTime
-     * @return EntityCQuiz
-     */
-    public function setStartTime($startTime)
-    {
-        $this->startTime = $startTime;
-
-        return $this;
-    }
-
-    /**
-     * Get startTime
-     *
-     * @return \DateTime 
-     */
-    public function getStartTime()
-    {
-        return $this->startTime;
-    }
-
-    /**
-     * Set endTime
-     *
-     * @param \DateTime $endTime
-     * @return EntityCQuiz
-     */
-    public function setEndTime($endTime)
-    {
-        $this->endTime = $endTime;
-
-        return $this;
-    }
-
-    /**
-     * Get endTime
-     *
-     * @return \DateTime 
-     */
-    public function getEndTime()
-    {
-        return $this->endTime;
-    }
-
-    /**
-     * Set feedbackType
-     *
-     * @param integer $feedbackType
-     * @return EntityCQuiz
-     */
-    public function setFeedbackType($feedbackType)
-    {
-        $this->feedbackType = $feedbackType;
-
-        return $this;
-    }
-
-    /**
-     * Get feedbackType
-     *
-     * @return integer 
-     */
-    public function getFeedbackType()
-    {
-        return $this->feedbackType;
-    }
-
-    /**
-     * Set expiredTime
-     *
-     * @param integer $expiredTime
-     * @return EntityCQuiz
-     */
-    public function setExpiredTime($expiredTime)
-    {
-        $this->expiredTime = $expiredTime;
-
-        return $this;
-    }
-
-    /**
-     * Get expiredTime
-     *
-     * @return integer 
-     */
-    public function getExpiredTime()
-    {
-        return $this->expiredTime;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCQuiz
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set propagateNeg
-     *
-     * @param integer $propagateNeg
-     * @return EntityCQuiz
-     */
-    public function setPropagateNeg($propagateNeg)
-    {
-        $this->propagateNeg = $propagateNeg;
-
-        return $this;
-    }
-
-    /**
-     * Get propagateNeg
-     *
-     * @return integer 
-     */
-    public function getPropagateNeg()
-    {
-        return $this->propagateNeg;
-    }
-
-    /**
-     * Set reviewAnswers
-     *
-     * @param integer $reviewAnswers
-     * @return EntityCQuiz
-     */
-    public function setReviewAnswers($reviewAnswers)
-    {
-        $this->reviewAnswers = $reviewAnswers;
-
-        return $this;
-    }
-
-    /**
-     * Get reviewAnswers
-     *
-     * @return integer 
-     */
-    public function getReviewAnswers()
-    {
-        return $this->reviewAnswers;
-    }
-
-    /**
-     * Set randomByCategory
-     *
-     * @param integer $randomByCategory
-     * @return EntityCQuiz
-     */
-    public function setRandomByCategory($randomByCategory)
-    {
-        $this->randomByCategory = $randomByCategory;
-
-        return $this;
-    }
-
-    /**
-     * Get randomByCategory
-     *
-     * @return integer 
-     */
-    public function getRandomByCategory()
-    {
-        return $this->randomByCategory;
-    }
-
-    /**
-     * Set textWhenFinished
-     *
-     * @param string $textWhenFinished
-     * @return EntityCQuiz
-     */
-    public function setTextWhenFinished($textWhenFinished)
-    {
-        $this->textWhenFinished = $textWhenFinished;
-
-        return $this;
-    }
-
-    /**
-     * Get textWhenFinished
-     *
-     * @return string 
-     */
-    public function getTextWhenFinished()
-    {
-        return $this->textWhenFinished;
-    }
-
-    /**
-     * Set displayCategoryName
-     *
-     * @param integer $displayCategoryName
-     * @return EntityCQuiz
-     */
-    public function setDisplayCategoryName($displayCategoryName)
-    {
-        $this->displayCategoryName = $displayCategoryName;
-
-        return $this;
-    }
-
-    /**
-     * Get displayCategoryName
-     *
-     * @return integer 
-     */
-    public function getDisplayCategoryName()
-    {
-        return $this->displayCategoryName;
-    }
-
-    /**
-     * Set passPercentage
-     *
-     * @param integer $passPercentage
-     * @return EntityCQuiz
-     */
-    public function setPassPercentage($passPercentage)
-    {
-        $this->passPercentage = $passPercentage;
-
-        return $this;
-    }
-
-    /**
-     * Get passPercentage
-     *
-     * @return integer 
-     */
-    public function getPassPercentage()
-    {
-        return $this->passPercentage;
-    }
-}

+ 0 - 409
main/inc/Entity/EntityCQuizAnswer.php

@@ -1,409 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizAnswer
- *
- * @Table(name="c_quiz_answer")
- * @Entity
- */
-class EntityCQuizAnswer
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id_auto", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $idAuto;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $questionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="answer", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $answer;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="correct", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $correct;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var float
-     *
-     * @Column(name="ponderation", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $ponderation;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="position", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $position;
-
-    /**
-     * @var string
-     *
-     * @Column(name="hotspot_coordinates", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $hotspotCoordinates;
-
-    /**
-     * @var string
-     *
-     * @Column(name="hotspot_type", type="string", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $hotspotType;
-
-    /**
-     * @var string
-     *
-     * @Column(name="destination", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $destination;
-
-    /**
-     * @var string
-     *
-     * @Column(name="answer_code", type="string", length=10, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $answerCode;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizAnswer
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set idAuto
-     *
-     * @param integer $idAuto
-     * @return EntityCQuizAnswer
-     */
-    public function setIdAuto($idAuto)
-    {
-        $this->idAuto = $idAuto;
-
-        return $this;
-    }
-
-    /**
-     * Get idAuto
-     *
-     * @return integer 
-     */
-    public function getIdAuto()
-    {
-        return $this->idAuto;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCQuizAnswer
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCQuizAnswer
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set answer
-     *
-     * @param string $answer
-     * @return EntityCQuizAnswer
-     */
-    public function setAnswer($answer)
-    {
-        $this->answer = $answer;
-
-        return $this;
-    }
-
-    /**
-     * Get answer
-     *
-     * @return string 
-     */
-    public function getAnswer()
-    {
-        return $this->answer;
-    }
-
-    /**
-     * Set correct
-     *
-     * @param integer $correct
-     * @return EntityCQuizAnswer
-     */
-    public function setCorrect($correct)
-    {
-        $this->correct = $correct;
-
-        return $this;
-    }
-
-    /**
-     * Get correct
-     *
-     * @return integer 
-     */
-    public function getCorrect()
-    {
-        return $this->correct;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCQuizAnswer
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set ponderation
-     *
-     * @param float $ponderation
-     * @return EntityCQuizAnswer
-     */
-    public function setPonderation($ponderation)
-    {
-        $this->ponderation = $ponderation;
-
-        return $this;
-    }
-
-    /**
-     * Get ponderation
-     *
-     * @return float 
-     */
-    public function getPonderation()
-    {
-        return $this->ponderation;
-    }
-
-    /**
-     * Set position
-     *
-     * @param integer $position
-     * @return EntityCQuizAnswer
-     */
-    public function setPosition($position)
-    {
-        $this->position = $position;
-
-        return $this;
-    }
-
-    /**
-     * Get position
-     *
-     * @return integer 
-     */
-    public function getPosition()
-    {
-        return $this->position;
-    }
-
-    /**
-     * Set hotspotCoordinates
-     *
-     * @param string $hotspotCoordinates
-     * @return EntityCQuizAnswer
-     */
-    public function setHotspotCoordinates($hotspotCoordinates)
-    {
-        $this->hotspotCoordinates = $hotspotCoordinates;
-
-        return $this;
-    }
-
-    /**
-     * Get hotspotCoordinates
-     *
-     * @return string 
-     */
-    public function getHotspotCoordinates()
-    {
-        return $this->hotspotCoordinates;
-    }
-
-    /**
-     * Set hotspotType
-     *
-     * @param string $hotspotType
-     * @return EntityCQuizAnswer
-     */
-    public function setHotspotType($hotspotType)
-    {
-        $this->hotspotType = $hotspotType;
-
-        return $this;
-    }
-
-    /**
-     * Get hotspotType
-     *
-     * @return string 
-     */
-    public function getHotspotType()
-    {
-        return $this->hotspotType;
-    }
-
-    /**
-     * Set destination
-     *
-     * @param string $destination
-     * @return EntityCQuizAnswer
-     */
-    public function setDestination($destination)
-    {
-        $this->destination = $destination;
-
-        return $this;
-    }
-
-    /**
-     * Get destination
-     *
-     * @return string 
-     */
-    public function getDestination()
-    {
-        return $this->destination;
-    }
-
-    /**
-     * Set answerCode
-     *
-     * @param string $answerCode
-     * @return EntityCQuizAnswer
-     */
-    public function setAnswerCode($answerCode)
-    {
-        $this->answerCode = $answerCode;
-
-        return $this;
-    }
-
-    /**
-     * Get answerCode
-     *
-     * @return string 
-     */
-    public function getAnswerCode()
-    {
-        return $this->answerCode;
-    }
-}

+ 0 - 154
main/inc/Entity/EntityCQuizOrder.php

@@ -1,154 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizOrder
- *
- * @Table(name="c_quiz_order")
- * @Entity
- */
-class EntityCQuizOrder
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="IDENTITY")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="exercise_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $exerciseId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="exercise_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $exerciseOrder;
-
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizOrder
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCQuizOrder
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set exerciseId
-     *
-     * @param integer $exerciseId
-     * @return EntityCQuizOrder
-     */
-    public function setExerciseId($exerciseId)
-    {
-        $this->exerciseId = $exerciseId;
-
-        return $this;
-    }
-
-    /**
-     * Get exerciseId
-     *
-     * @return integer 
-     */
-    public function getExerciseId()
-    {
-        return $this->exerciseId;
-    }
-
-    /**
-     * Set exerciseOrder
-     *
-     * @param integer $exerciseOrder
-     * @return EntityCQuizOrder
-     */
-    public function setExerciseOrder($exerciseOrder)
-    {
-        $this->exerciseOrder = $exerciseOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get exerciseOrder
-     *
-     * @return integer 
-     */
-    public function getExerciseOrder()
-    {
-        return $this->exerciseOrder;
-    }
-}

+ 0 - 379
main/inc/Entity/EntityCQuizQuestion.php

@@ -1,379 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizQuestion
- *
- * @Table(name="c_quiz_question")
- * @Entity
- */
-class EntityCQuizQuestion
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="question", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $question;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var float
-     *
-     * @Column(name="ponderation", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $ponderation;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="position", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $position;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="type", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $type;
-
-    /**
-     * @var string
-     *
-     * @Column(name="picture", type="string", length=50, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $picture;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="level", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $level;
-
-    /**
-     * @var string
-     *
-     * @Column(name="extra", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $extra;
-
-    /**
-     * @var string
-     *
-     * @Column(name="question_code", type="string", length=10, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $questionCode;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="parent_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $parentId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizQuestion
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCQuizQuestion
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set question
-     *
-     * @param string $question
-     * @return EntityCQuizQuestion
-     */
-    public function setQuestion($question)
-    {
-        $this->question = $question;
-
-        return $this;
-    }
-
-    /**
-     * Get question
-     *
-     * @return string 
-     */
-    public function getQuestion()
-    {
-        return $this->question;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCQuizQuestion
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set ponderation
-     *
-     * @param float $ponderation
-     * @return EntityCQuizQuestion
-     */
-    public function setPonderation($ponderation)
-    {
-        $this->ponderation = $ponderation;
-
-        return $this;
-    }
-
-    /**
-     * Get ponderation
-     *
-     * @return float 
-     */
-    public function getPonderation()
-    {
-        return $this->ponderation;
-    }
-
-    /**
-     * Set position
-     *
-     * @param integer $position
-     * @return EntityCQuizQuestion
-     */
-    public function setPosition($position)
-    {
-        $this->position = $position;
-
-        return $this;
-    }
-
-    /**
-     * Get position
-     *
-     * @return integer 
-     */
-    public function getPosition()
-    {
-        return $this->position;
-    }
-
-    /**
-     * Set type
-     *
-     * @param boolean $type
-     * @return EntityCQuizQuestion
-     */
-    public function setType($type)
-    {
-        $this->type = $type;
-
-        return $this;
-    }
-
-    /**
-     * Get type
-     *
-     * @return boolean 
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-
-    /**
-     * Set picture
-     *
-     * @param string $picture
-     * @return EntityCQuizQuestion
-     */
-    public function setPicture($picture)
-    {
-        $this->picture = $picture;
-
-        return $this;
-    }
-
-    /**
-     * Get picture
-     *
-     * @return string 
-     */
-    public function getPicture()
-    {
-        return $this->picture;
-    }
-
-    /**
-     * Set level
-     *
-     * @param integer $level
-     * @return EntityCQuizQuestion
-     */
-    public function setLevel($level)
-    {
-        $this->level = $level;
-
-        return $this;
-    }
-
-    /**
-     * Get level
-     *
-     * @return integer 
-     */
-    public function getLevel()
-    {
-        return $this->level;
-    }
-
-    /**
-     * Set extra
-     *
-     * @param string $extra
-     * @return EntityCQuizQuestion
-     */
-    public function setExtra($extra)
-    {
-        $this->extra = $extra;
-
-        return $this;
-    }
-
-    /**
-     * Get extra
-     *
-     * @return string 
-     */
-    public function getExtra()
-    {
-        return $this->extra;
-    }
-
-    /**
-     * Set questionCode
-     *
-     * @param string $questionCode
-     * @return EntityCQuizQuestion
-     */
-    public function setQuestionCode($questionCode)
-    {
-        $this->questionCode = $questionCode;
-
-        return $this;
-    }
-
-    /**
-     * Get questionCode
-     *
-     * @return string 
-     */
-    public function getQuestionCode()
-    {
-        return $this->questionCode;
-    }
-
-    /**
-     * Set parentId
-     *
-     * @param integer $parentId
-     * @return EntityCQuizQuestion
-     */
-    public function setParentId($parentId)
-    {
-        $this->parentId = $parentId;
-
-        return $this;
-    }
-
-    /**
-     * Get parentId
-     *
-     * @return integer 
-     */
-    public function getParentId()
-    {
-        return $this->parentId;
-    }
-}

+ 0 - 139
main/inc/Entity/EntityCQuizQuestionCategory.php

@@ -1,139 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizQuestionCategory
- *
- * @Table(name="c_quiz_question_category")
- * @Entity
- */
-class EntityCQuizQuestionCategory
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizQuestionCategory
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCQuizQuestionCategory
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCQuizQuestionCategory
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCQuizQuestionCategory
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCQuizQuestionOption.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizQuestionOption
- *
- * @Table(name="c_quiz_question_option")
- * @Entity
- */
-class EntityCQuizQuestionOption
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $questionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="position", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $position;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizQuestionOption
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCQuizQuestionOption
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCQuizQuestionOption
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityCQuizQuestionOption
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set position
-     *
-     * @param integer $position
-     * @return EntityCQuizQuestionOption
-     */
-    public function setPosition($position)
-    {
-        $this->position = $position;
-
-        return $this;
-    }
-
-    /**
-     * Get position
-     *
-     * @return integer 
-     */
-    public function getPosition()
-    {
-        return $this->position;
-    }
-}

+ 0 - 141
main/inc/Entity/EntityCQuizQuestionRelCategory.php

@@ -1,141 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizQuestionRelCategory
- *
- * @Table(name="c_quiz_question_rel_category")
- * @Entity
- */
-class EntityCQuizQuestionRelCategory
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $questionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $categoryId;
-
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCQuizQuestionRelCategory
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizQuestionRelCategory
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCQuizQuestionRelCategory
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set categoryId
-     *
-     * @param integer $categoryId
-     * @return EntityCQuizQuestionRelCategory
-     */
-    public function setCategoryId($categoryId)
-    {
-        $this->categoryId = $categoryId;
-
-        return $this;
-    }
-
-    /**
-     * Get categoryId
-     *
-     * @return integer 
-     */
-    public function getCategoryId()
-    {
-        return $this->categoryId;
-    }
-}

+ 0 - 141
main/inc/Entity/EntityCQuizRelQuestion.php

@@ -1,141 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCQuizRelQuestion
- *
- * @Table(name="c_quiz_rel_question")
- * @Entity
- */
-class EntityCQuizRelQuestion
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $questionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="exercice_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $exerciceId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $questionOrder;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCQuizRelQuestion
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCQuizRelQuestion
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set exerciceId
-     *
-     * @param integer $exerciceId
-     * @return EntityCQuizRelQuestion
-     */
-    public function setExerciceId($exerciceId)
-    {
-        $this->exerciceId = $exerciceId;
-
-        return $this;
-    }
-
-    /**
-     * Get exerciceId
-     *
-     * @return integer 
-     */
-    public function getExerciceId()
-    {
-        return $this->exerciceId;
-    }
-
-    /**
-     * Set questionOrder
-     *
-     * @param integer $questionOrder
-     * @return EntityCQuizRelQuestion
-     */
-    public function setQuestionOrder($questionOrder)
-    {
-        $this->questionOrder = $questionOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get questionOrder
-     *
-     * @return integer 
-     */
-    public function getQuestionOrder()
-    {
-        return $this->questionOrder;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCResource.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCResource
- *
- * @Table(name="c_resource")
- * @Entity
- */
-class EntityCResource
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="source_type", type="string", length=50, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sourceType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="source_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sourceId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="resource_type", type="string", length=50, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $resourceType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="resource_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $resourceId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCResource
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCResource
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set sourceType
-     *
-     * @param string $sourceType
-     * @return EntityCResource
-     */
-    public function setSourceType($sourceType)
-    {
-        $this->sourceType = $sourceType;
-
-        return $this;
-    }
-
-    /**
-     * Get sourceType
-     *
-     * @return string 
-     */
-    public function getSourceType()
-    {
-        return $this->sourceType;
-    }
-
-    /**
-     * Set sourceId
-     *
-     * @param integer $sourceId
-     * @return EntityCResource
-     */
-    public function setSourceId($sourceId)
-    {
-        $this->sourceId = $sourceId;
-
-        return $this;
-    }
-
-    /**
-     * Get sourceId
-     *
-     * @return integer 
-     */
-    public function getSourceId()
-    {
-        return $this->sourceId;
-    }
-
-    /**
-     * Set resourceType
-     *
-     * @param string $resourceType
-     * @return EntityCResource
-     */
-    public function setResourceType($resourceType)
-    {
-        $this->resourceType = $resourceType;
-
-        return $this;
-    }
-
-    /**
-     * Get resourceType
-     *
-     * @return string 
-     */
-    public function getResourceType()
-    {
-        return $this->resourceType;
-    }
-
-    /**
-     * Set resourceId
-     *
-     * @param integer $resourceId
-     * @return EntityCResource
-     */
-    public function setResourceId($resourceId)
-    {
-        $this->resourceId = $resourceId;
-
-        return $this;
-    }
-
-    /**
-     * Get resourceId
-     *
-     * @return integer 
-     */
-    public function getResourceId()
-    {
-        return $this->resourceId;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCRole.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCRole
- *
- * @Table(name="c_role")
- * @Entity
- */
-class EntityCRole
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="role_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $roleId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="role_name", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $roleName;
-
-    /**
-     * @var string
-     *
-     * @Column(name="role_comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $roleComment;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="default_role", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $defaultRole;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCRole
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set roleId
-     *
-     * @param integer $roleId
-     * @return EntityCRole
-     */
-    public function setRoleId($roleId)
-    {
-        $this->roleId = $roleId;
-
-        return $this;
-    }
-
-    /**
-     * Get roleId
-     *
-     * @return integer 
-     */
-    public function getRoleId()
-    {
-        return $this->roleId;
-    }
-
-    /**
-     * Set roleName
-     *
-     * @param string $roleName
-     * @return EntityCRole
-     */
-    public function setRoleName($roleName)
-    {
-        $this->roleName = $roleName;
-
-        return $this;
-    }
-
-    /**
-     * Get roleName
-     *
-     * @return string 
-     */
-    public function getRoleName()
-    {
-        return $this->roleName;
-    }
-
-    /**
-     * Set roleComment
-     *
-     * @param string $roleComment
-     * @return EntityCRole
-     */
-    public function setRoleComment($roleComment)
-    {
-        $this->roleComment = $roleComment;
-
-        return $this;
-    }
-
-    /**
-     * Get roleComment
-     *
-     * @return string 
-     */
-    public function getRoleComment()
-    {
-        return $this->roleComment;
-    }
-
-    /**
-     * Set defaultRole
-     *
-     * @param boolean $defaultRole
-     * @return EntityCRole
-     */
-    public function setDefaultRole($defaultRole)
-    {
-        $this->defaultRole = $defaultRole;
-
-        return $this;
-    }
-
-    /**
-     * Get defaultRole
-     *
-     * @return boolean 
-     */
-    public function getDefaultRole()
-    {
-        return $this->defaultRole;
-    }
-}

+ 0 - 171
main/inc/Entity/EntityCRoleGroup.php

@@ -1,171 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCRoleGroup
- *
- * @Table(name="c_role_group")
- * @Entity
- */
-class EntityCRoleGroup
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $groupId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="role_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $roleId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="scope", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $scope;
-
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCRoleGroup
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCRoleGroup
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set groupId
-     *
-     * @param integer $groupId
-     * @return EntityCRoleGroup
-     */
-    public function setGroupId($groupId)
-    {
-        $this->groupId = $groupId;
-
-        return $this;
-    }
-
-    /**
-     * Get groupId
-     *
-     * @return integer 
-     */
-    public function getGroupId()
-    {
-        return $this->groupId;
-    }
-
-    /**
-     * Set roleId
-     *
-     * @param integer $roleId
-     * @return EntityCRoleGroup
-     */
-    public function setRoleId($roleId)
-    {
-        $this->roleId = $roleId;
-
-        return $this;
-    }
-
-    /**
-     * Get roleId
-     *
-     * @return integer 
-     */
-    public function getRoleId()
-    {
-        return $this->roleId;
-    }
-
-    /**
-     * Set scope
-     *
-     * @param string $scope
-     * @return EntityCRoleGroup
-     */
-    public function setScope($scope)
-    {
-        $this->scope = $scope;
-
-        return $this;
-    }
-
-    /**
-     * Get scope
-     *
-     * @return string 
-     */
-    public function getScope()
-    {
-        return $this->scope;
-    }
-}

+ 0 - 205
main/inc/Entity/EntityCRolePermissions.php

@@ -1,205 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCRolePermissions
- *
- * @Table(name="c_role_permissions")
- * @Entity
- */
-class EntityCRolePermissions
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="role_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $roleId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="tool", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $tool;
-
-    /**
-     * @var string
-     *
-     * @Column(name="action", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $action;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="default_perm", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $defaultPerm;
-
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCRolePermissions
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCRolePermissions
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set roleId
-     *
-     * @param integer $roleId
-     * @return EntityCRolePermissions
-     */
-    public function setRoleId($roleId)
-    {
-        $this->roleId = $roleId;
-
-        return $this;
-    }
-
-    /**
-     * Get roleId
-     *
-     * @return integer 
-     */
-    public function getRoleId()
-    {
-        return $this->roleId;
-    }
-
-    /**
-     * Set tool
-     *
-     * @param string $tool
-     * @return EntityCRolePermissions
-     */
-    public function setTool($tool)
-    {
-        $this->tool = $tool;
-
-        return $this;
-    }
-
-    /**
-     * Get tool
-     *
-     * @return string 
-     */
-    public function getTool()
-    {
-        return $this->tool;
-    }
-
-    /**
-     * Set action
-     *
-     * @param string $action
-     * @return EntityCRolePermissions
-     */
-    public function setAction($action)
-    {
-        $this->action = $action;
-
-        return $this;
-    }
-
-    /**
-     * Get action
-     *
-     * @return string 
-     */
-    public function getAction()
-    {
-        return $this->action;
-    }
-
-    /**
-     * Set defaultPerm
-     *
-     * @param boolean $defaultPerm
-     * @return EntityCRolePermissions
-     */
-    public function setDefaultPerm($defaultPerm)
-    {
-        $this->defaultPerm = $defaultPerm;
-
-        return $this;
-    }
-
-    /**
-     * Get defaultPerm
-     *
-     * @return boolean 
-     */
-    public function getDefaultPerm()
-    {
-        return $this->defaultPerm;
-    }
-}

+ 0 - 141
main/inc/Entity/EntityCRoleUser.php

@@ -1,141 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCRoleUser
- *
- * @Table(name="c_role_user")
- * @Entity
- */
-class EntityCRoleUser
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="role_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $roleId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $userId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="scope", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $scope;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCRoleUser
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set roleId
-     *
-     * @param integer $roleId
-     * @return EntityCRoleUser
-     */
-    public function setRoleId($roleId)
-    {
-        $this->roleId = $roleId;
-
-        return $this;
-    }
-
-    /**
-     * Get roleId
-     *
-     * @return integer 
-     */
-    public function getRoleId()
-    {
-        return $this->roleId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCRoleUser
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set scope
-     *
-     * @param string $scope
-     * @return EntityCRoleUser
-     */
-    public function setScope($scope)
-    {
-        $this->scope = $scope;
-
-        return $this;
-    }
-
-    /**
-     * Get scope
-     *
-     * @return string 
-     */
-    public function getScope()
-    {
-        return $this->scope;
-    }
-}

+ 0 - 679
main/inc/Entity/EntityCStudentPublication.php

@@ -1,679 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCStudentPublication
- *
- * @Table(name="c_student_publication")
- * @Entity
- */
-class EntityCStudentPublication
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="url", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $url;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var string
-     *
-     * @Column(name="author", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $author;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="active", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $active;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="accepted", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $accepted;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="post_group_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $postGroupId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="sent_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sentDate;
-
-    /**
-     * @var string
-     *
-     * @Column(name="filetype", type="string", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $filetype;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="has_properties", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $hasProperties;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="view_properties", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $viewProperties;
-
-    /**
-     * @var float
-     *
-     * @Column(name="qualification", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $qualification;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="date_of_qualification", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $dateOfQualification;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="parent_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $parentId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="qualificator_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $qualificatorId;
-
-    /**
-     * @var float
-     *
-     * @Column(name="weight", type="float", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $weight;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="allow_text_assignment", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $allowTextAssignment;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="contains_file", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $containsFile;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCStudentPublication
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCStudentPublication
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set url
-     *
-     * @param string $url
-     * @return EntityCStudentPublication
-     */
-    public function setUrl($url)
-    {
-        $this->url = $url;
-
-        return $this;
-    }
-
-    /**
-     * Get url
-     *
-     * @return string 
-     */
-    public function getUrl()
-    {
-        return $this->url;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCStudentPublication
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCStudentPublication
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set author
-     *
-     * @param string $author
-     * @return EntityCStudentPublication
-     */
-    public function setAuthor($author)
-    {
-        $this->author = $author;
-
-        return $this;
-    }
-
-    /**
-     * Get author
-     *
-     * @return string 
-     */
-    public function getAuthor()
-    {
-        return $this->author;
-    }
-
-    /**
-     * Set active
-     *
-     * @param boolean $active
-     * @return EntityCStudentPublication
-     */
-    public function setActive($active)
-    {
-        $this->active = $active;
-
-        return $this;
-    }
-
-    /**
-     * Get active
-     *
-     * @return boolean 
-     */
-    public function getActive()
-    {
-        return $this->active;
-    }
-
-    /**
-     * Set accepted
-     *
-     * @param boolean $accepted
-     * @return EntityCStudentPublication
-     */
-    public function setAccepted($accepted)
-    {
-        $this->accepted = $accepted;
-
-        return $this;
-    }
-
-    /**
-     * Get accepted
-     *
-     * @return boolean 
-     */
-    public function getAccepted()
-    {
-        return $this->accepted;
-    }
-
-    /**
-     * Set postGroupId
-     *
-     * @param integer $postGroupId
-     * @return EntityCStudentPublication
-     */
-    public function setPostGroupId($postGroupId)
-    {
-        $this->postGroupId = $postGroupId;
-
-        return $this;
-    }
-
-    /**
-     * Get postGroupId
-     *
-     * @return integer 
-     */
-    public function getPostGroupId()
-    {
-        return $this->postGroupId;
-    }
-
-    /**
-     * Set sentDate
-     *
-     * @param \DateTime $sentDate
-     * @return EntityCStudentPublication
-     */
-    public function setSentDate($sentDate)
-    {
-        $this->sentDate = $sentDate;
-
-        return $this;
-    }
-
-    /**
-     * Get sentDate
-     *
-     * @return \DateTime 
-     */
-    public function getSentDate()
-    {
-        return $this->sentDate;
-    }
-
-    /**
-     * Set filetype
-     *
-     * @param string $filetype
-     * @return EntityCStudentPublication
-     */
-    public function setFiletype($filetype)
-    {
-        $this->filetype = $filetype;
-
-        return $this;
-    }
-
-    /**
-     * Get filetype
-     *
-     * @return string 
-     */
-    public function getFiletype()
-    {
-        return $this->filetype;
-    }
-
-    /**
-     * Set hasProperties
-     *
-     * @param integer $hasProperties
-     * @return EntityCStudentPublication
-     */
-    public function setHasProperties($hasProperties)
-    {
-        $this->hasProperties = $hasProperties;
-
-        return $this;
-    }
-
-    /**
-     * Get hasProperties
-     *
-     * @return integer 
-     */
-    public function getHasProperties()
-    {
-        return $this->hasProperties;
-    }
-
-    /**
-     * Set viewProperties
-     *
-     * @param boolean $viewProperties
-     * @return EntityCStudentPublication
-     */
-    public function setViewProperties($viewProperties)
-    {
-        $this->viewProperties = $viewProperties;
-
-        return $this;
-    }
-
-    /**
-     * Get viewProperties
-     *
-     * @return boolean 
-     */
-    public function getViewProperties()
-    {
-        return $this->viewProperties;
-    }
-
-    /**
-     * Set qualification
-     *
-     * @param float $qualification
-     * @return EntityCStudentPublication
-     */
-    public function setQualification($qualification)
-    {
-        $this->qualification = $qualification;
-
-        return $this;
-    }
-
-    /**
-     * Get qualification
-     *
-     * @return float 
-     */
-    public function getQualification()
-    {
-        return $this->qualification;
-    }
-
-    /**
-     * Set dateOfQualification
-     *
-     * @param \DateTime $dateOfQualification
-     * @return EntityCStudentPublication
-     */
-    public function setDateOfQualification($dateOfQualification)
-    {
-        $this->dateOfQualification = $dateOfQualification;
-
-        return $this;
-    }
-
-    /**
-     * Get dateOfQualification
-     *
-     * @return \DateTime 
-     */
-    public function getDateOfQualification()
-    {
-        return $this->dateOfQualification;
-    }
-
-    /**
-     * Set parentId
-     *
-     * @param integer $parentId
-     * @return EntityCStudentPublication
-     */
-    public function setParentId($parentId)
-    {
-        $this->parentId = $parentId;
-
-        return $this;
-    }
-
-    /**
-     * Get parentId
-     *
-     * @return integer 
-     */
-    public function getParentId()
-    {
-        return $this->parentId;
-    }
-
-    /**
-     * Set qualificatorId
-     *
-     * @param integer $qualificatorId
-     * @return EntityCStudentPublication
-     */
-    public function setQualificatorId($qualificatorId)
-    {
-        $this->qualificatorId = $qualificatorId;
-
-        return $this;
-    }
-
-    /**
-     * Get qualificatorId
-     *
-     * @return integer 
-     */
-    public function getQualificatorId()
-    {
-        return $this->qualificatorId;
-    }
-
-    /**
-     * Set weight
-     *
-     * @param float $weight
-     * @return EntityCStudentPublication
-     */
-    public function setWeight($weight)
-    {
-        $this->weight = $weight;
-
-        return $this;
-    }
-
-    /**
-     * Get weight
-     *
-     * @return float 
-     */
-    public function getWeight()
-    {
-        return $this->weight;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCStudentPublication
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCStudentPublication
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set allowTextAssignment
-     *
-     * @param integer $allowTextAssignment
-     * @return EntityCStudentPublication
-     */
-    public function setAllowTextAssignment($allowTextAssignment)
-    {
-        $this->allowTextAssignment = $allowTextAssignment;
-
-        return $this;
-    }
-
-    /**
-     * Get allowTextAssignment
-     *
-     * @return integer 
-     */
-    public function getAllowTextAssignment()
-    {
-        return $this->allowTextAssignment;
-    }
-
-    /**
-     * Set containsFile
-     *
-     * @param integer $containsFile
-     * @return EntityCStudentPublication
-     */
-    public function setContainsFile($containsFile)
-    {
-        $this->containsFile = $containsFile;
-
-        return $this;
-    }
-
-    /**
-     * Get containsFile
-     *
-     * @return integer 
-     */
-    public function getContainsFile()
-    {
-        return $this->containsFile;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCStudentPublicationAssignment.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCStudentPublicationAssignment
- *
- * @Table(name="c_student_publication_assignment")
- * @Entity
- */
-class EntityCStudentPublicationAssignment
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="expires_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $expiresOn;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="ends_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $endsOn;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="add_to_calendar", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $addToCalendar;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="enable_qualification", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $enableQualification;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="publication_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $publicationId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set expiresOn
-     *
-     * @param \DateTime $expiresOn
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setExpiresOn($expiresOn)
-    {
-        $this->expiresOn = $expiresOn;
-
-        return $this;
-    }
-
-    /**
-     * Get expiresOn
-     *
-     * @return \DateTime 
-     */
-    public function getExpiresOn()
-    {
-        return $this->expiresOn;
-    }
-
-    /**
-     * Set endsOn
-     *
-     * @param \DateTime $endsOn
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setEndsOn($endsOn)
-    {
-        $this->endsOn = $endsOn;
-
-        return $this;
-    }
-
-    /**
-     * Get endsOn
-     *
-     * @return \DateTime 
-     */
-    public function getEndsOn()
-    {
-        return $this->endsOn;
-    }
-
-    /**
-     * Set addToCalendar
-     *
-     * @param boolean $addToCalendar
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setAddToCalendar($addToCalendar)
-    {
-        $this->addToCalendar = $addToCalendar;
-
-        return $this;
-    }
-
-    /**
-     * Get addToCalendar
-     *
-     * @return boolean 
-     */
-    public function getAddToCalendar()
-    {
-        return $this->addToCalendar;
-    }
-
-    /**
-     * Set enableQualification
-     *
-     * @param boolean $enableQualification
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setEnableQualification($enableQualification)
-    {
-        $this->enableQualification = $enableQualification;
-
-        return $this;
-    }
-
-    /**
-     * Get enableQualification
-     *
-     * @return boolean 
-     */
-    public function getEnableQualification()
-    {
-        return $this->enableQualification;
-    }
-
-    /**
-     * Set publicationId
-     *
-     * @param integer $publicationId
-     * @return EntityCStudentPublicationAssignment
-     */
-    public function setPublicationId($publicationId)
-    {
-        $this->publicationId = $publicationId;
-
-        return $this;
-    }
-
-    /**
-     * Get publicationId
-     *
-     * @return integer 
-     */
-    public function getPublicationId()
-    {
-        return $this->publicationId;
-    }
-}

+ 0 - 889
main/inc/Entity/EntityCSurvey.php

@@ -1,889 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCSurvey
- *
- * @Table(name="c_survey")
- * @Entity
- */
-class EntityCSurvey
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $surveyId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="code", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $code;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="subtitle", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $subtitle;
-
-    /**
-     * @var string
-     *
-     * @Column(name="author", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $author;
-
-    /**
-     * @var string
-     *
-     * @Column(name="lang", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $lang;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="avail_from", type="date", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $availFrom;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="avail_till", type="date", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $availTill;
-
-    /**
-     * @var string
-     *
-     * @Column(name="is_shared", type="string", length=1, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $isShared;
-
-    /**
-     * @var string
-     *
-     * @Column(name="template", type="string", length=20, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $template;
-
-    /**
-     * @var string
-     *
-     * @Column(name="intro", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $intro;
-
-    /**
-     * @var string
-     *
-     * @Column(name="surveythanks", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $surveythanks;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="creation_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $creationDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="invited", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $invited;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="answered", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $answered;
-
-    /**
-     * @var string
-     *
-     * @Column(name="invite_mail", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $inviteMail;
-
-    /**
-     * @var string
-     *
-     * @Column(name="reminder_mail", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $reminderMail;
-
-    /**
-     * @var string
-     *
-     * @Column(name="mail_subject", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $mailSubject;
-
-    /**
-     * @var string
-     *
-     * @Column(name="anonymous", type="string", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $anonymous;
-
-    /**
-     * @var string
-     *
-     * @Column(name="access_condition", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $accessCondition;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="shuffle", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $shuffle;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="one_question_per_page", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $oneQuestionPerPage;
-
-    /**
-     * @var string
-     *
-     * @Column(name="survey_version", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyVersion;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="parent_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $parentId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyType;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="show_form_profile", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $showFormProfile;
-
-    /**
-     * @var string
-     *
-     * @Column(name="form_fields", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $formFields;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCSurvey
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set surveyId
-     *
-     * @param integer $surveyId
-     * @return EntityCSurvey
-     */
-    public function setSurveyId($surveyId)
-    {
-        $this->surveyId = $surveyId;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyId
-     *
-     * @return integer 
-     */
-    public function getSurveyId()
-    {
-        return $this->surveyId;
-    }
-
-    /**
-     * Set code
-     *
-     * @param string $code
-     * @return EntityCSurvey
-     */
-    public function setCode($code)
-    {
-        $this->code = $code;
-
-        return $this;
-    }
-
-    /**
-     * Get code
-     *
-     * @return string 
-     */
-    public function getCode()
-    {
-        return $this->code;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCSurvey
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set subtitle
-     *
-     * @param string $subtitle
-     * @return EntityCSurvey
-     */
-    public function setSubtitle($subtitle)
-    {
-        $this->subtitle = $subtitle;
-
-        return $this;
-    }
-
-    /**
-     * Get subtitle
-     *
-     * @return string 
-     */
-    public function getSubtitle()
-    {
-        return $this->subtitle;
-    }
-
-    /**
-     * Set author
-     *
-     * @param string $author
-     * @return EntityCSurvey
-     */
-    public function setAuthor($author)
-    {
-        $this->author = $author;
-
-        return $this;
-    }
-
-    /**
-     * Get author
-     *
-     * @return string 
-     */
-    public function getAuthor()
-    {
-        return $this->author;
-    }
-
-    /**
-     * Set lang
-     *
-     * @param string $lang
-     * @return EntityCSurvey
-     */
-    public function setLang($lang)
-    {
-        $this->lang = $lang;
-
-        return $this;
-    }
-
-    /**
-     * Get lang
-     *
-     * @return string 
-     */
-    public function getLang()
-    {
-        return $this->lang;
-    }
-
-    /**
-     * Set availFrom
-     *
-     * @param \DateTime $availFrom
-     * @return EntityCSurvey
-     */
-    public function setAvailFrom($availFrom)
-    {
-        $this->availFrom = $availFrom;
-
-        return $this;
-    }
-
-    /**
-     * Get availFrom
-     *
-     * @return \DateTime 
-     */
-    public function getAvailFrom()
-    {
-        return $this->availFrom;
-    }
-
-    /**
-     * Set availTill
-     *
-     * @param \DateTime $availTill
-     * @return EntityCSurvey
-     */
-    public function setAvailTill($availTill)
-    {
-        $this->availTill = $availTill;
-
-        return $this;
-    }
-
-    /**
-     * Get availTill
-     *
-     * @return \DateTime 
-     */
-    public function getAvailTill()
-    {
-        return $this->availTill;
-    }
-
-    /**
-     * Set isShared
-     *
-     * @param string $isShared
-     * @return EntityCSurvey
-     */
-    public function setIsShared($isShared)
-    {
-        $this->isShared = $isShared;
-
-        return $this;
-    }
-
-    /**
-     * Get isShared
-     *
-     * @return string 
-     */
-    public function getIsShared()
-    {
-        return $this->isShared;
-    }
-
-    /**
-     * Set template
-     *
-     * @param string $template
-     * @return EntityCSurvey
-     */
-    public function setTemplate($template)
-    {
-        $this->template = $template;
-
-        return $this;
-    }
-
-    /**
-     * Get template
-     *
-     * @return string 
-     */
-    public function getTemplate()
-    {
-        return $this->template;
-    }
-
-    /**
-     * Set intro
-     *
-     * @param string $intro
-     * @return EntityCSurvey
-     */
-    public function setIntro($intro)
-    {
-        $this->intro = $intro;
-
-        return $this;
-    }
-
-    /**
-     * Get intro
-     *
-     * @return string 
-     */
-    public function getIntro()
-    {
-        return $this->intro;
-    }
-
-    /**
-     * Set surveythanks
-     *
-     * @param string $surveythanks
-     * @return EntityCSurvey
-     */
-    public function setSurveythanks($surveythanks)
-    {
-        $this->surveythanks = $surveythanks;
-
-        return $this;
-    }
-
-    /**
-     * Get surveythanks
-     *
-     * @return string 
-     */
-    public function getSurveythanks()
-    {
-        return $this->surveythanks;
-    }
-
-    /**
-     * Set creationDate
-     *
-     * @param \DateTime $creationDate
-     * @return EntityCSurvey
-     */
-    public function setCreationDate($creationDate)
-    {
-        $this->creationDate = $creationDate;
-
-        return $this;
-    }
-
-    /**
-     * Get creationDate
-     *
-     * @return \DateTime 
-     */
-    public function getCreationDate()
-    {
-        return $this->creationDate;
-    }
-
-    /**
-     * Set invited
-     *
-     * @param integer $invited
-     * @return EntityCSurvey
-     */
-    public function setInvited($invited)
-    {
-        $this->invited = $invited;
-
-        return $this;
-    }
-
-    /**
-     * Get invited
-     *
-     * @return integer 
-     */
-    public function getInvited()
-    {
-        return $this->invited;
-    }
-
-    /**
-     * Set answered
-     *
-     * @param integer $answered
-     * @return EntityCSurvey
-     */
-    public function setAnswered($answered)
-    {
-        $this->answered = $answered;
-
-        return $this;
-    }
-
-    /**
-     * Get answered
-     *
-     * @return integer 
-     */
-    public function getAnswered()
-    {
-        return $this->answered;
-    }
-
-    /**
-     * Set inviteMail
-     *
-     * @param string $inviteMail
-     * @return EntityCSurvey
-     */
-    public function setInviteMail($inviteMail)
-    {
-        $this->inviteMail = $inviteMail;
-
-        return $this;
-    }
-
-    /**
-     * Get inviteMail
-     *
-     * @return string 
-     */
-    public function getInviteMail()
-    {
-        return $this->inviteMail;
-    }
-
-    /**
-     * Set reminderMail
-     *
-     * @param string $reminderMail
-     * @return EntityCSurvey
-     */
-    public function setReminderMail($reminderMail)
-    {
-        $this->reminderMail = $reminderMail;
-
-        return $this;
-    }
-
-    /**
-     * Get reminderMail
-     *
-     * @return string 
-     */
-    public function getReminderMail()
-    {
-        return $this->reminderMail;
-    }
-
-    /**
-     * Set mailSubject
-     *
-     * @param string $mailSubject
-     * @return EntityCSurvey
-     */
-    public function setMailSubject($mailSubject)
-    {
-        $this->mailSubject = $mailSubject;
-
-        return $this;
-    }
-
-    /**
-     * Get mailSubject
-     *
-     * @return string 
-     */
-    public function getMailSubject()
-    {
-        return $this->mailSubject;
-    }
-
-    /**
-     * Set anonymous
-     *
-     * @param string $anonymous
-     * @return EntityCSurvey
-     */
-    public function setAnonymous($anonymous)
-    {
-        $this->anonymous = $anonymous;
-
-        return $this;
-    }
-
-    /**
-     * Get anonymous
-     *
-     * @return string 
-     */
-    public function getAnonymous()
-    {
-        return $this->anonymous;
-    }
-
-    /**
-     * Set accessCondition
-     *
-     * @param string $accessCondition
-     * @return EntityCSurvey
-     */
-    public function setAccessCondition($accessCondition)
-    {
-        $this->accessCondition = $accessCondition;
-
-        return $this;
-    }
-
-    /**
-     * Get accessCondition
-     *
-     * @return string 
-     */
-    public function getAccessCondition()
-    {
-        return $this->accessCondition;
-    }
-
-    /**
-     * Set shuffle
-     *
-     * @param boolean $shuffle
-     * @return EntityCSurvey
-     */
-    public function setShuffle($shuffle)
-    {
-        $this->shuffle = $shuffle;
-
-        return $this;
-    }
-
-    /**
-     * Get shuffle
-     *
-     * @return boolean 
-     */
-    public function getShuffle()
-    {
-        return $this->shuffle;
-    }
-
-    /**
-     * Set oneQuestionPerPage
-     *
-     * @param boolean $oneQuestionPerPage
-     * @return EntityCSurvey
-     */
-    public function setOneQuestionPerPage($oneQuestionPerPage)
-    {
-        $this->oneQuestionPerPage = $oneQuestionPerPage;
-
-        return $this;
-    }
-
-    /**
-     * Get oneQuestionPerPage
-     *
-     * @return boolean 
-     */
-    public function getOneQuestionPerPage()
-    {
-        return $this->oneQuestionPerPage;
-    }
-
-    /**
-     * Set surveyVersion
-     *
-     * @param string $surveyVersion
-     * @return EntityCSurvey
-     */
-    public function setSurveyVersion($surveyVersion)
-    {
-        $this->surveyVersion = $surveyVersion;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyVersion
-     *
-     * @return string 
-     */
-    public function getSurveyVersion()
-    {
-        return $this->surveyVersion;
-    }
-
-    /**
-     * Set parentId
-     *
-     * @param integer $parentId
-     * @return EntityCSurvey
-     */
-    public function setParentId($parentId)
-    {
-        $this->parentId = $parentId;
-
-        return $this;
-    }
-
-    /**
-     * Get parentId
-     *
-     * @return integer 
-     */
-    public function getParentId()
-    {
-        return $this->parentId;
-    }
-
-    /**
-     * Set surveyType
-     *
-     * @param integer $surveyType
-     * @return EntityCSurvey
-     */
-    public function setSurveyType($surveyType)
-    {
-        $this->surveyType = $surveyType;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyType
-     *
-     * @return integer 
-     */
-    public function getSurveyType()
-    {
-        return $this->surveyType;
-    }
-
-    /**
-     * Set showFormProfile
-     *
-     * @param integer $showFormProfile
-     * @return EntityCSurvey
-     */
-    public function setShowFormProfile($showFormProfile)
-    {
-        $this->showFormProfile = $showFormProfile;
-
-        return $this;
-    }
-
-    /**
-     * Get showFormProfile
-     *
-     * @return integer 
-     */
-    public function getShowFormProfile()
-    {
-        return $this->showFormProfile;
-    }
-
-    /**
-     * Set formFields
-     *
-     * @param string $formFields
-     * @return EntityCSurvey
-     */
-    public function setFormFields($formFields)
-    {
-        $this->formFields = $formFields;
-
-        return $this;
-    }
-
-    /**
-     * Get formFields
-     *
-     * @return string 
-     */
-    public function getFormFields()
-    {
-        return $this->formFields;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCSurvey
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCSurveyAnswer.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCSurveyAnswer
- *
- * @Table(name="c_survey_answer")
- * @Entity
- */
-class EntityCSurveyAnswer
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="answer_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $answerId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $questionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="option_id", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $optionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="value", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $value;
-
-    /**
-     * @var string
-     *
-     * @Column(name="user", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $user;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCSurveyAnswer
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set answerId
-     *
-     * @param integer $answerId
-     * @return EntityCSurveyAnswer
-     */
-    public function setAnswerId($answerId)
-    {
-        $this->answerId = $answerId;
-
-        return $this;
-    }
-
-    /**
-     * Get answerId
-     *
-     * @return integer 
-     */
-    public function getAnswerId()
-    {
-        return $this->answerId;
-    }
-
-    /**
-     * Set surveyId
-     *
-     * @param integer $surveyId
-     * @return EntityCSurveyAnswer
-     */
-    public function setSurveyId($surveyId)
-    {
-        $this->surveyId = $surveyId;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyId
-     *
-     * @return integer 
-     */
-    public function getSurveyId()
-    {
-        return $this->surveyId;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCSurveyAnswer
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set optionId
-     *
-     * @param string $optionId
-     * @return EntityCSurveyAnswer
-     */
-    public function setOptionId($optionId)
-    {
-        $this->optionId = $optionId;
-
-        return $this;
-    }
-
-    /**
-     * Get optionId
-     *
-     * @return string 
-     */
-    public function getOptionId()
-    {
-        return $this->optionId;
-    }
-
-    /**
-     * Set value
-     *
-     * @param integer $value
-     * @return EntityCSurveyAnswer
-     */
-    public function setValue($value)
-    {
-        $this->value = $value;
-
-        return $this;
-    }
-
-    /**
-     * Get value
-     *
-     * @return integer 
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-
-    /**
-     * Set user
-     *
-     * @param string $user
-     * @return EntityCSurveyAnswer
-     */
-    public function setUser($user)
-    {
-        $this->user = $user;
-
-        return $this;
-    }
-
-    /**
-     * Get user
-     *
-     * @return string 
-     */
-    public function getUser()
-    {
-        return $this->user;
-    }
-}

+ 0 - 169
main/inc/Entity/EntityCSurveyGroup.php

@@ -1,169 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCSurveyGroup
- *
- * @Table(name="c_survey_group")
- * @Entity
- */
-class EntityCSurveyGroup
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCSurveyGroup
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCSurveyGroup
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityCSurveyGroup
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCSurveyGroup
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set surveyId
-     *
-     * @param integer $surveyId
-     * @return EntityCSurveyGroup
-     */
-    public function setSurveyId($surveyId)
-    {
-        $this->surveyId = $surveyId;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyId
-     *
-     * @return integer 
-     */
-    public function getSurveyId()
-    {
-        return $this->surveyId;
-    }
-}

+ 0 - 289
main/inc/Entity/EntityCSurveyInvitation.php

@@ -1,289 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCSurveyInvitation
- *
- * @Table(name="c_survey_invitation")
- * @Entity
- */
-class EntityCSurveyInvitation
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_invitation_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $surveyInvitationId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="survey_code", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyCode;
-
-    /**
-     * @var string
-     *
-     * @Column(name="user", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $user;
-
-    /**
-     * @var string
-     *
-     * @Column(name="invitation_code", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $invitationCode;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="invitation_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $invitationDate;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="reminder_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $reminderDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="answered", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $answered;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCSurveyInvitation
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set surveyInvitationId
-     *
-     * @param integer $surveyInvitationId
-     * @return EntityCSurveyInvitation
-     */
-    public function setSurveyInvitationId($surveyInvitationId)
-    {
-        $this->surveyInvitationId = $surveyInvitationId;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyInvitationId
-     *
-     * @return integer 
-     */
-    public function getSurveyInvitationId()
-    {
-        return $this->surveyInvitationId;
-    }
-
-    /**
-     * Set surveyCode
-     *
-     * @param string $surveyCode
-     * @return EntityCSurveyInvitation
-     */
-    public function setSurveyCode($surveyCode)
-    {
-        $this->surveyCode = $surveyCode;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyCode
-     *
-     * @return string 
-     */
-    public function getSurveyCode()
-    {
-        return $this->surveyCode;
-    }
-
-    /**
-     * Set user
-     *
-     * @param string $user
-     * @return EntityCSurveyInvitation
-     */
-    public function setUser($user)
-    {
-        $this->user = $user;
-
-        return $this;
-    }
-
-    /**
-     * Get user
-     *
-     * @return string 
-     */
-    public function getUser()
-    {
-        return $this->user;
-    }
-
-    /**
-     * Set invitationCode
-     *
-     * @param string $invitationCode
-     * @return EntityCSurveyInvitation
-     */
-    public function setInvitationCode($invitationCode)
-    {
-        $this->invitationCode = $invitationCode;
-
-        return $this;
-    }
-
-    /**
-     * Get invitationCode
-     *
-     * @return string 
-     */
-    public function getInvitationCode()
-    {
-        return $this->invitationCode;
-    }
-
-    /**
-     * Set invitationDate
-     *
-     * @param \DateTime $invitationDate
-     * @return EntityCSurveyInvitation
-     */
-    public function setInvitationDate($invitationDate)
-    {
-        $this->invitationDate = $invitationDate;
-
-        return $this;
-    }
-
-    /**
-     * Get invitationDate
-     *
-     * @return \DateTime 
-     */
-    public function getInvitationDate()
-    {
-        return $this->invitationDate;
-    }
-
-    /**
-     * Set reminderDate
-     *
-     * @param \DateTime $reminderDate
-     * @return EntityCSurveyInvitation
-     */
-    public function setReminderDate($reminderDate)
-    {
-        $this->reminderDate = $reminderDate;
-
-        return $this;
-    }
-
-    /**
-     * Get reminderDate
-     *
-     * @return \DateTime 
-     */
-    public function getReminderDate()
-    {
-        return $this->reminderDate;
-    }
-
-    /**
-     * Set answered
-     *
-     * @param integer $answered
-     * @return EntityCSurveyInvitation
-     */
-    public function setAnswered($answered)
-    {
-        $this->answered = $answered;
-
-        return $this;
-    }
-
-    /**
-     * Get answered
-     *
-     * @return integer 
-     */
-    public function getAnswered()
-    {
-        return $this->answered;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCSurveyInvitation
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 409
main/inc/Entity/EntityCSurveyQuestion.php

@@ -1,409 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCSurveyQuestion
- *
- * @Table(name="c_survey_question")
- * @Entity
- */
-class EntityCSurveyQuestion
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $questionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="survey_question", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyQuestion;
-
-    /**
-     * @var string
-     *
-     * @Column(name="survey_question_comment", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyQuestionComment;
-
-    /**
-     * @var string
-     *
-     * @Column(name="type", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $type;
-
-    /**
-     * @var string
-     *
-     * @Column(name="display", type="string", length=10, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $display;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="sort", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sort;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="shared_question_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sharedQuestionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="max_value", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxValue;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_group_pri", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyGroupPri;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_group_sec1", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyGroupSec1;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_group_sec2", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyGroupSec2;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCSurveyQuestion
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCSurveyQuestion
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set surveyId
-     *
-     * @param integer $surveyId
-     * @return EntityCSurveyQuestion
-     */
-    public function setSurveyId($surveyId)
-    {
-        $this->surveyId = $surveyId;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyId
-     *
-     * @return integer 
-     */
-    public function getSurveyId()
-    {
-        return $this->surveyId;
-    }
-
-    /**
-     * Set surveyQuestion
-     *
-     * @param string $surveyQuestion
-     * @return EntityCSurveyQuestion
-     */
-    public function setSurveyQuestion($surveyQuestion)
-    {
-        $this->surveyQuestion = $surveyQuestion;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyQuestion
-     *
-     * @return string 
-     */
-    public function getSurveyQuestion()
-    {
-        return $this->surveyQuestion;
-    }
-
-    /**
-     * Set surveyQuestionComment
-     *
-     * @param string $surveyQuestionComment
-     * @return EntityCSurveyQuestion
-     */
-    public function setSurveyQuestionComment($surveyQuestionComment)
-    {
-        $this->surveyQuestionComment = $surveyQuestionComment;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyQuestionComment
-     *
-     * @return string 
-     */
-    public function getSurveyQuestionComment()
-    {
-        return $this->surveyQuestionComment;
-    }
-
-    /**
-     * Set type
-     *
-     * @param string $type
-     * @return EntityCSurveyQuestion
-     */
-    public function setType($type)
-    {
-        $this->type = $type;
-
-        return $this;
-    }
-
-    /**
-     * Get type
-     *
-     * @return string 
-     */
-    public function getType()
-    {
-        return $this->type;
-    }
-
-    /**
-     * Set display
-     *
-     * @param string $display
-     * @return EntityCSurveyQuestion
-     */
-    public function setDisplay($display)
-    {
-        $this->display = $display;
-
-        return $this;
-    }
-
-    /**
-     * Get display
-     *
-     * @return string 
-     */
-    public function getDisplay()
-    {
-        return $this->display;
-    }
-
-    /**
-     * Set sort
-     *
-     * @param integer $sort
-     * @return EntityCSurveyQuestion
-     */
-    public function setSort($sort)
-    {
-        $this->sort = $sort;
-
-        return $this;
-    }
-
-    /**
-     * Get sort
-     *
-     * @return integer 
-     */
-    public function getSort()
-    {
-        return $this->sort;
-    }
-
-    /**
-     * Set sharedQuestionId
-     *
-     * @param integer $sharedQuestionId
-     * @return EntityCSurveyQuestion
-     */
-    public function setSharedQuestionId($sharedQuestionId)
-    {
-        $this->sharedQuestionId = $sharedQuestionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sharedQuestionId
-     *
-     * @return integer 
-     */
-    public function getSharedQuestionId()
-    {
-        return $this->sharedQuestionId;
-    }
-
-    /**
-     * Set maxValue
-     *
-     * @param integer $maxValue
-     * @return EntityCSurveyQuestion
-     */
-    public function setMaxValue($maxValue)
-    {
-        $this->maxValue = $maxValue;
-
-        return $this;
-    }
-
-    /**
-     * Get maxValue
-     *
-     * @return integer 
-     */
-    public function getMaxValue()
-    {
-        return $this->maxValue;
-    }
-
-    /**
-     * Set surveyGroupPri
-     *
-     * @param integer $surveyGroupPri
-     * @return EntityCSurveyQuestion
-     */
-    public function setSurveyGroupPri($surveyGroupPri)
-    {
-        $this->surveyGroupPri = $surveyGroupPri;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyGroupPri
-     *
-     * @return integer 
-     */
-    public function getSurveyGroupPri()
-    {
-        return $this->surveyGroupPri;
-    }
-
-    /**
-     * Set surveyGroupSec1
-     *
-     * @param integer $surveyGroupSec1
-     * @return EntityCSurveyQuestion
-     */
-    public function setSurveyGroupSec1($surveyGroupSec1)
-    {
-        $this->surveyGroupSec1 = $surveyGroupSec1;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyGroupSec1
-     *
-     * @return integer 
-     */
-    public function getSurveyGroupSec1()
-    {
-        return $this->surveyGroupSec1;
-    }
-
-    /**
-     * Set surveyGroupSec2
-     *
-     * @param integer $surveyGroupSec2
-     * @return EntityCSurveyQuestion
-     */
-    public function setSurveyGroupSec2($surveyGroupSec2)
-    {
-        $this->surveyGroupSec2 = $surveyGroupSec2;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyGroupSec2
-     *
-     * @return integer 
-     */
-    public function getSurveyGroupSec2()
-    {
-        return $this->surveyGroupSec2;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCSurveyQuestionOption.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCSurveyQuestionOption
- *
- * @Table(name="c_survey_question_option")
- * @Entity
- */
-class EntityCSurveyQuestionOption
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_option_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $questionOptionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="question_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $questionId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="survey_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $surveyId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="option_text", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $optionText;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="sort", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sort;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="value", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $value;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set questionOptionId
-     *
-     * @param integer $questionOptionId
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setQuestionOptionId($questionOptionId)
-    {
-        $this->questionOptionId = $questionOptionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionOptionId
-     *
-     * @return integer 
-     */
-    public function getQuestionOptionId()
-    {
-        return $this->questionOptionId;
-    }
-
-    /**
-     * Set questionId
-     *
-     * @param integer $questionId
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setQuestionId($questionId)
-    {
-        $this->questionId = $questionId;
-
-        return $this;
-    }
-
-    /**
-     * Get questionId
-     *
-     * @return integer 
-     */
-    public function getQuestionId()
-    {
-        return $this->questionId;
-    }
-
-    /**
-     * Set surveyId
-     *
-     * @param integer $surveyId
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setSurveyId($surveyId)
-    {
-        $this->surveyId = $surveyId;
-
-        return $this;
-    }
-
-    /**
-     * Get surveyId
-     *
-     * @return integer 
-     */
-    public function getSurveyId()
-    {
-        return $this->surveyId;
-    }
-
-    /**
-     * Set optionText
-     *
-     * @param string $optionText
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setOptionText($optionText)
-    {
-        $this->optionText = $optionText;
-
-        return $this;
-    }
-
-    /**
-     * Get optionText
-     *
-     * @return string 
-     */
-    public function getOptionText()
-    {
-        return $this->optionText;
-    }
-
-    /**
-     * Set sort
-     *
-     * @param integer $sort
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setSort($sort)
-    {
-        $this->sort = $sort;
-
-        return $this;
-    }
-
-    /**
-     * Get sort
-     *
-     * @return integer 
-     */
-    public function getSort()
-    {
-        return $this->sort;
-    }
-
-    /**
-     * Set value
-     *
-     * @param integer $value
-     * @return EntityCSurveyQuestionOption
-     */
-    public function setValue($value)
-    {
-        $this->value = $value;
-
-        return $this;
-    }
-
-    /**
-     * Get value
-     *
-     * @return integer 
-     */
-    public function getValue()
-    {
-        return $this->value;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCThematic.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCThematic
- *
- * @Table(name="c_thematic")
- * @Entity
- */
-class EntityCThematic
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $content;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $displayOrder;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $active;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCThematic
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCThematic
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCThematic
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCThematic
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-
-    /**
-     * Set displayOrder
-     *
-     * @param integer $displayOrder
-     * @return EntityCThematic
-     */
-    public function setDisplayOrder($displayOrder)
-    {
-        $this->displayOrder = $displayOrder;
-
-        return $this;
-    }
-
-    /**
-     * Get displayOrder
-     *
-     * @return integer 
-     */
-    public function getDisplayOrder()
-    {
-        return $this->displayOrder;
-    }
-
-    /**
-     * Set active
-     *
-     * @param boolean $active
-     * @return EntityCThematic
-     */
-    public function setActive($active)
-    {
-        $this->active = $active;
-
-        return $this;
-    }
-
-    /**
-     * Get active
-     *
-     * @return boolean 
-     */
-    public function getActive()
-    {
-        return $this->active;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCThematic
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 259
main/inc/Entity/EntityCThematicAdvance.php

@@ -1,259 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCThematicAdvance
- *
- * @Table(name="c_thematic_advance")
- * @Entity
- */
-class EntityCThematicAdvance
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thematic_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $thematicId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="attendance_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $attendanceId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $content;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="start_date", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $startDate;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="duration", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $duration;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="done_advance", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $doneAdvance;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCThematicAdvance
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCThematicAdvance
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set thematicId
-     *
-     * @param integer $thematicId
-     * @return EntityCThematicAdvance
-     */
-    public function setThematicId($thematicId)
-    {
-        $this->thematicId = $thematicId;
-
-        return $this;
-    }
-
-    /**
-     * Get thematicId
-     *
-     * @return integer 
-     */
-    public function getThematicId()
-    {
-        return $this->thematicId;
-    }
-
-    /**
-     * Set attendanceId
-     *
-     * @param integer $attendanceId
-     * @return EntityCThematicAdvance
-     */
-    public function setAttendanceId($attendanceId)
-    {
-        $this->attendanceId = $attendanceId;
-
-        return $this;
-    }
-
-    /**
-     * Get attendanceId
-     *
-     * @return integer 
-     */
-    public function getAttendanceId()
-    {
-        return $this->attendanceId;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCThematicAdvance
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-
-    /**
-     * Set startDate
-     *
-     * @param \DateTime $startDate
-     * @return EntityCThematicAdvance
-     */
-    public function setStartDate($startDate)
-    {
-        $this->startDate = $startDate;
-
-        return $this;
-    }
-
-    /**
-     * Get startDate
-     *
-     * @return \DateTime 
-     */
-    public function getStartDate()
-    {
-        return $this->startDate;
-    }
-
-    /**
-     * Set duration
-     *
-     * @param integer $duration
-     * @return EntityCThematicAdvance
-     */
-    public function setDuration($duration)
-    {
-        $this->duration = $duration;
-
-        return $this;
-    }
-
-    /**
-     * Get duration
-     *
-     * @return integer 
-     */
-    public function getDuration()
-    {
-        return $this->duration;
-    }
-
-    /**
-     * Set doneAdvance
-     *
-     * @param boolean $doneAdvance
-     * @return EntityCThematicAdvance
-     */
-    public function setDoneAdvance($doneAdvance)
-    {
-        $this->doneAdvance = $doneAdvance;
-
-        return $this;
-    }
-
-    /**
-     * Get doneAdvance
-     *
-     * @return boolean 
-     */
-    public function getDoneAdvance()
-    {
-        return $this->doneAdvance;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCThematicPlan.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCThematicPlan
- *
- * @Table(name="c_thematic_plan")
- * @Entity
- */
-class EntityCThematicPlan
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="thematic_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $thematicId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $description;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="description_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $descriptionType;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCThematicPlan
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCThematicPlan
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set thematicId
-     *
-     * @param integer $thematicId
-     * @return EntityCThematicPlan
-     */
-    public function setThematicId($thematicId)
-    {
-        $this->thematicId = $thematicId;
-
-        return $this;
-    }
-
-    /**
-     * Get thematicId
-     *
-     * @return integer 
-     */
-    public function getThematicId()
-    {
-        return $this->thematicId;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCThematicPlan
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set description
-     *
-     * @param string $description
-     * @return EntityCThematicPlan
-     */
-    public function setDescription($description)
-    {
-        $this->description = $description;
-
-        return $this;
-    }
-
-    /**
-     * Get description
-     *
-     * @return string 
-     */
-    public function getDescription()
-    {
-        return $this->description;
-    }
-
-    /**
-     * Set descriptionType
-     *
-     * @param integer $descriptionType
-     * @return EntityCThematicPlan
-     */
-    public function setDescriptionType($descriptionType)
-    {
-        $this->descriptionType = $descriptionType;
-
-        return $this;
-    }
-
-    /**
-     * Get descriptionType
-     *
-     * @return integer 
-     */
-    public function getDescriptionType()
-    {
-        return $this->descriptionType;
-    }
-}

+ 0 - 379
main/inc/Entity/EntityCTool.php

@@ -1,379 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCTool
- *
- * @Table(name="c_tool")
- * @Entity
- */
-class EntityCTool
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $name;
-
-    /**
-     * @var string
-     *
-     * @Column(name="link", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $link;
-
-    /**
-     * @var string
-     *
-     * @Column(name="image", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $image;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $visibility;
-
-    /**
-     * @var string
-     *
-     * @Column(name="admin", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $admin;
-
-    /**
-     * @var string
-     *
-     * @Column(name="address", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $address;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="added_tool", type="boolean", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $addedTool;
-
-    /**
-     * @var string
-     *
-     * @Column(name="target", type="string", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $target;
-
-    /**
-     * @var string
-     *
-     * @Column(name="category", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $category;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCTool
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCTool
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set name
-     *
-     * @param string $name
-     * @return EntityCTool
-     */
-    public function setName($name)
-    {
-        $this->name = $name;
-
-        return $this;
-    }
-
-    /**
-     * Get name
-     *
-     * @return string 
-     */
-    public function getName()
-    {
-        return $this->name;
-    }
-
-    /**
-     * Set link
-     *
-     * @param string $link
-     * @return EntityCTool
-     */
-    public function setLink($link)
-    {
-        $this->link = $link;
-
-        return $this;
-    }
-
-    /**
-     * Get link
-     *
-     * @return string 
-     */
-    public function getLink()
-    {
-        return $this->link;
-    }
-
-    /**
-     * Set image
-     *
-     * @param string $image
-     * @return EntityCTool
-     */
-    public function setImage($image)
-    {
-        $this->image = $image;
-
-        return $this;
-    }
-
-    /**
-     * Get image
-     *
-     * @return string 
-     */
-    public function getImage()
-    {
-        return $this->image;
-    }
-
-    /**
-     * Set visibility
-     *
-     * @param boolean $visibility
-     * @return EntityCTool
-     */
-    public function setVisibility($visibility)
-    {
-        $this->visibility = $visibility;
-
-        return $this;
-    }
-
-    /**
-     * Get visibility
-     *
-     * @return boolean 
-     */
-    public function getVisibility()
-    {
-        return $this->visibility;
-    }
-
-    /**
-     * Set admin
-     *
-     * @param string $admin
-     * @return EntityCTool
-     */
-    public function setAdmin($admin)
-    {
-        $this->admin = $admin;
-
-        return $this;
-    }
-
-    /**
-     * Get admin
-     *
-     * @return string 
-     */
-    public function getAdmin()
-    {
-        return $this->admin;
-    }
-
-    /**
-     * Set address
-     *
-     * @param string $address
-     * @return EntityCTool
-     */
-    public function setAddress($address)
-    {
-        $this->address = $address;
-
-        return $this;
-    }
-
-    /**
-     * Get address
-     *
-     * @return string 
-     */
-    public function getAddress()
-    {
-        return $this->address;
-    }
-
-    /**
-     * Set addedTool
-     *
-     * @param boolean $addedTool
-     * @return EntityCTool
-     */
-    public function setAddedTool($addedTool)
-    {
-        $this->addedTool = $addedTool;
-
-        return $this;
-    }
-
-    /**
-     * Get addedTool
-     *
-     * @return boolean 
-     */
-    public function getAddedTool()
-    {
-        return $this->addedTool;
-    }
-
-    /**
-     * Set target
-     *
-     * @param string $target
-     * @return EntityCTool
-     */
-    public function setTarget($target)
-    {
-        $this->target = $target;
-
-        return $this;
-    }
-
-    /**
-     * Get target
-     *
-     * @return string 
-     */
-    public function getTarget()
-    {
-        return $this->target;
-    }
-
-    /**
-     * Set category
-     *
-     * @param string $category
-     * @return EntityCTool
-     */
-    public function setCategory($category)
-    {
-        $this->category = $category;
-
-        return $this;
-    }
-
-    /**
-     * Get category
-     *
-     * @return string 
-     */
-    public function getCategory()
-    {
-        return $this->category;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCTool
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 141
main/inc/Entity/EntityCToolIntro.php

@@ -1,141 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCToolIntro
- *
- * @Table(name="c_tool_intro")
- * @Entity
- */
-class EntityCToolIntro
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="id", type="string", length=50, precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $sessionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="intro_text", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $introText;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCToolIntro
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param string $id
-     * @return EntityCToolIntro
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return string 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCToolIntro
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-
-    /**
-     * Set introText
-     *
-     * @param string $introText
-     * @return EntityCToolIntro
-     */
-    public function setIntroText($introText)
-    {
-        $this->introText = $introText;
-
-        return $this;
-    }
-
-    /**
-     * Get introText
-     *
-     * @return string 
-     */
-    public function getIntroText()
-    {
-        return $this->introText;
-    }
-}

+ 0 - 229
main/inc/Entity/EntityCUserinfoContent.php

@@ -1,229 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCUserinfoContent
- *
- * @Table(name="c_userinfo_content")
- * @Entity
- */
-class EntityCUserinfoContent
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="definition_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $definitionId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="editor_ip", type="string", length=39, precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $editorIp;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="edition_time", type="datetime", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $editionTime;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $content;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCUserinfoContent
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCUserinfoContent
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCUserinfoContent
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set definitionId
-     *
-     * @param integer $definitionId
-     * @return EntityCUserinfoContent
-     */
-    public function setDefinitionId($definitionId)
-    {
-        $this->definitionId = $definitionId;
-
-        return $this;
-    }
-
-    /**
-     * Get definitionId
-     *
-     * @return integer 
-     */
-    public function getDefinitionId()
-    {
-        return $this->definitionId;
-    }
-
-    /**
-     * Set editorIp
-     *
-     * @param string $editorIp
-     * @return EntityCUserinfoContent
-     */
-    public function setEditorIp($editorIp)
-    {
-        $this->editorIp = $editorIp;
-
-        return $this;
-    }
-
-    /**
-     * Get editorIp
-     *
-     * @return string 
-     */
-    public function getEditorIp()
-    {
-        return $this->editorIp;
-    }
-
-    /**
-     * Set editionTime
-     *
-     * @param \DateTime $editionTime
-     * @return EntityCUserinfoContent
-     */
-    public function setEditionTime($editionTime)
-    {
-        $this->editionTime = $editionTime;
-
-        return $this;
-    }
-
-    /**
-     * Get editionTime
-     *
-     * @return \DateTime 
-     */
-    public function getEditionTime()
-    {
-        return $this->editionTime;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCUserinfoContent
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-}

+ 0 - 199
main/inc/Entity/EntityCUserinfoDef.php

@@ -1,199 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCUserinfoDef
- *
- * @Table(name="c_userinfo_def")
- * @Entity
- */
-class EntityCUserinfoDef
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=80, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="line_count", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $lineCount;
-
-    /**
-     * @var boolean
-     *
-     * @Column(name="rank", type="boolean", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $rank;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCUserinfoDef
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCUserinfoDef
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCUserinfoDef
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCUserinfoDef
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set lineCount
-     *
-     * @param boolean $lineCount
-     * @return EntityCUserinfoDef
-     */
-    public function setLineCount($lineCount)
-    {
-        $this->lineCount = $lineCount;
-
-        return $this;
-    }
-
-    /**
-     * Get lineCount
-     *
-     * @return boolean 
-     */
-    public function getLineCount()
-    {
-        return $this->lineCount;
-    }
-
-    /**
-     * Set rank
-     *
-     * @param boolean $rank
-     * @return EntityCUserinfoDef
-     */
-    public function setRank($rank)
-    {
-        $this->rank = $rank;
-
-        return $this;
-    }
-
-    /**
-     * Get rank
-     *
-     * @return boolean 
-     */
-    public function getRank()
-    {
-        return $this->rank;
-    }
-}

+ 0 - 829
main/inc/Entity/EntityCWiki.php

@@ -1,829 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCWiki
- *
- * @Table(name="c_wiki")
- * @Entity
- */
-class EntityCWiki
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $id;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="page_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $pageId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="reflink", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $reflink;
-
-    /**
-     * @var string
-     *
-     * @Column(name="title", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $title;
-
-    /**
-     * @var string
-     *
-     * @Column(name="content", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $content;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="group_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $groupId;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="dtime", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $dtime;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="addlock", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $addlock;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="editlock", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $editlock;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="visibility", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $visibility;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="addlock_disc", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $addlockDisc;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="visibility_disc", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $visibilityDisc;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="ratinglock_disc", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $ratinglockDisc;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="assignment", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $assignment;
-
-    /**
-     * @var string
-     *
-     * @Column(name="comment", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $comment;
-
-    /**
-     * @var string
-     *
-     * @Column(name="progress", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $progress;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="score", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $score;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="version", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $version;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="is_editing", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $isEditing;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="time_edit", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $timeEdit;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="hits", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $hits;
-
-    /**
-     * @var string
-     *
-     * @Column(name="linksto", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $linksto;
-
-    /**
-     * @var string
-     *
-     * @Column(name="tag", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $tag;
-
-    /**
-     * @var string
-     *
-     * @Column(name="user_ip", type="string", length=39, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $userIp;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $sessionId;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCWiki
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set id
-     *
-     * @param integer $id
-     * @return EntityCWiki
-     */
-    public function setId($id)
-    {
-        $this->id = $id;
-
-        return $this;
-    }
-
-    /**
-     * Get id
-     *
-     * @return integer 
-     */
-    public function getId()
-    {
-        return $this->id;
-    }
-
-    /**
-     * Set pageId
-     *
-     * @param integer $pageId
-     * @return EntityCWiki
-     */
-    public function setPageId($pageId)
-    {
-        $this->pageId = $pageId;
-
-        return $this;
-    }
-
-    /**
-     * Get pageId
-     *
-     * @return integer 
-     */
-    public function getPageId()
-    {
-        return $this->pageId;
-    }
-
-    /**
-     * Set reflink
-     *
-     * @param string $reflink
-     * @return EntityCWiki
-     */
-    public function setReflink($reflink)
-    {
-        $this->reflink = $reflink;
-
-        return $this;
-    }
-
-    /**
-     * Get reflink
-     *
-     * @return string 
-     */
-    public function getReflink()
-    {
-        return $this->reflink;
-    }
-
-    /**
-     * Set title
-     *
-     * @param string $title
-     * @return EntityCWiki
-     */
-    public function setTitle($title)
-    {
-        $this->title = $title;
-
-        return $this;
-    }
-
-    /**
-     * Get title
-     *
-     * @return string 
-     */
-    public function getTitle()
-    {
-        return $this->title;
-    }
-
-    /**
-     * Set content
-     *
-     * @param string $content
-     * @return EntityCWiki
-     */
-    public function setContent($content)
-    {
-        $this->content = $content;
-
-        return $this;
-    }
-
-    /**
-     * Get content
-     *
-     * @return string 
-     */
-    public function getContent()
-    {
-        return $this->content;
-    }
-
-    /**
-     * Set userId
-     *
-     * @param integer $userId
-     * @return EntityCWiki
-     */
-    public function setUserId($userId)
-    {
-        $this->userId = $userId;
-
-        return $this;
-    }
-
-    /**
-     * Get userId
-     *
-     * @return integer 
-     */
-    public function getUserId()
-    {
-        return $this->userId;
-    }
-
-    /**
-     * Set groupId
-     *
-     * @param integer $groupId
-     * @return EntityCWiki
-     */
-    public function setGroupId($groupId)
-    {
-        $this->groupId = $groupId;
-
-        return $this;
-    }
-
-    /**
-     * Get groupId
-     *
-     * @return integer 
-     */
-    public function getGroupId()
-    {
-        return $this->groupId;
-    }
-
-    /**
-     * Set dtime
-     *
-     * @param \DateTime $dtime
-     * @return EntityCWiki
-     */
-    public function setDtime($dtime)
-    {
-        $this->dtime = $dtime;
-
-        return $this;
-    }
-
-    /**
-     * Get dtime
-     *
-     * @return \DateTime 
-     */
-    public function getDtime()
-    {
-        return $this->dtime;
-    }
-
-    /**
-     * Set addlock
-     *
-     * @param integer $addlock
-     * @return EntityCWiki
-     */
-    public function setAddlock($addlock)
-    {
-        $this->addlock = $addlock;
-
-        return $this;
-    }
-
-    /**
-     * Get addlock
-     *
-     * @return integer 
-     */
-    public function getAddlock()
-    {
-        return $this->addlock;
-    }
-
-    /**
-     * Set editlock
-     *
-     * @param integer $editlock
-     * @return EntityCWiki
-     */
-    public function setEditlock($editlock)
-    {
-        $this->editlock = $editlock;
-
-        return $this;
-    }
-
-    /**
-     * Get editlock
-     *
-     * @return integer 
-     */
-    public function getEditlock()
-    {
-        return $this->editlock;
-    }
-
-    /**
-     * Set visibility
-     *
-     * @param integer $visibility
-     * @return EntityCWiki
-     */
-    public function setVisibility($visibility)
-    {
-        $this->visibility = $visibility;
-
-        return $this;
-    }
-
-    /**
-     * Get visibility
-     *
-     * @return integer 
-     */
-    public function getVisibility()
-    {
-        return $this->visibility;
-    }
-
-    /**
-     * Set addlockDisc
-     *
-     * @param integer $addlockDisc
-     * @return EntityCWiki
-     */
-    public function setAddlockDisc($addlockDisc)
-    {
-        $this->addlockDisc = $addlockDisc;
-
-        return $this;
-    }
-
-    /**
-     * Get addlockDisc
-     *
-     * @return integer 
-     */
-    public function getAddlockDisc()
-    {
-        return $this->addlockDisc;
-    }
-
-    /**
-     * Set visibilityDisc
-     *
-     * @param integer $visibilityDisc
-     * @return EntityCWiki
-     */
-    public function setVisibilityDisc($visibilityDisc)
-    {
-        $this->visibilityDisc = $visibilityDisc;
-
-        return $this;
-    }
-
-    /**
-     * Get visibilityDisc
-     *
-     * @return integer 
-     */
-    public function getVisibilityDisc()
-    {
-        return $this->visibilityDisc;
-    }
-
-    /**
-     * Set ratinglockDisc
-     *
-     * @param integer $ratinglockDisc
-     * @return EntityCWiki
-     */
-    public function setRatinglockDisc($ratinglockDisc)
-    {
-        $this->ratinglockDisc = $ratinglockDisc;
-
-        return $this;
-    }
-
-    /**
-     * Get ratinglockDisc
-     *
-     * @return integer 
-     */
-    public function getRatinglockDisc()
-    {
-        return $this->ratinglockDisc;
-    }
-
-    /**
-     * Set assignment
-     *
-     * @param integer $assignment
-     * @return EntityCWiki
-     */
-    public function setAssignment($assignment)
-    {
-        $this->assignment = $assignment;
-
-        return $this;
-    }
-
-    /**
-     * Get assignment
-     *
-     * @return integer 
-     */
-    public function getAssignment()
-    {
-        return $this->assignment;
-    }
-
-    /**
-     * Set comment
-     *
-     * @param string $comment
-     * @return EntityCWiki
-     */
-    public function setComment($comment)
-    {
-        $this->comment = $comment;
-
-        return $this;
-    }
-
-    /**
-     * Get comment
-     *
-     * @return string 
-     */
-    public function getComment()
-    {
-        return $this->comment;
-    }
-
-    /**
-     * Set progress
-     *
-     * @param string $progress
-     * @return EntityCWiki
-     */
-    public function setProgress($progress)
-    {
-        $this->progress = $progress;
-
-        return $this;
-    }
-
-    /**
-     * Get progress
-     *
-     * @return string 
-     */
-    public function getProgress()
-    {
-        return $this->progress;
-    }
-
-    /**
-     * Set score
-     *
-     * @param integer $score
-     * @return EntityCWiki
-     */
-    public function setScore($score)
-    {
-        $this->score = $score;
-
-        return $this;
-    }
-
-    /**
-     * Get score
-     *
-     * @return integer 
-     */
-    public function getScore()
-    {
-        return $this->score;
-    }
-
-    /**
-     * Set version
-     *
-     * @param integer $version
-     * @return EntityCWiki
-     */
-    public function setVersion($version)
-    {
-        $this->version = $version;
-
-        return $this;
-    }
-
-    /**
-     * Get version
-     *
-     * @return integer 
-     */
-    public function getVersion()
-    {
-        return $this->version;
-    }
-
-    /**
-     * Set isEditing
-     *
-     * @param integer $isEditing
-     * @return EntityCWiki
-     */
-    public function setIsEditing($isEditing)
-    {
-        $this->isEditing = $isEditing;
-
-        return $this;
-    }
-
-    /**
-     * Get isEditing
-     *
-     * @return integer 
-     */
-    public function getIsEditing()
-    {
-        return $this->isEditing;
-    }
-
-    /**
-     * Set timeEdit
-     *
-     * @param \DateTime $timeEdit
-     * @return EntityCWiki
-     */
-    public function setTimeEdit($timeEdit)
-    {
-        $this->timeEdit = $timeEdit;
-
-        return $this;
-    }
-
-    /**
-     * Get timeEdit
-     *
-     * @return \DateTime 
-     */
-    public function getTimeEdit()
-    {
-        return $this->timeEdit;
-    }
-
-    /**
-     * Set hits
-     *
-     * @param integer $hits
-     * @return EntityCWiki
-     */
-    public function setHits($hits)
-    {
-        $this->hits = $hits;
-
-        return $this;
-    }
-
-    /**
-     * Get hits
-     *
-     * @return integer 
-     */
-    public function getHits()
-    {
-        return $this->hits;
-    }
-
-    /**
-     * Set linksto
-     *
-     * @param string $linksto
-     * @return EntityCWiki
-     */
-    public function setLinksto($linksto)
-    {
-        $this->linksto = $linksto;
-
-        return $this;
-    }
-
-    /**
-     * Get linksto
-     *
-     * @return string 
-     */
-    public function getLinksto()
-    {
-        return $this->linksto;
-    }
-
-    /**
-     * Set tag
-     *
-     * @param string $tag
-     * @return EntityCWiki
-     */
-    public function setTag($tag)
-    {
-        $this->tag = $tag;
-
-        return $this;
-    }
-
-    /**
-     * Get tag
-     *
-     * @return string 
-     */
-    public function getTag()
-    {
-        return $this->tag;
-    }
-
-    /**
-     * Set userIp
-     *
-     * @param string $userIp
-     * @return EntityCWiki
-     */
-    public function setUserIp($userIp)
-    {
-        $this->userIp = $userIp;
-
-        return $this;
-    }
-
-    /**
-     * Get userIp
-     *
-     * @return string 
-     */
-    public function getUserIp()
-    {
-        return $this->userIp;
-    }
-
-    /**
-     * Set sessionId
-     *
-     * @param integer $sessionId
-     * @return EntityCWiki
-     */
-    public function setSessionId($sessionId)
-    {
-        $this->sessionId = $sessionId;
-
-        return $this;
-    }
-
-    /**
-     * Get sessionId
-     *
-     * @return integer 
-     */
-    public function getSessionId()
-    {
-        return $this->sessionId;
-    }
-}

+ 0 - 469
main/inc/Entity/EntityCWikiConf.php

@@ -1,469 +0,0 @@
-<?php
-
-
-
-use Doctrine\ORM\Mapping as ORM;
-
-/**
- * EntityCWikiConf
- *
- * @Table(name="c_wiki_conf")
- * @Entity
- */
-class EntityCWikiConf
-{
-    /**
-     * @var integer
-     *
-     * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $cId;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="page_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     * @Id
-     * @GeneratedValue(strategy="NONE")
-     */
-    private $pageId;
-
-    /**
-     * @var string
-     *
-     * @Column(name="task", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $task;
-
-    /**
-     * @var string
-     *
-     * @Column(name="feedback1", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedback1;
-
-    /**
-     * @var string
-     *
-     * @Column(name="feedback2", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedback2;
-
-    /**
-     * @var string
-     *
-     * @Column(name="feedback3", type="text", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $feedback3;
-
-    /**
-     * @var string
-     *
-     * @Column(name="fprogress1", type="string", length=3, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $fprogress1;
-
-    /**
-     * @var string
-     *
-     * @Column(name="fprogress2", type="string", length=3, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $fprogress2;
-
-    /**
-     * @var string
-     *
-     * @Column(name="fprogress3", type="string", length=3, precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $fprogress3;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="max_size", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxSize;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="max_text", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxText;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="max_version", type="integer", precision=0, scale=0, nullable=true, unique=false)
-     */
-    private $maxVersion;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="startdate_assig", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $startdateAssig;
-
-    /**
-     * @var \DateTime
-     *
-     * @Column(name="enddate_assig", type="datetime", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $enddateAssig;
-
-    /**
-     * @var integer
-     *
-     * @Column(name="delayedsubmit", type="integer", precision=0, scale=0, nullable=false, unique=false)
-     */
-    private $delayedsubmit;
-
-
-    /**
-     * Set cId
-     *
-     * @param integer $cId
-     * @return EntityCWikiConf
-     */
-    public function setCId($cId)
-    {
-        $this->cId = $cId;
-
-        return $this;
-    }
-
-    /**
-     * Get cId
-     *
-     * @return integer 
-     */
-    public function getCId()
-    {
-        return $this->cId;
-    }
-
-    /**
-     * Set pageId
-     *
-     * @param integer $pageId
-     * @return EntityCWikiConf
-     */
-    public function setPageId($pageId)
-    {
-        $this->pageId = $pageId;
-
-        return $this;
-    }
-
-    /**
-     * Get pageId
-     *
-     * @return integer 
-     */
-    public function getPageId()
-    {
-        return $this->pageId;
-    }
-
-    /**
-     * Set task
-     *
-     * @param string $task
-     * @return EntityCWikiConf
-     */
-    public function setTask($task)
-    {
-        $this->task = $task;
-
-        return $this;
-    }
-
-    /**
-     * Get task
-     *
-     * @return string 
-     */
-    public function getTask()
-    {
-        return $this->task;
-    }
-
-    /**
-     * Set feedback1
-     *
-     * @param string $feedback1
-     * @return EntityCWikiConf
-     */
-    public function setFeedback1($feedback1)
-    {
-        $this->feedback1 = $feedback1;
-
-        return $this;
-    }
-
-    /**
-     * Get feedback1
-     *
-     * @return string 
-     */
-    public function getFeedback1()
-    {
-        return $this->feedback1;
-    }
-
-    /**
-     * Set feedback2
-     *
-     * @param string $feedback2
-     * @return EntityCWikiConf
-     */
-    public function setFeedback2($feedback2)
-    {
-        $this->feedback2 = $feedback2;
-
-        return $this;
-    }
-
-    /**
-     * Get feedback2
-     *
-     * @return string 
-     */
-    public function getFeedback2()
-    {
-        return $this->feedback2;
-    }
-
-    /**
-     * Set feedback3
-     *
-     * @param string $feedback3
-     * @return EntityCWikiConf
-     */
-    public function setFeedback3($feedback3)
-    {
-        $this->feedback3 = $feedback3;
-
-        return $this;
-    }
-
-    /**
-     * Get feedback3
-     *
-     * @return string 
-     */
-    public function getFeedback3()
-    {
-        return $this->feedback3;
-    }
-
-    /**
-     * Set fprogress1
-     *
-     * @param string $fprogress1
-     * @return EntityCWikiConf
-     */
-    public function setFprogress1($fprogress1)
-    {
-        $this->fprogress1 = $fprogress1;
-
-        return $this;
-    }
-
-    /**
-     * Get fprogress1
-     *
-     * @return string 
-     */
-    public function getFprogress1()
-    {
-        return $this->fprogress1;
-    }
-
-    /**
-     * Set fprogress2
-     *
-     * @param string $fprogress2
-     * @return EntityCWikiConf
-     */
-    public function setFprogress2($fprogress2)
-    {
-        $this->fprogress2 = $fprogress2;
-
-        return $this;
-    }
-
-    /**
-     * Get fprogress2
-     *
-     * @return string 
-     */
-    public function getFprogress2()
-    {
-        return $this->fprogress2;
-    }
-
-    /**
-     * Set fprogress3
-     *
-     * @param string $fprogress3
-     * @return EntityCWikiConf
-     */
-    public function setFprogress3($fprogress3)
-    {
-        $this->fprogress3 = $fprogress3;
-
-        return $this;
-    }
-
-    /**
-     * Get fprogress3
-     *
-     * @return string 
-     */
-    public function getFprogress3()
-    {
-        return $this->fprogress3;
-    }
-
-    /**
-     * Set maxSize
-     *
-     * @param integer $maxSize
-     * @return EntityCWikiConf
-     */
-    public function setMaxSize($maxSize)
-    {
-        $this->maxSize = $maxSize;
-
-        return $this;
-    }
-
-    /**
-     * Get maxSize
-     *
-     * @return integer 
-     */
-    public function getMaxSize()
-    {
-        return $this->maxSize;
-    }
-
-    /**
-     * Set maxText
-     *
-     * @param integer $maxText
-     * @return EntityCWikiConf
-     */
-    public function setMaxText($maxText)
-    {
-        $this->maxText = $maxText;
-
-        return $this;
-    }
-
-    /**
-     * Get maxText
-     *
-     * @return integer 
-     */
-    public function getMaxText()
-    {
-        return $this->maxText;
-    }
-
-    /**
-     * Set maxVersion
-     *
-     * @param integer $maxVersion
-     * @return EntityCWikiConf
-     */
-    public function setMaxVersion($maxVersion)
-    {
-        $this->maxVersion = $maxVersion;
-
-        return $this;
-    }
-
-    /**
-     * Get maxVersion
-     *
-     * @return integer 
-     */
-    public function getMaxVersion()
-    {
-        return $this->maxVersion;
-    }
-
-    /**
-     * Set startdateAssig
-     *
-     * @param \DateTime $startdateAssig
-     * @return EntityCWikiConf
-     */
-    public function setStartdateAssig($startdateAssig)
-    {
-        $this->startdateAssig = $startdateAssig;
-
-        return $this;
-    }
-
-    /**
-     * Get startdateAssig
-     *
-     * @return \DateTime 
-     */
-    public function getStartdateAssig()
-    {
-        return $this->startdateAssig;
-    }
-
-    /**
-     * Set enddateAssig
-     *
-     * @param \DateTime $enddateAssig
-     * @return EntityCWikiConf
-     */
-    public function setEnddateAssig($enddateAssig)
-    {
-        $this->enddateAssig = $enddateAssig;
-
-        return $this;
-    }
-
-    /**
-     * Get enddateAssig
-     *
-     * @return \DateTime 
-     */
-    public function getEnddateAssig()
-    {
-        return $this->enddateAssig;
-    }
-
-    /**
-     * Set delayedsubmit
-     *
-     * @param integer $delayedsubmit
-     * @return EntityCWikiConf
-     */
-    public function setDelayedsubmit($delayedsubmit)
-    {
-        $this->delayedsubmit = $delayedsubmit;
-
-        return $this;
-    }
-
-    /**
-     * Get delayedsubmit
-     *
-     * @return integer 
-     */
-    public function getDelayedsubmit()
-    {
-        return $this->delayedsubmit;
-    }
-}

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio