Minor - update entities use protected

pull/2487/merge
Julio Montoya 7 years ago
parent a416f3bc14
commit 3fddb24e22
  1. 28
      src/CoreBundle/Entity/AccessUrl.php
  2. 2
      src/CoreBundle/Entity/AccessUrlRelCourse.php
  3. 6
      src/CoreBundle/Entity/AccessUrlRelCourseCategory.php
  4. 2
      src/CoreBundle/Entity/AccessUrlRelSession.php
  5. 2
      src/CoreBundle/Entity/AccessUrlRelUser.php
  6. 6
      src/CoreBundle/Entity/AccessUrlRelUserGroup.php
  7. 4
      src/CoreBundle/Entity/Admin.php
  8. 4
      src/CoreBundle/Entity/AnnouncementRelGroup.php
  9. 12
      src/CoreBundle/Entity/Block.php
  10. 52
      src/CoreBundle/Entity/BranchSync.php
  11. 24
      src/CoreBundle/Entity/BranchTransaction.php
  12. 4
      src/CoreBundle/Entity/BranchTransactionStatus.php
  13. 12
      src/CoreBundle/Entity/Career.php
  14. 12
      src/CoreBundle/Entity/Chat.php
  15. 10
      src/CoreBundle/Entity/ChatVideo.php
  16. 6
      src/CoreBundle/Entity/ClassItem.php
  17. 4
      src/CoreBundle/Entity/ClassUser.php
  18. 56
      src/CoreBundle/Entity/Course.php
  19. 16
      src/CoreBundle/Entity/CourseCategory.php
  20. 14
      src/CoreBundle/Entity/CourseModule.php
  21. 4
      src/CoreBundle/Entity/CourseRelClass.php
  22. 14
      src/CoreBundle/Entity/CourseRelUser.php
  23. 4
      src/CoreBundle/Entity/CourseRelUserCatalogue.php
  24. 32
      src/CoreBundle/Entity/CourseRequest.php
  25. 10
      src/CoreBundle/Entity/CourseType.php
  26. 12
      src/CoreBundle/Entity/EventEmailTemplate.php
  27. 8
      src/CoreBundle/Entity/EventSent.php
  28. 2
      src/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php
  29. 8
      src/CoreBundle/Entity/ExtraFieldRelTag.php
  30. 10
      src/CoreBundle/Entity/GradeComponents.php
  31. 12
      src/CoreBundle/Entity/GradeModel.php
  32. 34
      src/CoreBundle/Entity/GradebookCategory.php
  33. 14
      src/CoreBundle/Entity/GradebookCertificate.php
  34. 24
      src/CoreBundle/Entity/GradebookEvaluation.php
  35. 20
      src/CoreBundle/Entity/GradebookLink.php
  36. 18
      src/CoreBundle/Entity/GradebookLinkevalLog.php
  37. 10
      src/CoreBundle/Entity/GradebookResult.php
  38. 12
      src/CoreBundle/Entity/GradebookResultLog.php
  39. 10
      src/CoreBundle/Entity/GradebookScoreDisplay.php
  40. 10
      src/CoreBundle/Entity/GradebookScoreLog.php
  41. 12
      src/CoreBundle/Entity/HookCall.php
  42. 6
      src/CoreBundle/Entity/HookEvent.php
  43. 8
      src/CoreBundle/Entity/HookObserver.php
  44. 16
      src/CoreBundle/Entity/Language.php
  45. 14
      src/CoreBundle/Entity/Legal.php
  46. 2
      src/CoreBundle/Entity/Listener/CourseListener.php
  47. 2
      src/CoreBundle/Entity/Listener/SessionListener.php
  48. 2
      src/CoreBundle/Entity/Manager/SessionManager.php
  49. 22
      src/CoreBundle/Entity/Message.php
  50. 12
      src/CoreBundle/Entity/MessageAttachment.php
  51. 16
      src/CoreBundle/Entity/Notification.php
  52. 16
      src/CoreBundle/Entity/OpenidAssociation.php
  53. 20
      src/CoreBundle/Entity/PersonalAgenda.php
  54. 10
      src/CoreBundle/Entity/PersonalAgendaRepeat.php
  55. 4
      src/CoreBundle/Entity/PersonalAgendaRepeatNot.php
  56. 20
      src/CoreBundle/Entity/Portfolio.php
  57. 12
      src/CoreBundle/Entity/PortfolioCategory.php
  58. 14
      src/CoreBundle/Entity/Promotion.php
  59. 2
      src/CoreBundle/Entity/Repository/SequenceRepository.php
  60. 14
      src/CoreBundle/Entity/Resource/ResourceLink.php
  61. 2
      src/CoreBundle/Entity/Resource/ResourceNode.php
  62. 14
      src/CoreBundle/Entity/Room.php
  63. 14
      src/CoreBundle/Entity/ScheduledAnnouncement.php
  64. 12
      src/CoreBundle/Entity/SearchEngineRef.php
  65. 10
      src/CoreBundle/Entity/Sequence.php
  66. 12
      src/CoreBundle/Entity/SequenceCondition.php
  67. 6
      src/CoreBundle/Entity/SequenceFormula.php
  68. 12
      src/CoreBundle/Entity/SequenceMethod.php
  69. 6
      src/CoreBundle/Entity/SequenceResource.php
  70. 12
      src/CoreBundle/Entity/SequenceRowEntity.php
  71. 4
      src/CoreBundle/Entity/SequenceRule.php
  72. 6
      src/CoreBundle/Entity/SequenceRuleCondition.php
  73. 8
      src/CoreBundle/Entity/SequenceRuleMethod.php
  74. 8
      src/CoreBundle/Entity/SequenceTypeEntity.php
  75. 6
      src/CoreBundle/Entity/SequenceValid.php
  76. 22
      src/CoreBundle/Entity/SequenceValue.php
  77. 8
      src/CoreBundle/Entity/SequenceVariable.php
  78. 48
      src/CoreBundle/Entity/Session.php
  79. 8
      src/CoreBundle/Entity/SessionCategory.php
  80. 2
      src/CoreBundle/Entity/SessionRelCourse.php
  81. 8
      src/CoreBundle/Entity/SessionRelCourseRelUser.php
  82. 18
      src/CoreBundle/Entity/SessionRelUser.php
  83. 26
      src/CoreBundle/Entity/SettingsCurrent.php
  84. 8
      src/CoreBundle/Entity/SettingsOptions.php
  85. 22
      src/CoreBundle/Entity/SharedSurvey.php
  86. 18
      src/CoreBundle/Entity/SharedSurveyQuestion.php
  87. 10
      src/CoreBundle/Entity/SharedSurveyQuestionOption.php
  88. 18
      src/CoreBundle/Entity/Skill.php
  89. 6
      src/CoreBundle/Entity/SkillProfile.php
  90. 8
      src/CoreBundle/Entity/SkillRelGradebook.php
  91. 6
      src/CoreBundle/Entity/SkillRelProfile.php
  92. 10
      src/CoreBundle/Entity/SkillRelSkill.php
  93. 20
      src/CoreBundle/Entity/SkillRelUser.php
  94. 12
      src/CoreBundle/Entity/SkillRelUserComment.php
  95. 6
      src/CoreBundle/Entity/SpecificField.php
  96. 12
      src/CoreBundle/Entity/SpecificFieldValues.php
  97. 26
      src/CoreBundle/Entity/SysAnnouncement.php
  98. 14
      src/CoreBundle/Entity/SysCalendar.php
  99. 10
      src/CoreBundle/Entity/SystemTemplate.php
  100. 8
      src/CoreBundle/Entity/Tag.php
  101. Some files were not shown because too many files have changed in this diff Show More

@ -39,98 +39,98 @@ class AccessUrl
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="url", type="string", length=255, nullable=false, unique=false)
*/
private $url;
protected $url;
/**
* @var string
*
* @ORM\Column(name="description", type="text", unique=false)
*/
private $description;
protected $description;
/**
* @var int
*
* @ORM\Column(name="active", type="integer", nullable=false, unique=false)
*/
private $active;
protected $active;
/**
* @var int
*
* @ORM\Column(name="created_by", type="integer", nullable=false, unique=false)
*/
private $createdBy;
protected $createdBy;
/**
* @var \DateTime
*
* @ORM\Column(name="tms", type="datetime", nullable=true)
*/
private $tms;
protected $tms;
/**
* @var bool
*
* @ORM\Column(name="url_type", type="boolean", nullable=true)
*/
private $urlType;
protected $urlType;
/**
* @var int
*
* @ORM\Column(name="limit_courses", type="integer", nullable=true, unique=false)
*/
private $limitCourses;
protected $limitCourses;
/**
* @var int
*
* @ORM\Column(name="limit_active_courses", type="integer", nullable=true, unique=false)
*/
private $limitActiveCourses;
protected $limitActiveCourses;
/**
* @var int
*
* @ORM\Column(name="limit_sessions", type="integer", nullable=true, unique=false)
*/
private $limitSessions;
protected $limitSessions;
/**
* @var int
*
* @ORM\Column(name="limit_users", type="integer", nullable=true, unique=false)
*/
private $limitUsers;
protected $limitUsers;
/**
* @var int
*
* @ORM\Column(name="limit_teachers", type="integer", nullable=true, unique=false)
*/
private $limitTeachers;
protected $limitTeachers;
/**
* @var int
*
* @ORM\Column(name="limit_disk_space", type="integer", nullable=true, unique=false)
*/
private $limitDiskSpace;
protected $limitDiskSpace;
/**
* @var string
*
* @ORM\Column(name="email", type="string", length=255, nullable=true, unique=false)
*/
private $email;
protected $email;
/**
* Constructor.

@ -31,7 +31,7 @@ class AccessUrlRelCourse
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @return string

@ -20,21 +20,21 @@ class AccessUrlRelCourseCategory
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="access_url_id", type="integer")
*/
private $accessUrlId;
protected $accessUrlId;
/**
* @var int
*
* @ORM\Column(name="course_category_id", type="integer")
*/
private $courseCategoryId;
protected $courseCategoryId;
/**
* Set accessUrlId.

@ -31,7 +31,7 @@ class AccessUrlRelSession
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* Get id.

@ -30,7 +30,7 @@ class AccessUrlRelUser
* @ORM\GeneratedValue
* @ORM\Column(name="id", type="integer")
*/
private $id;
protected $id;
/**
* @return string

@ -20,21 +20,21 @@ class AccessUrlRelUserGroup
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="access_url_id", type="integer")
*/
private $accessUrlId;
protected $accessUrlId;
/**
* @var int
*
* @ORM\Column(name="usergroup_id", type="integer")
*/
private $userGroupId;
protected $userGroupId;
/**
* Set accessUrlId.

@ -20,14 +20,14 @@ class Admin
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* Set userId.

@ -20,7 +20,7 @@ class AnnouncementRelGroup
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $groupId;
protected $groupId;
/**
* @var int
@ -29,7 +29,7 @@ class AnnouncementRelGroup
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $announcementId;
protected $announcementId;
/**
* Set groupId.

@ -24,42 +24,42 @@ class Block
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=true)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="path", type="string", length=255, nullable=false)
*/
private $path;
protected $path;
/**
* @var string
*
* @ORM\Column(name="controller", type="string", length=100, nullable=false)
*/
private $controller;
protected $controller;
/**
* @var bool
*
* @ORM\Column(name="active", type="boolean", nullable=false)
*/
private $active;
protected $active;
/**
* Set name.

@ -22,181 +22,181 @@ class BranchSync
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="access_url_id", type="integer", nullable=false, unique=false)
*/
private $accessUrlId;
protected $accessUrlId;
/**
* @var string
*
* @ORM\Column(name="unique_id", type="string", length=50, nullable=false, unique=true)
*/
private $uniqueId;
protected $uniqueId;
/**
* @var string
*
* @ORM\Column(name="branch_name", type="string", length=250, nullable=false, unique=false)
*/
private $branchName;
protected $branchName;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="branch_ip", type="string", length=40, nullable=true, unique=false)
*/
private $branchIp;
protected $branchIp;
/**
* @var float
*
* @ORM\Column(name="latitude", type="decimal", nullable=true, unique=false)
*/
private $latitude;
protected $latitude;
/**
* @var float
*
* @ORM\Column(name="longitude", type="decimal", nullable=true, unique=false)
*/
private $longitude;
protected $longitude;
/**
* @var int
*
* @ORM\Column(name="dwn_speed", type="integer", nullable=true, unique=false)
*/
private $dwnSpeed;
protected $dwnSpeed;
/**
* @var int
*
* @ORM\Column(name="up_speed", type="integer", nullable=true, unique=false)
*/
private $upSpeed;
protected $upSpeed;
/**
* @var int
*
* @ORM\Column(name="delay", type="integer", nullable=true, unique=false)
*/
private $delay;
protected $delay;
/**
* @var string
*
* @ORM\Column(name="admin_mail", type="string", length=250, nullable=true, unique=false)
*/
private $adminMail;
protected $adminMail;
/**
* @var string
*
* @ORM\Column(name="admin_name", type="string", length=250, nullable=true, unique=false)
*/
private $adminName;
protected $adminName;
/**
* @var string
*
* @ORM\Column(name="admin_phone", type="string", length=250, nullable=true, unique=false)
*/
private $adminPhone;
protected $adminPhone;
/**
* @var int
*
* @ORM\Column(name="last_sync_trans_id", type="bigint", nullable=true, unique=false)
*/
private $lastSyncTransId;
protected $lastSyncTransId;
/**
* @var \DateTime
*
* @ORM\Column(name="last_sync_trans_date", type="datetime", nullable=true, unique=false)
*/
private $lastSyncTransDate;
protected $lastSyncTransDate;
/**
* @var string
*
* @ORM\Column(name="last_sync_type", type="string", length=20, nullable=true, unique=false)
*/
private $lastSyncType;
protected $lastSyncType;
/**
* @var string
*
* @ORM\Column(name="ssl_pub_key", type="string", length=250, nullable=true, unique=false)
*/
private $sslPubKey;
protected $sslPubKey;
/**
* @var string
*
* @ORM\Column(name="branch_type", type="string", length=250, nullable=true, unique=false)
*/
private $branchType;
protected $branchType;
/**
* @var int
* @Gedmo\TreeLeft
* @ORM\Column(name="lft", type="integer", nullable=true, unique=false)
*/
private $lft;
protected $lft;
/**
* @var int
* @Gedmo\TreeRight
* @ORM\Column(name="rgt", type="integer", nullable=true, unique=false)
*/
private $rgt;
protected $rgt;
/**
* @var int
* @Gedmo\TreeLevel
* @ORM\Column(name="lvl", type="integer", nullable=true, unique=false)
*/
private $lvl;
protected $lvl;
/**
* @var int
* @Gedmo\TreeRoot
* @ORM\Column(name="root", type="integer", nullable=true, unique=false)
*/
private $root;
protected $root;
/**
* @var int
*
* @ORM\Column(name="parent_id", type="integer", nullable=true, unique=false)
*/
private $parentId;
protected $parentId;
/**
* @Gedmo\TreeParent
* @ORM\ManyToOne(targetEntity="BranchSync", inversedBy="children")
* @ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="SET NULL")
*/
private $parent;
protected $parent;
/**
* @ORM\OneToMany(targetEntity="BranchSync", mappedBy="parent")
* @ORM\OrderBy({"lft" = "ASC"})
*/
private $children;
protected $children;
/**
* Constructor.

@ -20,7 +20,7 @@ class BranchTransaction
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var Room
@ -28,70 +28,70 @@ class BranchTransaction
* @ORM\ManyToOne(targetEntity="BranchTransactionStatus")
* @ORM\JoinColumn(name="status_id", referencedColumnName="id")
*/
private $branchTransactionStatus;
protected $branchTransactionStatus;
/**
* @var int
*
* @ORM\Column(name="transaction_id", type="bigint", nullable=false, unique=false)
*/
private $externalTransactionId;
protected $externalTransactionId;
/**
* @var string
*
* @ORM\Column(name="action", type="string", length=20, nullable=true, unique=false)
*/
private $action;
protected $action;
/**
* @var string
*
* @ORM\Column(name="item_id", type="string", length=255, nullable=true, unique=false)
*/
private $itemId;
protected $itemId;
/**
* @var string
*
* @ORM\Column(name="origin", type="string", length=255, nullable=true, unique=false)
*/
private $origin;
protected $origin;
/**
* @var string
*
* @ORM\Column(name="dest_id", type="string", length=255, nullable=true, unique=false)
*/
private $destId;
protected $destId;
/**
* @var string
*
* @ORM\Column(name="external_info", type="string", length=255, nullable=true, unique=false)
*/
private $externalInfo;
protected $externalInfo;
/**
* @var \DateTime
*
* @ORM\Column(name="time_insert", type="datetime", nullable=false, unique=false)
*/
private $timeInsert;
protected $timeInsert;
/**
* @var \DateTime
*
* @ORM\Column(name="time_update", type="datetime", nullable=false, unique=false)
*/
private $timeUpdate;
protected $timeUpdate;
/**
* @var int
*
* @ORM\Column(name="failed_attempts", type="integer", nullable=false, unique=false)
*/
private $failedAttempts;
protected $failedAttempts;
/**
* @var BranchSync
@ -99,7 +99,7 @@ class BranchTransaction
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\BranchSync")
* @ORM\JoinColumn(name="branch_id", referencedColumnName="id")
*/
private $branch;
protected $branch;
/**
* Set id.

@ -20,14 +20,14 @@ class BranchTransactionStatus
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=true, unique=false)
*/
private $title;
protected $title;
/**
* Get id.

@ -20,42 +20,42 @@ class Career
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* @var int
*
* @ORM\Column(name="status", type="integer", nullable=false)
*/
private $status;
protected $status;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var \DateTime
*
* @ORM\Column(name="updated_at", type="datetime", nullable=false)
*/
private $updatedAt;
protected $updatedAt;
/**
* Get id.

@ -23,42 +23,42 @@ class Chat
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="from_user", type="integer", nullable=true)
*/
private $fromUser;
protected $fromUser;
/**
* @var int
*
* @ORM\Column(name="to_user", type="integer", nullable=true)
*/
private $toUser;
protected $toUser;
/**
* @var string
*
* @ORM\Column(name="message", type="text", nullable=false)
*/
private $message;
protected $message;
/**
* @var \DateTime
*
* @ORM\Column(name="sent", type="datetime", nullable=false)
*/
private $sent;
protected $sent;
/**
* @var int
*
* @ORM\Column(name="recd", type="integer", nullable=false)
*/
private $recd;
protected $recd;
/**
* Get id.

@ -29,35 +29,35 @@ class ChatVideo
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="from_user", type="integer", nullable=false)
*/
private $fromUser;
protected $fromUser;
/**
* @var int
*
* @ORM\Column(name="to_user", type="integer", nullable=false)
*/
private $toUser;
protected $toUser;
/**
* @var string
*
* @ORM\Column(name="room_name", type="string", nullable=false)
*/
private $roomName;
protected $roomName;
/**
* @var \DateTime
*
* @ORM\Column(name="datetime", type="datetime", nullable=false)
*/
private $datetime;
protected $datetime;
/**
* Set fromUser.

@ -20,21 +20,21 @@ class ClassItem
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=40, nullable=true)
*/
private $code;
protected $code;
/**
* @var string
*
* @ORM\Column(name="name", type="text", nullable=false)
*/
private $name;
protected $name;
/**
* Set code.

@ -20,7 +20,7 @@ class ClassUser
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $classId;
protected $classId;
/**
* @var int
@ -29,7 +29,7 @@ class ClassUser
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $userId;
protected $userId;
/**
* Set classId.

@ -144,7 +144,7 @@ class Course
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
protected $id;
/**
* @var string
@ -153,7 +153,7 @@ class Course
*
* @ORM\Column(name="title", type="string", length=250, nullable=true, unique=false)
*/
private $title;
protected $title;
/**
* @var string
@ -164,161 +164,161 @@ class Course
* )
* @ORM\Column(name="code", type="string", length=40, nullable=false, unique=true)
*/
private $code;
protected $code;
/**
* @var string
*
* @ORM\Column(name="directory", type="string", length=40, nullable=true, unique=false)
*/
private $directory;
protected $directory;
/**
* @var string
*
* @ORM\Column(name="course_language", type="string", length=20, nullable=true, unique=false)
*/
private $courseLanguage;
protected $courseLanguage;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true, unique=false)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="category_code", type="string", length=40, nullable=true, unique=false)
*/
private $categoryCode;
protected $categoryCode;
/**
* @var bool
* @Assert\NotBlank()
* @ORM\Column(name="visibility", type="integer", nullable=true, unique=false)
*/
private $visibility;
protected $visibility;
/**
* @var int
*
* @ORM\Column(name="show_score", type="integer", nullable=true, unique=false)
*/
private $showScore;
protected $showScore;
/**
* @var string
*
* @ORM\Column(name="tutor_name", type="string", length=200, nullable=true, unique=false)
*/
private $tutorName;
protected $tutorName;
/**
* @var string
*
* @ORM\Column(name="visual_code", type="string", length=40, nullable=true, unique=false)
*/
private $visualCode;
protected $visualCode;
/**
* @var string
*
* @ORM\Column(name="department_name", type="string", length=30, nullable=true, unique=false)
*/
private $departmentName;
protected $departmentName;
/**
* @var string
* @Assert\Url()
* @ORM\Column(name="department_url", type="string", length=180, nullable=true, unique=false)
*/
private $departmentUrl;
protected $departmentUrl;
/**
* @var int
*
* @ORM\Column(name="disk_quota", type="bigint", nullable=true, unique=false)
*/
private $diskQuota;
protected $diskQuota;
/**
* @var \DateTime
*
* @ORM\Column(name="last_visit", type="datetime", nullable=true, unique=false)
*/
private $lastVisit;
protected $lastVisit;
/**
* @var \DateTime
*
* @ORM\Column(name="last_edit", type="datetime", nullable=true, unique=false)
*/
private $lastEdit;
protected $lastEdit;
/**
* @var \DateTime
*
* @ORM\Column(name="creation_date", type="datetime", nullable=true, unique=false)
*/
private $creationDate;
protected $creationDate;
/**
* @var \DateTime
*
* @ORM\Column(name="expiration_date", type="datetime", nullable=true, unique=false)
*/
private $expirationDate;
protected $expirationDate;
/**
* @var bool
*
* @ORM\Column(name="subscribe", type="boolean", nullable=true, unique=false)
*/
private $subscribe;
protected $subscribe;
/**
* @var bool
*
* @ORM\Column(name="unsubscribe", type="boolean", nullable=true, unique=false)
*/
private $unsubscribe;
protected $unsubscribe;
/**
* @var string
*
* @ORM\Column(name="registration_code", type="string", length=255, nullable=true, unique=false)
*/
private $registrationCode;
protected $registrationCode;
/**
* @var string
*
* @ORM\Column(name="legal", type="text", nullable=true, unique=false)
*/
private $legal;
protected $legal;
/**
* @var int
*
* @ORM\Column(name="activate_legal", type="integer", nullable=true, unique=false)
*/
private $activateLegal;
protected $activateLegal;
/**
* @var bool
*
* @ORM\Column(name="add_teachers_to_sessions_courses", type="boolean", nullable=true)
*/
private $addTeachersToSessionsCourses;
protected $addTeachersToSessionsCourses;
/**
* @var int
*
* @ORM\Column(name="course_type_id", type="integer", nullable=true, unique=false)
*/
private $courseTypeId;
protected $courseTypeId;
/**
* @ORM\OneToMany(targetEntity="Chamilo\NotebookBundle\Entity\CNotebook", mappedBy="course")
@ -336,7 +336,7 @@ class Course
* @ORM\ManyToOne(targetEntity="Room")
* @ORM\JoinColumn(name="room_id", referencedColumnName="id")
*/
private $room;
protected $room;
/**
* Constructor.
@ -1332,7 +1332,7 @@ class Course
*
* @return bool
*/
private function hasSubscription(CourseRelUser $subscription)
protected function hasSubscription(CourseRelUser $subscription)
{
if ($this->getUsers()->count()) {
$criteria = Criteria::create()->where(
@ -1357,7 +1357,7 @@ class Course
* @param string $role
* @param string $status
*/
private function addUser(User $user, $relationType, $role, $status)
protected function addUser(User $user, $relationType, $role, $status)
{
$courseRelUser = new CourseRelUser();
$courseRelUser->setCourse($this);

@ -34,55 +34,55 @@ class CourseCategory
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=100, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=40, nullable=false)
*/
private $code;
protected $code;
/**
* @ORM\ManyToOne(targetEntity="CourseCategory", inversedBy="children")
* @ORM\JoinColumn(name="parent_id", referencedColumnName="id")
*/
private $parent;
protected $parent;
/**
* @var int
*
* @ORM\Column(name="tree_pos", type="integer", nullable=true)
*/
private $treePos;
protected $treePos;
/**
* @var int
*
* @ORM\Column(name="children_count", type="smallint", nullable=true)
*/
private $childrenCount;
protected $childrenCount;
/**
* @var string
*
* @ORM\Column(name="auth_course_child", type="string", length=40, nullable=true)
*/
private $authCourseChild;
protected $authCourseChild;
/**
* @var string
*
* @ORM\Column(name="auth_cat_child", type="string", length=40, nullable=true)
*/
private $authCatChild;
protected $authCatChild;
/**
* Constructor.

@ -18,42 +18,42 @@ class CourseModule
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="link", type="string", length=255, nullable=false)
*/
private $link;
protected $link;
/**
* @var string
*
* @ORM\Column(name="image", type="string", length=100, nullable=true)
*/
private $image;
protected $image;
/**
* @var int
*
* @ORM\Column(name="row", type="integer", nullable=false)
*/
private $row;
protected $row;
/**
* @var int
*
* @ORM\Column(name="column", type="integer", nullable=false)
*/
private $column;
protected $column;
/**
* @var string
*
* @ORM\Column(name="position", type="string", length=20, nullable=false)
*/
private $position;
protected $position;
/**
* @var int
@ -62,7 +62,7 @@ class CourseModule
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set name.

@ -20,7 +20,7 @@ class CourseRelClass
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $courseCode;
protected $courseCode;
/**
* @var int
@ -29,7 +29,7 @@ class CourseRelClass
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $classId;
protected $classId;
/**
* Set courseCode.

@ -39,7 +39,7 @@ class CourseRelUser
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
@ -49,42 +49,42 @@ class CourseRelUser
* @deprecated
* @ORM\Column(name="relation_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $relationType;
protected $relationType;
/**
* @var bool
*
* @ORM\Column(name="status", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $status;
protected $status;
/**
* @var bool
*
* @ORM\Column(name="is_tutor", type="boolean", nullable=true, unique=false)
*/
private $tutor;
protected $tutor;
/**
* @var int
*
* @ORM\Column(name="sort", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $sort;
protected $sort;
/**
* @var int
*
* @ORM\Column(name="user_course_cat", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $userCourseCat;
protected $userCourseCat;
/**
* @var int
*
* @ORM\Column(name="legal_agreement", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $legalAgreement;
protected $legalAgreement;
/**
* Constructor.

@ -39,14 +39,14 @@ class CourseRelUserCatalogue
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var bool
*
* @ORM\Column(name="visible", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $visible;
protected $visible;
/**
* Constructor.

@ -30,112 +30,112 @@ class CourseRequest
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=40, nullable=false)
*/
private $code;
protected $code;
/**
* @var string
*
* @ORM\Column(name="directory", type="string", length=40, nullable=true)
*/
private $directory;
protected $directory;
/**
* @var string
*
* @ORM\Column(name="db_name", type="string", length=40, nullable=true)
*/
private $dbName;
protected $dbName;
/**
* @var string
*
* @ORM\Column(name="course_language", type="string", length=20, nullable=true)
*/
private $courseLanguage;
protected $courseLanguage;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=250, nullable=true)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="category_code", type="string", length=40, nullable=true)
*/
private $categoryCode;
protected $categoryCode;
/**
* @var string
*
* @ORM\Column(name="tutor_name", type="string", length=200, nullable=true)
*/
private $tutorName;
protected $tutorName;
/**
* @var string
*
* @ORM\Column(name="visual_code", type="string", length=40, nullable=true)
*/
private $visualCode;
protected $visualCode;
/**
* @var \DateTime
*
* @ORM\Column(name="request_date", type="datetime", nullable=false)
*/
private $requestDate;
protected $requestDate;
/**
* @var string
*
* @ORM\Column(name="objetives", type="text", nullable=true)
*/
private $objetives;
protected $objetives;
/**
* @var string
*
* @ORM\Column(name="target_audience", type="text", nullable=true)
*/
private $targetAudience;
protected $targetAudience;
/**
* @var int
*
* @ORM\Column(name="status", type="integer", nullable=false)
*/
private $status;
protected $status;
/**
* @var int
*
* @ORM\Column(name="info", type="integer", nullable=false)
*/
private $info;
protected $info;
/**
* @var int
*
* @ORM\Column(name="exemplary_content", type="integer", nullable=false)
*/
private $exemplaryContent;
protected $exemplaryContent;
/**
* Constructor.

@ -18,28 +18,28 @@ class CourseType
*
* @ORM\Column(name="name", type="string", length=50, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="translation_var", type="string", length=40, nullable=true)
*/
private $translationVar;
protected $translationVar;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="props", type="text", nullable=true)
*/
private $props;
protected $props;
/**
* @var int
@ -48,7 +48,7 @@ class CourseType
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set name.

@ -22,35 +22,35 @@ class EventEmailTemplate
*
* @ORM\Column(name="message", type="text", nullable=true)
*/
private $message;
protected $message;
/**
* @var string
*
* @ORM\Column(name="subject", type="string", length=255, nullable=true)
*/
private $subject;
protected $subject;
/**
* @var string
*
* @ORM\Column(name="event_type_name", type="string", length=255, nullable=true)
*/
private $eventTypeName;
protected $eventTypeName;
/**
* @var bool
*
* @ORM\Column(name="activated", type="boolean", nullable=false)
*/
private $activated;
protected $activated;
/**
* @var int
*
* @ORM\Column(name="language_id", type="integer", nullable=true)
*/
private $languageId;
protected $languageId;
/**
* @var int
@ -59,7 +59,7 @@ class EventEmailTemplate
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set message.

@ -20,28 +20,28 @@ class EventSent
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="user_from", type="integer", nullable=false)
*/
private $userFrom;
protected $userFrom;
/**
* @var int
*
* @ORM\Column(name="user_to", type="integer", nullable=true)
*/
private $userTo;
protected $userTo;
/**
* @var string
*
* @ORM\Column(name="event_type_name", type="string", length=100, nullable=true)
*/
private $eventTypeName;
protected $eventTypeName;
/**
* Set userFrom.

@ -51,7 +51,7 @@ class ExtraFieldOptionRelFieldOption
*
* @ORM\Column(name="field_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $fieldId;
protected $fieldId;
/**
* Get id.

@ -26,21 +26,21 @@ class ExtraFieldRelTag
*
* @ORM\Column(name="field_id", type="integer", nullable=false)
*/
private $fieldId;
protected $fieldId;
/**
* @var int
*
* @ORM\Column(name="tag_id", type="integer", nullable=false)
*/
private $tagId;
protected $tagId;
/**
* @var int
*
* @ORM\Column(name="item_id", type="integer", nullable=false)
*/
private $itemId;
protected $itemId;
/**
* @var int
@ -49,7 +49,7 @@ class ExtraFieldRelTag
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set fieldId.

@ -20,35 +20,35 @@ class GradeComponents
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="percentage", type="string", length=255, nullable=false)
*/
private $percentage;
protected $percentage;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="acronym", type="string", length=255, nullable=false)
*/
private $acronym;
protected $acronym;
/**
* @var int
*
* @ORM\Column(name="grade_model_id", type="integer", nullable=false)
*/
private $gradeModelId;
protected $gradeModelId;
/**
* Set percentage.

@ -20,42 +20,42 @@ class GradeModel
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var bool
*
* @ORM\Column(name="default_lowest_eval_exclude", type="boolean", nullable=true)
*/
private $defaultLowestEvalExclude;
protected $defaultLowestEvalExclude;
/**
* @var bool
*
* @ORM\Column(name="default_external_eval", type="boolean", nullable=true)
*/
private $defaultExternalEval;
protected $defaultExternalEval;
/**
* @var string
*
* @ORM\Column(name="default_external_eval_prefix", type="string", length=140, nullable=true)
*/
private $defaultExternalEvalPrefix;
protected $defaultExternalEvalPrefix;
/**
* Set name.

@ -20,104 +20,104 @@ class GradebookCategory
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="text", nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course", inversedBy="gradebookCategories")
* @ORM\JoinColumn(name="c_id", referencedColumnName="id")
*/
private $course;
protected $course;
/**
* @var int
*
* @ORM\Column(name="parent_id", type="integer", nullable=true)
*/
private $parentId;
protected $parentId;
/**
* @var float
*
* @ORM\Column(name="weight", type="float", precision=10, scale=0, nullable=false)
*/
private $weight;
protected $weight;
/**
* @var bool
*
* @ORM\Column(name="visible", type="boolean", nullable=false)
*/
private $visible;
protected $visible;
/**
* @var int
*
* @ORM\Column(name="certif_min_score", type="integer", nullable=true)
*/
private $certifMinScore;
protected $certifMinScore;
/**
* @var int
*
* @ORM\Column(name="session_id", type="integer", nullable=true)
*/
private $sessionId;
protected $sessionId;
/**
* @var int
*
* @ORM\Column(name="document_id", type="integer", nullable=true)
*/
private $documentId;
protected $documentId;
/**
* @var int
*
* @ORM\Column(name="locked", type="integer", nullable=false)
*/
private $locked;
protected $locked;
/**
* @var bool
*
* @ORM\Column(name="default_lowest_eval_exclude", type="boolean", nullable=true)
*/
private $defaultLowestEvalExclude;
protected $defaultLowestEvalExclude;
/**
* @var bool
*
* @ORM\Column(name="generate_certificates", type="boolean", nullable=false)
*/
private $generateCertificates;
protected $generateCertificates;
/**
* @var int
*
* @ORM\Column(name="grade_model_id", type="integer", nullable=true)
*/
private $gradeModelId;
protected $gradeModelId;
/**
* @var bool
@ -129,14 +129,14 @@ class GradebookCategory
* options={"default": 0 }
* )
*/
private $isRequirement;
protected $isRequirement;
/**
* @var int
*
* @ORM\Column(name="gradebooks_to_validate_in_dependence", type="integer", nullable=true)
*/
private $gradeBooksToValidateInDependence;
protected $gradeBooksToValidateInDependence;
/**
* GradebookCategory constructor.

@ -26,49 +26,49 @@ class GradebookCertificate
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="cat_id", type="integer", nullable=false)
*/
private $catId;
protected $catId;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @var float
*
* @ORM\Column(name="score_certificate", type="float", precision=10, scale=0, nullable=false)
*/
private $scoreCertificate;
protected $scoreCertificate;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var string
*
* @ORM\Column(name="path_certificate", type="text", nullable=true)
*/
private $pathCertificate;
protected $pathCertificate;
/**
* @var \DateTime
*
* @ORM\Column(name="downloaded_at", type="datetime", nullable=true)
*/
private $downloadedAt;
protected $downloadedAt;
/**
* Set catId.

@ -20,83 +20,83 @@ class GradebookEvaluation
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="text", nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course", inversedBy="gradebookEvaluations")
* @ORM\JoinColumn(name="c_id", referencedColumnName="id")
*/
private $course;
protected $course;
/**
* @var int
*
* @ORM\Column(name="category_id", type="integer", nullable=true)
*/
private $categoryId;
protected $categoryId;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var float
*
* @ORM\Column(name="weight", type="float", precision=10, scale=0, nullable=false)
*/
private $weight;
protected $weight;
/**
* @var float
*
* @ORM\Column(name="max", type="float", precision=10, scale=0, nullable=false)
*/
private $max;
protected $max;
/**
* @var int
*
* @ORM\Column(name="visible", type="integer", nullable=false)
*/
private $visible;
protected $visible;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=40, nullable=false)
*/
private $type;
protected $type;
/**
* @var int
*
* @ORM\Column(name="locked", type="integer", nullable=false)
*/
private $locked;
protected $locked;
/**
* Set name.

@ -20,69 +20,69 @@ class GradebookLink
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="type", type="integer", nullable=false)
*/
private $type;
protected $type;
/**
* @var int
*
* @ORM\Column(name="ref_id", type="integer", nullable=false)
*/
private $refId;
protected $refId;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course", inversedBy="gradebookLinks")
* @ORM\JoinColumn(name="c_id", referencedColumnName="id")
*/
private $course;
protected $course;
/**
* @var int
*
* @ORM\Column(name="category_id", type="integer", nullable=false)
*/
private $categoryId;
protected $categoryId;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var float
*
* @ORM\Column(name="weight", type="float", precision=10, scale=0, nullable=false)
*/
private $weight;
protected $weight;
/**
* @var int
*
* @ORM\Column(name="visible", type="integer", nullable=false)
*/
private $visible;
protected $visible;
/**
* @var int
*
* @ORM\Column(name="locked", type="integer", nullable=false)
*/
private $locked;
protected $locked;
/**
* Set type.

@ -18,56 +18,56 @@ class GradebookLinkevalLog
*
* @ORM\Column(name="id_linkeval_log", type="integer", nullable=false)
*/
private $idLinkevalLog;
protected $idLinkevalLog;
/**
* @var string
*
* @ORM\Column(name="name", type="text", nullable=true)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var int
*
* @ORM\Column(name="weight", type="smallint", nullable=true)
*/
private $weight;
protected $weight;
/**
* @var bool
*
* @ORM\Column(name="visible", type="boolean", nullable=true)
*/
private $visible;
protected $visible;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=20, nullable=false)
*/
private $type;
protected $type;
/**
* @var int
*
* @ORM\Column(name="user_id_log", type="integer", nullable=false)
*/
private $userIdLog;
protected $userIdLog;
/**
* @var int
@ -76,7 +76,7 @@ class GradebookLinkevalLog
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set idLinkevalLog.

@ -18,28 +18,28 @@ class GradebookResult
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @var int
*
* @ORM\Column(name="evaluation_id", type="integer", nullable=false)
*/
private $evaluationId;
protected $evaluationId;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var float
*
* @ORM\Column(name="score", type="float", precision=10, scale=0, nullable=true)
*/
private $score;
protected $score;
/**
* @var int
@ -48,7 +48,7 @@ class GradebookResult
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set userId.

@ -18,35 +18,35 @@ class GradebookResultLog
*
* @ORM\Column(name="id_result", type="integer", nullable=false)
*/
private $idResult;
protected $idResult;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @var int
*
* @ORM\Column(name="evaluation_id", type="integer", nullable=false)
*/
private $evaluationId;
protected $evaluationId;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var float
*
* @ORM\Column(name="score", type="float", precision=10, scale=0, nullable=true)
*/
private $score;
protected $score;
/**
* @var int
@ -55,7 +55,7 @@ class GradebookResultLog
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set idResult.

@ -18,28 +18,28 @@ class GradebookScoreDisplay
*
* @ORM\Column(name="score", type="float", precision=10, scale=0, nullable=false)
*/
private $score;
protected $score;
/**
* @var string
*
* @ORM\Column(name="display", type="string", length=40, nullable=false)
*/
private $display;
protected $display;
/**
* @var int
*
* @ORM\Column(name="category_id", type="integer", nullable=false)
*/
private $categoryId;
protected $categoryId;
/**
* @var float
*
* @ORM\Column(name="score_color_percent", type="float", precision=10, scale=0, nullable=false)
*/
private $scoreColorPercent;
protected $scoreColorPercent;
/**
* @var int
@ -48,7 +48,7 @@ class GradebookScoreDisplay
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set score.

@ -25,35 +25,35 @@ class GradebookScoreLog
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="category_id", type="integer", nullable=false)
*/
private $categoryId;
protected $categoryId;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer", nullable=false)
*/
private $userId;
protected $userId;
/**
* @var float
*
* @ORM\Column(name="score", type="float", precision=10, scale=0, nullable=false)
*/
private $score;
protected $score;
/**
* @var \DateTime
*
* @ORM\Column(name="registered_at", type="datetime", nullable=false)
*/
private $registeredAt;
protected $registeredAt;
/**
* Get the category id.

@ -18,35 +18,35 @@ class HookCall
*
* @ORM\Column(name="hook_event_id", type="integer", nullable=false)
*/
private $hookEventId;
protected $hookEventId;
/**
* @var int
*
* @ORM\Column(name="hook_observer_id", type="integer", nullable=false)
*/
private $hookObserverId;
protected $hookObserverId;
/**
* @var bool
*
* @ORM\Column(name="type", type="boolean", nullable=false)
*/
private $type;
protected $type;
/**
* @var int
*
* @ORM\Column(name="hook_order", type="integer", nullable=false)
*/
private $hookOrder;
protected $hookOrder;
/**
* @var bool
*
* @ORM\Column(name="enabled", type="boolean", nullable=false)
*/
private $enabled;
protected $enabled;
/**
* @var int
@ -55,7 +55,7 @@ class HookCall
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set hookEventId.

@ -22,14 +22,14 @@ class HookEvent
*
* @ORM\Column(name="class_name", type="string", length=255, nullable=true)
*/
private $className;
protected $className;
/**
* @var string
*
* @ORM\Column(name="description", type="string", length=255, nullable=true)
*/
private $description;
protected $description;
/**
* @var int
@ -38,7 +38,7 @@ class HookEvent
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set className.

@ -22,21 +22,21 @@ class HookObserver
*
* @ORM\Column(name="class_name", type="string", length=255, nullable=true)
*/
private $className;
protected $className;
/**
* @var string
*
* @ORM\Column(name="path", type="string", length=255, nullable=false)
*/
private $path;
protected $path;
/**
* @var string
*
* @ORM\Column(name="plugin_name", type="string", length=255, nullable=true)
*/
private $pluginName;
protected $pluginName;
/**
* @var int
@ -45,7 +45,7 @@ class HookObserver
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set className.

@ -25,55 +25,55 @@ class Language
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="original_name", type="string", length=255, nullable=true)
*/
private $originalName;
protected $originalName;
/**
* @var string
*
* @ORM\Column(name="english_name", type="string", length=255, nullable=true)
*/
private $englishName;
protected $englishName;
/**
* @var string
*
* @ORM\Column(name="isocode", type="string", length=10, nullable=true)
*/
private $isocode;
protected $isocode;
/**
* @var string
*
* @ORM\Column(name="dokeos_folder", type="string", length=250, nullable=true)
*/
private $dokeosFolder;
protected $dokeosFolder;
/**
* @var bool
*
* @ORM\Column(name="available", type="boolean", nullable=false)
*/
private $available;
protected $available;
/**
* @var \Chamilo\CoreBundle\Entity\Language
* @ORM\ManyToOne(targetEntity="Language", inversedBy="subLanguages")
* @ORM\JoinColumn(name="parent_id", referencedColumnName="id", nullable=true)
*/
private $parent;
protected $parent;
/**
* @var ArrayCollection
* @ORM\OneToMany(targetEntity="Language", mappedBy="parent")
*/
private $subLanguages;
protected $subLanguages;
/**
* Language constructor.

@ -20,49 +20,49 @@ class Legal
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="date", type="integer", nullable=false)
*/
private $date;
protected $date;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=true)
*/
private $content;
protected $content;
/**
* @var int
*
* @ORM\Column(name="type", type="integer", nullable=false)
*/
private $type;
protected $type;
/**
* @var string
*
* @ORM\Column(name="changes", type="text", nullable=false)
*/
private $changes;
protected $changes;
/**
* @var int
*
* @ORM\Column(name="version", type="integer", nullable=true)
*/
private $version;
protected $version;
/**
* @var int
*
* @ORM\Column(name="language_id", type="integer")
*/
private $languageId;
protected $languageId;
/**
* @return int

@ -92,7 +92,7 @@ class CourseListener
*
* @throws \Exception
*/
private function checkLimit($repo, Course $course, AccessUrl $url)
protected function checkLimit($repo, Course $course, AccessUrl $url)
{
$limit = $url->getLimitCourses();

@ -57,7 +57,7 @@ class SessionListener
*
* @throws \Exception
*/
private function checkLimit($repo, AccessUrl $url)
protected function checkLimit($repo, AccessUrl $url)
{
$limit = $url->getLimitSessions();

@ -121,7 +121,7 @@ class SessionManager extends BaseEntityManager
* @param Course $course
* @param Session $session
*/
private function addUserInCourse(
protected function addUserInCourse(
$status,
User $user,
Course $course,

@ -28,77 +28,77 @@ class Message
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="user_sender_id", type="integer", nullable=false)
*/
private $userSenderId;
protected $userSenderId;
/**
* @var int
*
* @ORM\Column(name="user_receiver_id", type="integer", nullable=false)
*/
private $userReceiverId;
protected $userReceiverId;
/**
* @var bool
*
* @ORM\Column(name="msg_status", type="smallint", nullable=false)
*/
private $msgStatus;
protected $msgStatus;
/**
* @var \DateTime
*
* @ORM\Column(name="send_date", type="datetime", nullable=false)
*/
private $sendDate;
protected $sendDate;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=false)
*/
private $content;
protected $content;
/**
* @var int
*
* @ORM\Column(name="group_id", type="integer", nullable=false)
*/
private $groupId;
protected $groupId;
/**
* @var int
*
* @ORM\Column(name="parent_id", type="integer", nullable=false)
*/
private $parentId;
protected $parentId;
/**
* @var \DateTime
*
* @ORM\Column(name="update_date", type="datetime", nullable=true)
*/
private $updateDate;
protected $updateDate;
/**
* @var int
*
* @ORM\Column(name="votes", type="integer", nullable=true)
*/
private $votes;
protected $votes;
/**
* Set userSenderId.

@ -20,42 +20,42 @@ class MessageAttachment
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="path", type="string", length=255, nullable=false)
*/
private $path;
protected $path;
/**
* @var string
*
* @ORM\Column(name="comment", type="text", nullable=true)
*/
private $comment;
protected $comment;
/**
* @var int
*
* @ORM\Column(name="size", type="integer", nullable=false)
*/
private $size;
protected $size;
/**
* @var int
*
* @ORM\Column(name="message_id", type="integer", nullable=false)
*/
private $messageId;
protected $messageId;
/**
* @var string
*
* @ORM\Column(name="filename", type="string", length=255, nullable=false)
*/
private $filename;
protected $filename;
/**
* Set path.

@ -27,49 +27,49 @@ class Notification
*
* @ORM\Column(name="dest_user_id", type="integer", nullable=false)
*/
private $destUserId;
protected $destUserId;
/**
* @var string
*
* @ORM\Column(name="dest_mail", type="string", length=255, nullable=true)
*/
private $destMail;
protected $destMail;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=true)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=true)
*/
private $content;
protected $content;
/**
* @var int
*
* @ORM\Column(name="send_freq", type="smallint", nullable=true)
*/
private $sendFreq;
protected $sendFreq;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var \DateTime
*
* @ORM\Column(name="sent_at", type="datetime", nullable=true)
*/
private $sentAt;
protected $sentAt;
/**
* @var int
@ -78,7 +78,7 @@ class Notification
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set destUserId.

@ -18,49 +18,49 @@ class OpenidAssociation
*
* @ORM\Column(name="idp_endpoint_uri", type="text", nullable=false)
*/
private $idpEndpointUri;
protected $idpEndpointUri;
/**
* @var string
*
* @ORM\Column(name="session_type", type="string", length=30, nullable=false)
*/
private $sessionType;
protected $sessionType;
/**
* @var string
*
* @ORM\Column(name="assoc_handle", type="text", nullable=false)
*/
private $assocHandle;
protected $assocHandle;
/**
* @var string
*
* @ORM\Column(name="assoc_type", type="text", nullable=false)
*/
private $assocType;
protected $assocType;
/**
* @var int
*
* @ORM\Column(name="expires_in", type="bigint", nullable=false)
*/
private $expiresIn;
protected $expiresIn;
/**
* @var string
*
* @ORM\Column(name="mac_key", type="text", nullable=false)
*/
private $macKey;
protected $macKey;
/**
* @var int
*
* @ORM\Column(name="created", type="bigint", nullable=false)
*/
private $created;
protected $created;
/**
* @var int
@ -69,7 +69,7 @@ class OpenidAssociation
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set idpEndpointUri.

@ -21,70 +21,70 @@ class PersonalAgenda
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="user", type="integer", nullable=true)
*/
private $user;
protected $user;
/**
* @var string
*
* @ORM\Column(name="title", type="text", nullable=true)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="text", type="text", nullable=true)
*/
private $text;
protected $text;
/**
* @var \DateTime
*
* @ORM\Column(name="date", type="datetime", nullable=true)
*/
private $date;
protected $date;
/**
* @var \DateTime
*
* @ORM\Column(name="enddate", type="datetime", nullable=true)
*/
private $enddate;
protected $enddate;
/**
* @var string
*
* @ORM\Column(name="course", type="string", length=255, nullable=true)
*/
private $course;
protected $course;
/**
* @var int
*
* @ORM\Column(name="parent_event_id", type="integer", nullable=true)
*/
private $parentEventId;
protected $parentEventId;
/**
* @var int
*
* @ORM\Column(name="all_day", type="integer", nullable=false)
*/
private $allDay;
protected $allDay;
/**
* @var string
*
* @ORM\Column(name="color", type="string", length=255, nullable=true)
*/
private $color;
protected $color;
/**
* Set user.

@ -18,28 +18,28 @@ class PersonalAgendaRepeat
*
* @ORM\Column(name="cal_type", type="string", length=20, nullable=true)
*/
private $calType;
protected $calType;
/**
* @var int
*
* @ORM\Column(name="cal_end", type="integer", nullable=true)
*/
private $calEnd;
protected $calEnd;
/**
* @var int
*
* @ORM\Column(name="cal_frequency", type="integer", nullable=true)
*/
private $calFrequency;
protected $calFrequency;
/**
* @var string
*
* @ORM\Column(name="cal_days", type="string", length=7, nullable=true)
*/
private $calDays;
protected $calDays;
/**
* @var int
@ -48,7 +48,7 @@ class PersonalAgendaRepeat
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $calId;
protected $calId;
/**
* Set calType.

@ -20,7 +20,7 @@ class PersonalAgendaRepeatNot
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $calId;
protected $calId;
/**
* @var int
@ -29,7 +29,7 @@ class PersonalAgendaRepeatNot
* @ORM\Id
* @ORM\GeneratedValue(strategy="NONE")
*/
private $calDate;
protected $calDate;
/**
* Set calId.

@ -32,20 +32,20 @@ class Portfolio
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255)
*/
private $title;
protected $title;
/**
* @var string
* @ORM\Column(name="content", type="text")
*/
private $content;
protected $content;
/**
* @var User
@ -53,7 +53,7 @@ class Portfolio
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User")
* @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false)
*/
private $user;
protected $user;
/**
* @var Course
@ -61,7 +61,7 @@ class Portfolio
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course")
* @ORM\JoinColumn(name="c_id", referencedColumnName="id")
*/
private $course = null;
protected $course = null;
/**
* @var Session
@ -69,28 +69,28 @@ class Portfolio
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Session")
* @ORM\JoinColumn(name="session_id", referencedColumnName="id")
*/
private $session = null;
protected $session = null;
/**
* @var \DateTime
*
* @ORM\Column(name="creation_date", type="datetime")
*/
private $creationDate;
protected $creationDate;
/**
* @var \DateTime
*
* @ORM\Column(name="update_date", type="datetime")
*/
private $updateDate;
protected $updateDate;
/**
* @var bool
*
* @ORM\Column(name="is_visible", type="boolean", options={"default": true})
*/
private $isVisible = true;
protected $isVisible = true;
/**
* @var \Chamilo\CoreBundle\Entity\PortfolioCategory
@ -98,7 +98,7 @@ class Portfolio
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\PortfolioCategory", inversedBy="items")
* @ORM\JoinColumn(name="category_id", referencedColumnName="id")
*/
private $category;
protected $category;
/**
* Portfolio constructor.

@ -31,21 +31,21 @@ class PortfolioCategory
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255)
*/
private $title;
protected $title;
/**
* @var null
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description = null;
protected $description = null;
/**
* @var User
@ -53,21 +53,21 @@ class PortfolioCategory
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User")
* @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false)
*/
private $user;
protected $user;
/**
* @var bool
*
* @ORM\Column(name="is_visible", type="boolean", options={"default": true})
*/
private $isVisible = true;
protected $isVisible = true;
/**
* @var \Doctrine\Common\Collections\ArrayCollection
*
* @ORM\OneToMany(targetEntity="Chamilo\CoreBundle\Entity\Portfolio", mappedBy="category")
*/
private $items;
protected $items;
/**
* PortfolioCategory constructor.

@ -20,21 +20,21 @@ class Promotion
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* @var Career
@ -42,28 +42,28 @@ class Promotion
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Career")
* @ORM\JoinColumn(name="career_id", referencedColumnName="id")
*/
private $career;
protected $career;
/**
* @var int
*
* @ORM\Column(name="status", type="integer", nullable=false)
*/
private $status;
protected $status;
/**
* @var \DateTime
*
* @ORM\Column(name="created_at", type="datetime", nullable=false)
*/
private $createdAt;
protected $createdAt;
/**
* @var \DateTime
*
* @ORM\Column(name="updated_at", type="datetime", nullable=false)
*/
private $updatedAt;
protected $updatedAt;
/**
* Get id.

@ -215,7 +215,7 @@ class SequenceRepository extends EntityRepository
*
* @return array
*/
private function findSessionFromVerticesEdges(Vertices $verticesEdges)
protected function findSessionFromVerticesEdges(Vertices $verticesEdges)
{
$sessionVertices = [];
foreach ($verticesEdges as $supVertex) {

@ -69,9 +69,9 @@ class ResourceLink implements ResourceInterface
/**
* @var bool
*
* @ORM\Column(name="private", type="boolean", nullable=true, unique=false)
* @ORM\Column(name="protected", type="boolean", nullable=true, unique=false)
*/
protected $private;
protected $protected;
/**
* @var bool
@ -149,17 +149,17 @@ class ResourceLink implements ResourceInterface
/**
* @return bool
*/
public function isPrivate()
public function isprotected()
{
return $this->private;
return $this->protected;
}
/**
* @param bool $private
* @param bool $protected
*/
public function setPrivate($private)
public function setprotected($protected)
{
$this->private = $private;
$this->protected = $protected;
}
/**

@ -105,7 +105,7 @@ class ResourceNode
*/
protected $updatedAt;
//private $pathForCreationLog = '';
//protected $pathForCreationLog = '';
/**
* Constructor.

@ -20,42 +20,42 @@ class Room
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=true, unique=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="geolocation", type="string", length=255, nullable=true, unique=false)
*/
private $geolocation;
protected $geolocation;
/**
* @var string
*
* @ORM\Column(name="ip", type="string", length=39, nullable=true, unique=false)
*/
private $ip;
protected $ip;
/**
* @var string
*
* @ORM\Column(name="ip_mask", type="string", length=6, nullable=true, unique=false)
*/
private $ipMask;
protected $ipMask;
/**
* @var BranchSync
@ -63,7 +63,7 @@ class Room
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\BranchSync")
* @ORM\JoinColumn(name="branch_id", referencedColumnName="id")
*/
private $branch;
protected $branch;
/**
* Get id.

@ -20,49 +20,49 @@ class ScheduledAnnouncement
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="subject", type="string", length=255, nullable=false, unique=false)
*/
private $subject;
protected $subject;
/**
* @var string
*
* @ORM\Column(name="message", type="text", unique=false)
*/
private $message;
protected $message;
/**
* @var \DateTime
*
* @ORM\Column(name="date", type="datetime", nullable=true)
*/
private $date;
protected $date;
/**
* @var bool
*
* @ORM\Column(name="sent", type="boolean")
*/
private $sent;
protected $sent;
/**
* @var int
*
* @ORM\Column(name="session_id", type="integer", nullable=false)
*/
private $sessionId;
protected $sessionId;
/**
* @var int
*
* @ORM\Column(name="c_id", type="integer", nullable=true)
*/
private $cId;
protected $cId;
/**
* Constructor.

@ -17,35 +17,35 @@ class SearchEngineRef
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course", inversedBy="searchEngineRefs")
* @ORM\JoinColumn(name="c_id", referencedColumnName="id")
*/
private $course;
protected $course;
/**
* @var string
*
* @ORM\Column(name="tool_id", type="string", length=100, nullable=false)
*/
private $toolId;
protected $toolId;
/**
* @var int
*
* @ORM\Column(name="ref_id_high_level", type="integer", nullable=false)
*/
private $refIdHighLevel;
protected $refIdHighLevel;
/**
* @var int
*
* @ORM\Column(name="ref_id_second_level", type="integer", nullable=true)
*/
private $refIdSecondLevel;
protected $refIdSecondLevel;
/**
* @var int
*
* @ORM\Column(name="search_did", type="integer", nullable=false)
*/
private $searchDid;
protected $searchDid;
/**
* @var int
@ -54,7 +54,7 @@ class SearchEngineRef
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set course.

@ -22,21 +22,21 @@ class Sequence
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string")
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="graph", type="text", nullable=true)
*/
private $graph;
protected $graph;
/**
* @var \DateTime
@ -44,7 +44,7 @@ class Sequence
* @Gedmo\Timestampable(on="create")
* @ORM\Column(name="created_at", type="datetime")
*/
private $createdAt;
protected $createdAt;
/**
* @var \DateTime
@ -52,7 +52,7 @@ class Sequence
* @Gedmo\Timestampable(on="update")
* @ORM\Column(name="updated_at", type="datetime")
*/
private $updatedAt;
protected $updatedAt;
/**
* @return string

@ -20,42 +20,42 @@ class SequenceCondition
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="mat_op", type="string")
*/
private $mathOperation;
protected $mathOperation;
/**
* @var string
*
* @ORM\Column(name="param", type="float")
*/
private $param;
protected $param;
/**
* @var string
*
* @ORM\Column(name="act_true", type="integer")
*/
private $actTrue;
protected $actTrue;
/**
* @var string
*
* @ORM\Column(name="act_false", type="string")
*/
private $actFalse;
protected $actFalse;
/**
* Get id.

@ -20,19 +20,19 @@ class SequenceFormula
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @ORM\ManyToOne(targetEntity="SequenceMethod")
* @ORM\JoinColumn(name="sequence_method_id", referencedColumnName="id")
*/
private $method;
protected $method;
/**
* @ORM\ManyToOne(targetEntity="SequenceVariable")
* @ORM\JoinColumn(name="sequence_variable_id", referencedColumnName="id")
*/
private $variable;
protected $variable;
/**
* Get id.

@ -20,42 +20,42 @@ class SequenceMethod
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="formula", type="text")
*/
private $formula;
protected $formula;
/**
* @var string
*
* @ORM\Column(name="assign", type="integer")
*/
private $assign;
protected $assign;
/**
* @var string
*
* @ORM\Column(name="met_type", type="string")
*/
private $metType;
protected $metType;
/**
* @var string
*
* @ORM\Column(name="act_false", type="string")
*/
private $actFalse;
protected $actFalse;
/**
* Get id.

@ -31,21 +31,21 @@ class SequenceResource
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="type", type="integer")
*/
private $type;
protected $type;
/**
* @var int
*
* @ORM\Column(name="resource_id", type="integer")
*/
private $resourceId;
protected $resourceId;
/**
* Get id.

@ -20,41 +20,41 @@ class SequenceRowEntity
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="c_id", type="integer")
*/
private $cId;
protected $cId;
/**
* @var int
*
* @ORM\Column(name="session_id", type="integer")
*/
private $sessionId;
protected $sessionId;
/**
* @var int
*
* @ORM\Column(name="row_id", type="integer")
*/
private $rowId;
protected $rowId;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @ORM\ManyToOne(targetEntity="SequenceTypeEntity")
* @ORM\JoinColumn(name="sequence_type_entity_id", referencedColumnName="id")
*/
private $type;
protected $type;
/**
* Get id.

@ -20,14 +20,14 @@ class SequenceRule
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* Get id.

@ -20,19 +20,19 @@ class SequenceRuleCondition
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @ORM\ManyToOne(targetEntity="SequenceRule")
* @ORM\JoinColumn(name="sequence_rule_id", referencedColumnName="id")
*/
private $rule;
protected $rule;
/**
* @ORM\ManyToOne(targetEntity="SequenceCondition")
* @ORM\JoinColumn(name="sequence_condition_id", referencedColumnName="id")
*/
private $condition;
protected $condition;
/**
* Get id.

@ -20,26 +20,26 @@ class SequenceRuleMethod
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="method_order", type="integer")
*/
private $methodOrder;
protected $methodOrder;
/**
* @ORM\ManyToOne(targetEntity="SequenceRule")
* @ORM\JoinColumn(name="sequence_rule_id", referencedColumnName="id")
*/
private $rule;
protected $rule;
/**
* @ORM\ManyToOne(targetEntity="SequenceMethod")
* @ORM\JoinColumn(name="sequence_method_id", referencedColumnName="id")
*/
private $method;
protected $method;
/**
* Get id.

@ -20,28 +20,28 @@ class SequenceTypeEntity
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="ent_table", type="string", length=255, nullable=false)
*/
private $entityTable;
protected $entityTable;
/**
* Get id.

@ -20,19 +20,19 @@ class SequenceValid
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @ORM\ManyToOne(targetEntity="SequenceVariable")
* @ORM\JoinColumn(name="sequence_variable_id", referencedColumnName="id")
*/
private $variable;
protected $variable;
/**
* @ORM\ManyToOne(targetEntity="SequenceCondition")
* @ORM\JoinColumn(name="sequence_condition_id", referencedColumnName="id")
*/
private $condition;
protected $condition;
/**
* Get id.

@ -20,76 +20,76 @@ class SequenceValue
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="user_id", type="integer")
*/
private $userId;
protected $userId;
/**
* @ORM\ManyToOne(targetEntity="SequenceRowEntity")
* @ORM\JoinColumn(name="sequence_row_entity_id", referencedColumnName="id")
*/
private $entity;
protected $entity;
/**
* @var int
*
* @ORM\Column(name="advance", type="float")
*/
private $advance;
protected $advance;
/**
* @var int
*
* @ORM\Column(name="complete_items", type="integer")
*/
private $completeItems;
protected $completeItems;
/**
* @var int
*
* @ORM\Column(name="total_items", type="integer")
*/
private $totalItems;
protected $totalItems;
/**
* @var int
*
* @ORM\Column(name="success", type="boolean")
*/
private $success;
protected $success;
/**
* @var \DateTime
*
* @ORM\Column(name="success_date", type="datetime", nullable=true)
*/
private $successDate;
protected $successDate;
/**
* @var int
*
* @ORM\Column(name="available", type="boolean")
*/
private $available;
protected $available;
/**
* @var \DateTime
*
* @ORM\Column(name="available_start_date", type="datetime", nullable=true)
*/
private $availableStartDate;
protected $availableStartDate;
/**
* @var \DateTime
*
* @ORM\Column(name="available_end_date", type="datetime", nullable=true)
*/
private $availableEndDate;
protected $availableEndDate;
/**
* Get id.

@ -20,28 +20,28 @@ class SequenceVariable
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", nullable=true)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
private $description;
protected $description;
/**
* @var string
*
* @ORM\Column(name="default_val", type="string", nullable=true)
*/
private $defaultValue;
protected $defaultValue;
/**
* Get id.

@ -83,155 +83,155 @@ class Session
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=150, nullable=false, unique=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true, unique=false)
*/
private $description;
protected $description;
/**
* @var bool
*
* @ORM\Column(name="show_description", type="boolean", nullable=true)
*/
private $showDescription;
protected $showDescription;
/**
* @var int
*
* @ORM\Column(name="duration", type="integer", nullable=true)
*/
private $duration;
protected $duration;
/**
* @var int
*
* @ORM\Column(name="nbr_courses", type="smallint", nullable=true, unique=false)
*/
private $nbrCourses;
protected $nbrCourses;
/**
* @var int
*
* @ORM\Column(name="nbr_users", type="integer", nullable=true, unique=false)
*/
private $nbrUsers;
protected $nbrUsers;
/**
* @var int
*
* @ORM\Column(name="nbr_classes", type="integer", nullable=true, unique=false)
*/
private $nbrClasses;
protected $nbrClasses;
/**
* @var int
*
* @ORM\Column(name="session_admin_id", type="integer", nullable=true, unique=false)
*/
private $sessionAdminId;
protected $sessionAdminId;
/**
* @var int
*
* @ORM\Column(name="visibility", type="integer", nullable=false, unique=false)
*/
private $visibility;
protected $visibility;
/**
* @var int
*
* @ORM\Column(name="promotion_id", type="integer", nullable=true, unique=false)
*/
private $promotionId;
protected $promotionId;
/**
* @var \DateTime
*
* @ORM\Column(name="display_start_date", type="datetime", nullable=true, unique=false)
*/
private $displayStartDate;
protected $displayStartDate;
/**
* @var \DateTime
*
* @ORM\Column(name="display_end_date", type="datetime", nullable=true, unique=false)
*/
private $displayEndDate;
protected $displayEndDate;
/**
* @var \DateTime
*
* @ORM\Column(name="access_start_date", type="datetime", nullable=true, unique=false)
*/
private $accessStartDate;
protected $accessStartDate;
/**
* @var \DateTime
*
* @ORM\Column(name="access_end_date", type="datetime", nullable=true, unique=false)
*/
private $accessEndDate;
protected $accessEndDate;
/**
* @var \DateTime
*
* @ORM\Column(name="coach_access_start_date", type="datetime", nullable=true, unique=false)
*/
private $coachAccessStartDate;
protected $coachAccessStartDate;
/**
* @var \DateTime
*
* @ORM\Column(name="coach_access_end_date", type="datetime", nullable=true, unique=false)
*/
private $coachAccessEndDate;
protected $coachAccessEndDate;
/**
* @var int
*
* @ORM\Column(name="position", type="integer", nullable=false, options={"default":0})
*/
private $position;
protected $position;
/**
* @ORM\OneToMany(targetEntity="Chamilo\CourseBundle\Entity\CItemProperty", mappedBy="session")
*/
//private $items;
//protected $items;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="sessionAsGeneralCoach")
* @ORM\JoinColumn(name="id_coach", referencedColumnName="id")
*/
private $generalCoach;
protected $generalCoach;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\SessionCategory", inversedBy="session")
* @ORM\JoinColumn(name="session_category_id", referencedColumnName="id")
*/
private $category;
protected $category;
/**
* @var bool
* @ORM\Column(name="send_subscription_notification", type="boolean", nullable=false, options={"default":false})
*/
private $sendSubscriptionNotification;
protected $sendSubscriptionNotification;
/**
* @var ArrayCollection
* @ORM\OneToMany(targetEntity="Chamilo\CourseBundle\Entity\CStudentPublication", mappedBy="session", cascade={"persist"}, orphanRemoval=true)
*/
private $studentPublications;
protected $studentPublications;
/**
* Constructor.
@ -1314,7 +1314,7 @@ class Session
*
* @return bool
*/
private function compareDates($start, $end)
protected function compareDates($start, $end)
{
$now = new \Datetime('now');

@ -30,28 +30,28 @@ class SessionCategory
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=100, nullable=true, unique=false)
*/
private $name;
protected $name;
/**
* @var \DateTime
*
* @ORM\Column(name="date_start", type="date", nullable=true, unique=false)
*/
private $dateStart;
protected $dateStart;
/**
* @var \DateTime
*
* @ORM\Column(name="date_end", type="date", nullable=true, unique=false)
*/
private $dateEnd;
protected $dateEnd;
/**
* @return string

@ -46,7 +46,7 @@ class SessionRelCourse
*
* @ORM\Column(name="position", type="integer", nullable=false)
*/
private $position;
protected $position;
/**
* Constructor.

@ -56,28 +56,28 @@ class SessionRelCourseRelUser
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="visibility", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $visibility;
protected $visibility;
/**
* @var int
*
* @ORM\Column(name="status", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $status;
protected $status;
/**
* @var int
*
* @ORM\Column(name="legal_agreement", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $legalAgreement;
protected $legalAgreement;
/**
* Constructor.

@ -30,60 +30,60 @@ class SessionRelUser
* @ORM\Id
* @ORM\GeneratedValue
*/
private $iid;
protected $iid;
/**
* @ORM\ManyToOne(targetEntity="Session", inversedBy="users", cascade={"persist"})
* @ORM\JoinColumn(name="session_id", referencedColumnName="id")
*/
private $session;
protected $session;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="users", cascade={"persist"})
* @ORM\JoinColumn(name="user_id", referencedColumnName="id")
*/
private $user;
protected $user;
/**
* @var int
*
* @ORM\Column(name="relation_type", type="integer", nullable=false, unique=false)
*/
private $relationType;
protected $relationType;
/**
* @var int
*
* @ORM\Column(name="duration", type="integer", nullable=true)
*/
private $duration;
protected $duration;
/**
* @var int
*
* @ORM\Column(name="moved_to", type="integer", nullable=true, unique=false)
*/
private $movedTo;
protected $movedTo;
/**
* @var int
*
* @ORM\Column(name="moved_status", type="integer", nullable=true, unique=false)
*/
private $movedStatus;
protected $movedStatus;
/**
* @var \DateTime
*
* @ORM\Column(name="moved_at", type="datetime", nullable=true, unique=false)
*/
private $movedAt;
protected $movedAt;
/**
* @var \DateTime
* @ORM\Column(name="registered_at", type="datetime", nullable=false, unique=false)
*/
private $registeredAt;
protected $registeredAt;
/**
* Constructor.

@ -34,91 +34,91 @@ class SettingsCurrent
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="variable", type="string", length=255, nullable=true)
*/
private $variable;
protected $variable;
/**
* @var string
*
* @ORM\Column(name="subkey", type="string", length=255, nullable=true)
*/
private $subkey;
protected $subkey;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=255, nullable=true)
*/
private $type;
protected $type;
/**
* @var string
*
* @ORM\Column(name="category", type="string", length=255, nullable=true)
*/
private $category;
protected $category;
/**
* @var string
*
* @ORM\Column(name="selected_value", type="string", length=255, nullable=true)
*/
private $selectedValue;
protected $selectedValue;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="comment", type="string", length=255, nullable=true)
*/
private $comment;
protected $comment;
/**
* @var string
*
* @ORM\Column(name="scope", type="string", length=50, nullable=true)
*/
private $scope;
protected $scope;
/**
* @var string
*
* @ORM\Column(name="subkeytext", type="string", length=255, nullable=true)
*/
private $subkeytext;
protected $subkeytext;
/**
* @var int
*
* @ORM\Column(name="access_url", type="integer", nullable=false, options={"default": 1 } )
*/
private $accessUrl;
protected $accessUrl;
/**
* @var int
*
* @ORM\Column(name="access_url_changeable", type="integer", nullable=false)
*/
private $accessUrlChangeable;
protected $accessUrlChangeable;
/**
* @var int
*
* @ORM\Column(name="access_url_locked", type="integer", nullable=false, options={"default": 0 } )
*/
private $accessUrlLocked = 0;
protected $accessUrlLocked = 0;
/**
* Constructor.

@ -24,28 +24,28 @@ class SettingsOptions
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="variable", type="string", length=255, nullable=true)
*/
private $variable;
protected $variable;
/**
* @var string
*
* @ORM\Column(name="value", type="string", length=255, nullable=true)
*/
private $value;
protected $value;
/**
* @var string
*
* @ORM\Column(name="display_text", type="string", length=255, nullable=false)
*/
private $displayText;
protected $displayText;
/**
* Set variable.

@ -18,70 +18,70 @@ class SharedSurvey
*
* @ORM\Column(name="code", type="string", length=20, nullable=true)
*/
private $code;
protected $code;
/**
* @var string
*
* @ORM\Column(name="title", type="text", nullable=true)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="subtitle", type="text", nullable=true)
*/
private $subtitle;
protected $subtitle;
/**
* @var string
*
* @ORM\Column(name="author", type="string", length=250, nullable=true)
*/
private $author;
protected $author;
/**
* @var string
*
* @ORM\Column(name="lang", type="string", length=20, nullable=true)
*/
private $lang;
protected $lang;
/**
* @var string
*
* @ORM\Column(name="template", type="string", length=20, nullable=true)
*/
private $template;
protected $template;
/**
* @var string
*
* @ORM\Column(name="intro", type="text", nullable=true)
*/
private $intro;
protected $intro;
/**
* @var string
*
* @ORM\Column(name="surveythanks", type="text", nullable=true)
*/
private $surveythanks;
protected $surveythanks;
/**
* @var \DateTime
*
* @ORM\Column(name="creation_date", type="datetime", nullable=false)
*/
private $creationDate;
protected $creationDate;
/**
* @var string
*
* @ORM\Column(name="course_code", type="string", length=40, nullable=false)
*/
private $courseCode;
protected $courseCode;
/**
* @var int
@ -90,7 +90,7 @@ class SharedSurvey
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $surveyId;
protected $surveyId;
/**
* Set code.

@ -18,56 +18,56 @@ class SharedSurveyQuestion
*
* @ORM\Column(name="survey_id", type="integer", nullable=false)
*/
private $surveyId;
protected $surveyId;
/**
* @var string
*
* @ORM\Column(name="survey_question", type="text", nullable=false)
*/
private $surveyQuestion;
protected $surveyQuestion;
/**
* @var string
*
* @ORM\Column(name="survey_question_comment", type="text", nullable=false)
*/
private $surveyQuestionComment;
protected $surveyQuestionComment;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=250, nullable=false)
*/
private $type;
protected $type;
/**
* @var string
*
* @ORM\Column(name="display", type="string", length=10, nullable=false)
*/
private $display;
protected $display;
/**
* @var int
*
* @ORM\Column(name="sort", type="integer", nullable=false)
*/
private $sort;
protected $sort;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=40, nullable=false)
*/
private $code;
protected $code;
/**
* @var int
*
* @ORM\Column(name="max_value", type="integer", nullable=false)
*/
private $maxValue;
protected $maxValue;
/**
* @var int
@ -76,7 +76,7 @@ class SharedSurveyQuestion
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $questionId;
protected $questionId;
/**
* Set surveyId.

@ -18,28 +18,28 @@ class SharedSurveyQuestionOption
*
* @ORM\Column(name="question_id", type="integer", nullable=false)
*/
private $questionId;
protected $questionId;
/**
* @var int
*
* @ORM\Column(name="survey_id", type="integer", nullable=false)
*/
private $surveyId;
protected $surveyId;
/**
* @var string
*
* @ORM\Column(name="option_text", type="text", nullable=false)
*/
private $optionText;
protected $optionText;
/**
* @var int
*
* @ORM\Column(name="sort", type="integer", nullable=false)
*/
private $sort;
protected $sort;
/**
* @var int
@ -48,7 +48,7 @@ class SharedSurveyQuestionOption
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $questionOptionId;
protected $questionOptionId;
/**
* Set questionId.

@ -51,63 +51,63 @@ class Skill
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="short_code", type="string", length=100, nullable=false)
*/
private $shortCode;
protected $shortCode;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* @var int
*
* @ORM\Column(name="access_url_id", type="integer", nullable=false)
*/
private $accessUrlId;
protected $accessUrlId;
/**
* @var string
*
* @ORM\Column(name="icon", type="string", length=255, nullable=false)
*/
private $icon;
protected $icon;
/**
* @var string
*
* @ORM\Column(name="criteria", type="text", nullable=true)
*/
private $criteria;
protected $criteria;
/**
* @var int
*
* @ORM\Column(name="status", type="integer", nullable=false, options={"default": 1})
*/
private $status;
protected $status;
/**
* @var \DateTime
* @Gedmo\Timestampable(on="update")
* @ORM\Column(name="updated_at", type="datetime", nullable=false)
*/
private $updatedAt;
protected $updatedAt;
/**
* Constructor.

@ -20,21 +20,21 @@ class SkillProfile
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
private $name;
protected $name;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=false)
*/
private $description;
protected $description;
/**
* Set name.

@ -20,28 +20,28 @@ class SkillRelGradebook
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="gradebook_id", type="integer", nullable=false)
*/
private $gradebookId;
protected $gradebookId;
/**
* @var int
*
* @ORM\Column(name="skill_id", type="integer", nullable=false)
*/
private $skillId;
protected $skillId;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=10, nullable=false)
*/
private $type;
protected $type;
/**
* Set gradebookId.

@ -20,21 +20,21 @@ class SkillRelProfile
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="skill_id", type="integer", nullable=false)
*/
private $skillId;
protected $skillId;
/**
* @var int
*
* @ORM\Column(name="profile_id", type="integer", nullable=false)
*/
private $profileId;
protected $profileId;
/**
* Set skillId.

@ -20,35 +20,35 @@ class SkillRelSkill
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var int
*
* @ORM\Column(name="skill_id", type="integer", nullable=false)
*/
private $skillId;
protected $skillId;
/**
* @var int
*
* @ORM\Column(name="parent_id", type="integer", nullable=false)
*/
private $parentId;
protected $parentId;
/**
* @var int
*
* @ORM\Column(name="relation_type", type="integer", nullable=false)
*/
private $relationType;
protected $relationType;
/**
* @var int
*
* @ORM\Column(name="level", type="integer", nullable=false)
*/
private $level;
protected $level;
/**
* Set id.

@ -46,39 +46,39 @@ class SkillRelUser
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="achievedSkills", cascade={"persist"})
* @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false)
*/
private $user;
protected $user;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Skill", inversedBy="issuedSkills", cascade={"persist"})
* @ORM\JoinColumn(name="skill_id", referencedColumnName="id", nullable=false)
*/
private $skill;
protected $skill;
/**
* @var \DateTime
*
* @ORM\Column(name="acquired_skill_at", type="datetime", nullable=false)
*/
private $acquiredSkillAt;
protected $acquiredSkillAt;
/**
* @var int
*
* @ORM\Column(name="assigned_by", type="integer", nullable=false)
*/
private $assignedBy;
protected $assignedBy;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Course", inversedBy="issuedSkills", cascade={"persist"})
* @ORM\JoinColumn(name="course_id", referencedColumnName="id", nullable=true)
*/
private $course;
protected $course;
/**
* @var Session
@ -86,7 +86,7 @@ class SkillRelUser
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Session", inversedBy="issuedSkills", cascade={"persist"})
* @ORM\JoinColumn(name="session_id", referencedColumnName="id", nullable=true)
*/
private $session;
protected $session;
/**
* @var Level
@ -94,21 +94,21 @@ class SkillRelUser
* @ORM\ManyToOne(targetEntity="Chamilo\SkillBundle\Entity\Level")
* @ORM\JoinColumn(name="acquired_level", referencedColumnName="id")
*/
private $acquiredLevel;
protected $acquiredLevel;
/**
* @var string
*
* @ORM\Column(name="argumentation", type="text")
*/
private $argumentation;
protected $argumentation;
/**
* @var int
*
* @ORM\Column(name="argumentation_author_id", type="integer")
*/
private $argumentationAuthorId;
protected $argumentationAuthorId;
/**
* SkillRelUser constructor.

@ -26,40 +26,40 @@ class SkillRelUserComment
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\SkillRelUser", inversedBy="comments")
* @ORM\JoinColumn(name="skill_rel_user_id", referencedColumnName="id")
*/
private $skillRelUser;
protected $skillRelUser;
/**
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="commentedUserSkills")
* @ORM\JoinColumn(name="feedback_giver_id", referencedColumnName="id")
*/
private $feedbackGiver;
protected $feedbackGiver;
/**
* @var string
*
* @ORM\Column(name="feedback_text", type="text")
*/
private $feedbackText;
protected $feedbackText;
/**
* @var int
*
* @ORM\Column(name="feedback_value", type="integer", nullable=true, options={"default":1})
*/
private $feedbackValue;
protected $feedbackValue;
/**
* @var \DateTime
*
* @ORM\Column(name="feedback_datetime", type="datetime")
*/
private $feedbackDateTime;
protected $feedbackDateTime;
/**
* Get id.

@ -20,14 +20,14 @@ class SpecificField
*
* @ORM\Column(name="code", type="string", length=1, nullable=false)
*/
private $code;
protected $code;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=200, nullable=false)
*/
private $name;
protected $name;
/**
* @var int
@ -36,7 +36,7 @@ class SpecificField
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set code.

@ -18,35 +18,35 @@ class SpecificFieldValues
*
* @ORM\Column(name="course_code", type="string", length=40, nullable=false)
*/
private $courseCode;
protected $courseCode;
/**
* @var string
*
* @ORM\Column(name="tool_id", type="string", length=100, nullable=false)
*/
private $toolId;
protected $toolId;
/**
* @var int
*
* @ORM\Column(name="ref_id", type="integer", nullable=false)
*/
private $refId;
protected $refId;
/**
* @var int
*
* @ORM\Column(name="field_id", type="integer", nullable=false)
*/
private $fieldId;
protected $fieldId;
/**
* @var string
*
* @ORM\Column(name="value", type="string", length=200, nullable=false)
*/
private $value;
protected $value;
/**
* @var int
@ -55,7 +55,7 @@ class SpecificFieldValues
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set courseCode.

@ -20,91 +20,91 @@ class SysAnnouncement
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var \DateTime
*
* @ORM\Column(name="date_start", type="datetime", nullable=false)
*/
private $dateStart;
protected $dateStart;
/**
* @var \DateTime
*
* @ORM\Column(name="date_end", type="datetime", nullable=false)
*/
private $dateEnd;
protected $dateEnd;
/**
* @var bool
*
* @ORM\Column(name="visible_teacher", type="boolean", nullable=false)
*/
private $visibleTeacher;
protected $visibleTeacher;
/**
* @var bool
*
* @ORM\Column(name="visible_student", type="boolean", nullable=false)
*/
private $visibleStudent;
protected $visibleStudent;
/**
* @var bool
*
* @ORM\Column(name="visible_guest", type="boolean", nullable=false)
*/
private $visibleGuest;
protected $visibleGuest;
/**
* @var bool
*
* @ORM\Column(name="visible_drh", type="boolean", nullable=false)
*/
private $visibleDrh;
protected $visibleDrh;
/**
* @var bool
*
* @ORM\Column(name="visible_session_admin", type="boolean", nullable=false)
*/
private $visibleSessionAdmin;
protected $visibleSessionAdmin;
/**
* @var bool
*
* @ORM\Column(name="visible_boss", type="boolean", nullable=false)
*/
private $visibleBoss;
protected $visibleBoss;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=250, nullable=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=false)
*/
private $content;
protected $content;
/**
* @var string
*
* @ORM\Column(name="lang", type="string", length=70, nullable=true)
*/
private $lang;
protected $lang;
/**
* @var int
*
* @ORM\Column(name="access_url_id", type="integer", nullable=false)
*/
private $accessUrlId;
protected $accessUrlId;
/**
* SysAnnouncement constructor.

@ -18,42 +18,42 @@ class SysCalendar
*
* @ORM\Column(name="title", type="string", length=255, nullable=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=true)
*/
private $content;
protected $content;
/**
* @var \DateTime
*
* @ORM\Column(name="start_date", type="datetime", nullable=true)
*/
private $startDate;
protected $startDate;
/**
* @var \DateTime
*
* @ORM\Column(name="end_date", type="datetime", nullable=true)
*/
private $endDate;
protected $endDate;
/**
* @var int
*
* @ORM\Column(name="access_url_id", type="integer", nullable=false)
*/
private $accessUrlId;
protected $accessUrlId;
/**
* @var int
*
* @ORM\Column(name="all_day", type="integer", nullable=false)
*/
private $allDay;
protected $allDay;
/**
* @var int
@ -62,7 +62,7 @@ class SysCalendar
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
protected $id;
/**
* Set title.

@ -20,35 +20,35 @@ class SystemTemplate
* @ORM\Id
* @ORM\GeneratedValue()
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=250, nullable=false)
*/
private $title;
protected $title;
/**
* @var string
*
* @ORM\Column(name="comment", type="text", nullable=false)
*/
private $comment;
protected $comment;
/**
* @var string
*
* @ORM\Column(name="image", type="string", length=250, nullable=false)
*/
private $image;
protected $image;
/**
* @var string
*
* @ORM\Column(name="content", type="text", nullable=false)
*/
private $content;
protected $content;
public function __construct()
{

@ -20,28 +20,28 @@ class Tag
* @ORM\Id
* @ORM\GeneratedValue
*/
private $id;
protected $id;
/**
* @var string
*
* @ORM\Column(name="tag", type="string", length=255, nullable=false)
*/
private $tag;
protected $tag;
/**
* @var int
*
* @ORM\Column(name="field_id", type="integer", nullable=false)
*/
private $fieldId;
protected $fieldId;
/**
* @var int
*
* @ORM\Column(name="count", type="integer", nullable=false)
*/
private $count;
protected $count;
/**
* Set tag.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save