Browse Source

Minor - replace private with protected

Julio Montoya 6 years ago
parent
commit
d2721a61d6
100 changed files with 606 additions and 606 deletions
  1. 12 12
      src/Chamilo/CoreBundle/Entity/BranchTransaction.php
  2. 2 2
      src/Chamilo/CoreBundle/Entity/BranchTransactionStatus.php
  3. 6 6
      src/Chamilo/CoreBundle/Entity/Career.php
  4. 6 6
      src/Chamilo/CoreBundle/Entity/Chat.php
  5. 5 5
      src/Chamilo/CoreBundle/Entity/ChatVideo.php
  6. 3 3
      src/Chamilo/CoreBundle/Entity/ClassItem.php
  7. 2 2
      src/Chamilo/CoreBundle/Entity/Course.php
  8. 5 5
      src/Chamilo/CoreBundle/Entity/CourseType.php
  9. 6 6
      src/Chamilo/CoreBundle/Entity/EventEmailTemplate.php
  10. 4 4
      src/Chamilo/CoreBundle/Entity/EventSent.php
  11. 1 1
      src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php
  12. 4 4
      src/Chamilo/CoreBundle/Entity/ExtraFieldRelTag.php
  13. 5 5
      src/Chamilo/CoreBundle/Entity/GradeComponents.php
  14. 6 6
      src/Chamilo/CoreBundle/Entity/GradeModel.php
  15. 16 16
      src/Chamilo/CoreBundle/Entity/GradebookCategory.php
  16. 6 6
      src/Chamilo/CoreBundle/Entity/GradebookCertificate.php
  17. 12 12
      src/Chamilo/CoreBundle/Entity/GradebookEvaluation.php
  18. 10 10
      src/Chamilo/CoreBundle/Entity/GradebookLink.php
  19. 9 9
      src/Chamilo/CoreBundle/Entity/GradebookLinkevalLog.php
  20. 5 5
      src/Chamilo/CoreBundle/Entity/GradebookResult.php
  21. 5 5
      src/Chamilo/CoreBundle/Entity/GradebookScoreLog.php
  22. 6 6
      src/Chamilo/CoreBundle/Entity/HookCall.php
  23. 3 3
      src/Chamilo/CoreBundle/Entity/HookEvent.php
  24. 4 4
      src/Chamilo/CoreBundle/Entity/HookObserver.php
  25. 8 8
      src/Chamilo/CoreBundle/Entity/Language.php
  26. 7 7
      src/Chamilo/CoreBundle/Entity/Legal.php
  27. 1 1
      src/Chamilo/CoreBundle/Entity/Manager/SessionManager.php
  28. 11 11
      src/Chamilo/CoreBundle/Entity/Message.php
  29. 6 6
      src/Chamilo/CoreBundle/Entity/MessageAttachment.php
  30. 8 8
      src/Chamilo/CoreBundle/Entity/Notification.php
  31. 8 8
      src/Chamilo/CoreBundle/Entity/OpenidAssociation.php
  32. 10 10
      src/Chamilo/CoreBundle/Entity/PersonalAgenda.php
  33. 5 5
      src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeat.php
  34. 2 2
      src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeatNot.php
  35. 6 6
      src/Chamilo/CoreBundle/Entity/PortfolioCategory.php
  36. 7 7
      src/Chamilo/CoreBundle/Entity/Promotion.php
  37. 1 1
      src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php
  38. 7 7
      src/Chamilo/CoreBundle/Entity/Room.php
  39. 6 6
      src/Chamilo/CoreBundle/Entity/SearchEngineRef.php
  40. 5 5
      src/Chamilo/CoreBundle/Entity/Sequence.php
  41. 6 6
      src/Chamilo/CoreBundle/Entity/SequenceCondition.php
  42. 3 3
      src/Chamilo/CoreBundle/Entity/SequenceFormula.php
  43. 6 6
      src/Chamilo/CoreBundle/Entity/SequenceMethod.php
  44. 3 3
      src/Chamilo/CoreBundle/Entity/SequenceResource.php
  45. 6 6
      src/Chamilo/CoreBundle/Entity/SequenceRowEntity.php
  46. 2 2
      src/Chamilo/CoreBundle/Entity/SequenceRule.php
  47. 3 3
      src/Chamilo/CoreBundle/Entity/SequenceRuleCondition.php
  48. 4 4
      src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php
  49. 4 4
      src/Chamilo/CoreBundle/Entity/SequenceTypeEntity.php
  50. 3 3
      src/Chamilo/CoreBundle/Entity/SequenceValid.php
  51. 11 11
      src/Chamilo/CoreBundle/Entity/SequenceValue.php
  52. 4 4
      src/Chamilo/CoreBundle/Entity/SequenceVariable.php
  53. 4 4
      src/Chamilo/CoreBundle/Entity/SessionCategory.php
  54. 13 13
      src/Chamilo/CoreBundle/Entity/SettingsCurrent.php
  55. 4 4
      src/Chamilo/CoreBundle/Entity/SettingsOptions.php
  56. 11 11
      src/Chamilo/CoreBundle/Entity/SharedSurvey.php
  57. 9 9
      src/Chamilo/CoreBundle/Entity/SharedSurveyQuestion.php
  58. 5 5
      src/Chamilo/CoreBundle/Entity/SharedSurveyQuestionOption.php
  59. 9 9
      src/Chamilo/CoreBundle/Entity/Skill.php
  60. 3 3
      src/Chamilo/CoreBundle/Entity/SkillProfile.php
  61. 4 4
      src/Chamilo/CoreBundle/Entity/SkillRelGradebook.php
  62. 3 3
      src/Chamilo/CoreBundle/Entity/SkillRelProfile.php
  63. 5 5
      src/Chamilo/CoreBundle/Entity/SkillRelSkill.php
  64. 6 6
      src/Chamilo/CoreBundle/Entity/SkillRelUserComment.php
  65. 3 3
      src/Chamilo/CoreBundle/Entity/SpecificField.php
  66. 6 6
      src/Chamilo/CoreBundle/Entity/SpecificFieldValues.php
  67. 10 10
      src/Chamilo/CoreBundle/Entity/SysAnnouncement.php
  68. 7 7
      src/Chamilo/CoreBundle/Entity/SysCalendar.php
  69. 5 5
      src/Chamilo/CoreBundle/Entity/SystemTemplate.php
  70. 4 4
      src/Chamilo/CoreBundle/Entity/Tag.php
  71. 7 7
      src/Chamilo/CoreBundle/Entity/Templates.php
  72. 8 8
      src/Chamilo/CoreBundle/Entity/TrackCourseRanking.php
  73. 7 7
      src/Chamilo/CoreBundle/Entity/TrackEAccess.php
  74. 12 12
      src/Chamilo/CoreBundle/Entity/TrackEAttempt.php
  75. 3 3
      src/Chamilo/CoreBundle/Entity/TrackEAttemptCoeff.php
  76. 8 8
      src/Chamilo/CoreBundle/Entity/TrackEAttemptRecording.php
  77. 8 8
      src/Chamilo/CoreBundle/Entity/TrackECourseAccess.php
  78. 8 8
      src/Chamilo/CoreBundle/Entity/TrackEDefault.php
  79. 6 6
      src/Chamilo/CoreBundle/Entity/TrackEDownloads.php
  80. 19 19
      src/Chamilo/CoreBundle/Entity/TrackEExercises.php
  81. 7 7
      src/Chamilo/CoreBundle/Entity/TrackEHotpotatoes.php
  82. 9 9
      src/Chamilo/CoreBundle/Entity/TrackEHotspot.php
  83. 9 9
      src/Chamilo/CoreBundle/Entity/TrackEItemProperty.php
  84. 6 6
      src/Chamilo/CoreBundle/Entity/TrackELastaccess.php
  85. 6 6
      src/Chamilo/CoreBundle/Entity/TrackELinks.php
  86. 5 5
      src/Chamilo/CoreBundle/Entity/TrackELogin.php
  87. 7 7
      src/Chamilo/CoreBundle/Entity/TrackEOnline.php
  88. 5 5
      src/Chamilo/CoreBundle/Entity/TrackEOpen.php
  89. 7 7
      src/Chamilo/CoreBundle/Entity/TrackEUploads.php
  90. 6 6
      src/Chamilo/CoreBundle/Entity/TrackStoredValues.php
  91. 7 7
      src/Chamilo/CoreBundle/Entity/TrackStoredValuesStack.php
  92. 9 9
      src/Chamilo/CoreBundle/Entity/UserApiKey.php
  93. 4 4
      src/Chamilo/CoreBundle/Entity/UserCourseCategory.php
  94. 2 2
      src/Chamilo/CoreBundle/Entity/UserFriendRelationType.php
  95. 4 4
      src/Chamilo/CoreBundle/Entity/UserGroupRelUserGroup.php
  96. 6 6
      src/Chamilo/CoreBundle/Entity/UserRelCourseVote.php
  97. 3 3
      src/Chamilo/CoreBundle/Entity/UserRelEventType.php
  98. 3 3
      src/Chamilo/CoreBundle/Entity/UserRelTag.php
  99. 5 5
      src/Chamilo/CoreBundle/Entity/UserRelUser.php
  100. 3 3
      src/Chamilo/CoreBundle/Entity/UsergroupRelCourse.php

+ 12 - 12
src/Chamilo/CoreBundle/Entity/BranchTransaction.php

@@ -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.

+ 2 - 2
src/Chamilo/CoreBundle/Entity/BranchTransactionStatus.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/Career.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/Chat.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/ChatVideo.php

@@ -27,35 +27,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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/ClassItem.php

@@ -18,14 +18,14 @@ class ClassItem
      *
      * @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;
 
     /**
      * @var int
@@ -34,7 +34,7 @@ class ClassItem
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set code.

+ 2 - 2
src/Chamilo/CoreBundle/Entity/Course.php

@@ -1181,7 +1181,7 @@ class Course
      *
      * @return bool
      */
-    private function hasSubscription(CourseRelUser $subscription)
+    protected function hasSubscription(CourseRelUser $subscription)
     {
         if ($this->getUsers()->count()) {
             $criteria = Criteria::create()->where(
@@ -1206,7 +1206,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);

+ 5 - 5
src/Chamilo/CoreBundle/Entity/CourseType.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/EventEmailTemplate.php

@@ -18,35 +18,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
@@ -55,7 +55,7 @@ class EventEmailTemplate
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set message.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/EventSent.php

@@ -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.

+ 1 - 1
src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php

@@ -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.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/ExtraFieldRelTag.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/GradeComponents.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/GradeModel.php

@@ -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.

+ 16 - 16
src/Chamilo/CoreBundle/Entity/GradebookCategory.php

@@ -20,105 +20,105 @@ 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;
 
     /**
      * @var string
      *
      * @ORM\Column(name="course_code", type="string", length=40, nullable=true)
      */
-    private $courseCode;
+    protected $courseCode;
 
     /**
      * @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
@@ -130,7 +130,7 @@ class GradebookCategory
      *      options={"default": 0 }
      * )
      */
-    private $isRequirement;
+    protected $isRequirement;
 
     /**
      * Set name.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/GradebookCertificate.php

@@ -20,42 +20,42 @@ 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;
 
     /**
      * Set catId.

+ 12 - 12
src/Chamilo/CoreBundle/Entity/GradebookEvaluation.php

@@ -20,84 +20,84 @@ 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;
 
     /**
      * @var string
      *
      * @ORM\Column(name="course_code", type="string", length=40, nullable=true)
      */
-    private $courseCode;
+    protected $courseCode;
 
     /**
      * @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.

+ 10 - 10
src/Chamilo/CoreBundle/Entity/GradebookLink.php

@@ -20,70 +20,70 @@ 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;
 
     /**
      * @var string
      *
      * @ORM\Column(name="course_code", type="string", length=40, nullable=false)
      */
-    private $courseCode;
+    protected $courseCode;
 
     /**
      * @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.

+ 9 - 9
src/Chamilo/CoreBundle/Entity/GradebookLinkevalLog.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/GradebookResult.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/GradebookScoreLog.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/HookCall.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/HookEvent.php

@@ -18,14 +18,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
@@ -34,7 +34,7 @@ class HookEvent
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set className.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/HookObserver.php

@@ -18,21 +18,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
@@ -41,7 +41,7 @@ class HookObserver
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set className.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/Language.php

@@ -21,55 +21,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.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/Legal.php

@@ -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

+ 1 - 1
src/Chamilo/CoreBundle/Entity/Manager/SessionManager.php

@@ -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,

+ 11 - 11
src/Chamilo/CoreBundle/Entity/Message.php

@@ -27,77 +27,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="boolean", 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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/MessageAttachment.php

@@ -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.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/Notification.php

@@ -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.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/OpenidAssociation.php

@@ -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.

+ 10 - 10
src/Chamilo/CoreBundle/Entity/PersonalAgenda.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeat.php

@@ -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.

+ 2 - 2
src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeatNot.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/PortfolioCategory.php

@@ -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, onDelete="CASCADE")
      */
-    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.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/Promotion.php

@@ -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.

+ 1 - 1
src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php

@@ -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) {

+ 7 - 7
src/Chamilo/CoreBundle/Entity/Room.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/SearchEngineRef.php

@@ -18,35 +18,35 @@ class SearchEngineRef
      *
      * @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_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
@@ -55,7 +55,7 @@ class SearchEngineRef
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set courseCode.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/Sequence.php

@@ -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

+ 6 - 6
src/Chamilo/CoreBundle/Entity/SequenceCondition.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SequenceFormula.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/SequenceMethod.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SequenceResource.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/SequenceRowEntity.php

@@ -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.

+ 2 - 2
src/Chamilo/CoreBundle/Entity/SequenceRule.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SequenceRuleCondition.php

@@ -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.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php

@@ -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.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/SequenceTypeEntity.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SequenceValid.php

@@ -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.

+ 11 - 11
src/Chamilo/CoreBundle/Entity/SequenceValue.php

@@ -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.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/SequenceVariable.php

@@ -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.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/SessionCategory.php

@@ -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

+ 13 - 13
src/Chamilo/CoreBundle/Entity/SettingsCurrent.php

@@ -23,91 +23,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;
 
     /**
      * Set variable.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/SettingsOptions.php

@@ -20,28 +20,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.

+ 11 - 11
src/Chamilo/CoreBundle/Entity/SharedSurvey.php

@@ -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.

+ 9 - 9
src/Chamilo/CoreBundle/Entity/SharedSurveyQuestion.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/SharedSurveyQuestionOption.php

@@ -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.

+ 9 - 9
src/Chamilo/CoreBundle/Entity/Skill.php

@@ -52,63 +52,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
      *
      * @ORM\Column(name="updated_at", type="datetime", nullable=false)
      */
-    private $updatedAt;
+    protected $updatedAt;
 
     /**
      * @return string

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SkillProfile.php

@@ -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.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/SkillRelGradebook.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SkillRelProfile.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/SkillRelSkill.php

@@ -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 skillId.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/SkillRelUserComment.php

@@ -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.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/SpecificField.php

@@ -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.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/SpecificFieldValues.php

@@ -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.

+ 10 - 10
src/Chamilo/CoreBundle/Entity/SysAnnouncement.php

@@ -18,63 +18,63 @@ class SysAnnouncement
      *
      * @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 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;
 
     /**
      * @var int
@@ -83,7 +83,7 @@ class SysAnnouncement
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set dateStart.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/SysCalendar.php

@@ -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.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/SystemTemplate.php

@@ -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()
     {

+ 4 - 4
src/Chamilo/CoreBundle/Entity/Tag.php

@@ -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.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/Templates.php

@@ -18,42 +18,42 @@ class Templates
      *
      * @ORM\Column(name="title", type="string", length=100, nullable=false)
      */
-    private $title;
+    protected $title;
 
     /**
      * @var string
      *
      * @ORM\Column(name="description", type="string", length=250, nullable=false)
      */
-    private $description;
+    protected $description;
 
     /**
      * @var string
      *
      * @ORM\Column(name="course_code", type="string", length=40, nullable=false)
      */
-    private $courseCode;
+    protected $courseCode;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="ref_doc", type="integer", nullable=false)
      */
-    private $refDoc;
+    protected $refDoc;
 
     /**
      * @var string
      *
      * @ORM\Column(name="image", type="string", length=250, nullable=false)
      */
-    private $image;
+    protected $image;
 
     /**
      * @var int
@@ -62,7 +62,7 @@ class Templates
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set title.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/TrackCourseRanking.php

@@ -23,49 +23,49 @@ class TrackCourseRanking
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="url_id", type="integer", nullable=false)
      */
-    private $urlId;
+    protected $urlId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="accesses", type="integer", nullable=false)
      */
-    private $accesses;
+    protected $accesses;
 
     /**
      * @var int
      *
      * @ORM\Column(name="total_score", type="integer", nullable=false)
      */
-    private $totalScore;
+    protected $totalScore;
 
     /**
      * @var int
      *
      * @ORM\Column(name="users", type="integer", nullable=false)
      */
-    private $users;
+    protected $users;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="creation_date", type="datetime", nullable=false)
      */
-    private $creationDate;
+    protected $creationDate;
 
     /**
      * @var int
@@ -74,7 +74,7 @@ class TrackCourseRanking
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set cId.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/TrackEAccess.php

@@ -22,42 +22,42 @@ class TrackEAccess
      *
      * @ORM\Column(name="access_user_id", type="integer", nullable=true)
      */
-    private $accessUserId;
+    protected $accessUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="access_date", type="datetime", nullable=false)
      */
-    private $accessDate;
+    protected $accessDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="access_tool", type="string", length=30, nullable=true)
      */
-    private $accessTool;
+    protected $accessTool;
 
     /**
      * @var int
      *
      * @ORM\Column(name="access_session_id", type="integer", nullable=false)
      */
-    private $accessSessionId;
+    protected $accessSessionId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="user_ip", type="string", length=39, nullable=false)
      */
-    private $userIp;
+    protected $userIp;
 
     /**
      * @var int
@@ -66,7 +66,7 @@ class TrackEAccess
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $accessId;
+    protected $accessId;
 
     /**
      * Set accessUserId.

+ 12 - 12
src/Chamilo/CoreBundle/Entity/TrackEAttempt.php

@@ -27,77 +27,77 @@ class TrackEAttempt
      *
      * @ORM\Column(name="exe_id", type="integer", nullable=true)
      */
-    private $exeId;
+    protected $exeId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="question_id", type="integer", nullable=false)
      */
-    private $questionId;
+    protected $questionId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="answer", type="text", nullable=false)
      */
-    private $answer;
+    protected $answer;
 
     /**
      * @var string
      *
      * @ORM\Column(name="teacher_comment", type="text", nullable=false)
      */
-    private $teacherComment;
+    protected $teacherComment;
 
     /**
      * @var float
      *
      * @ORM\Column(name="marks", type="float", precision=6, scale=2, nullable=false)
      */
-    private $marks;
+    protected $marks;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="position", type="integer", nullable=true)
      */
-    private $position;
+    protected $position;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="tms", type="datetime", nullable=true)
      */
-    private $tms;
+    protected $tms;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="filename", type="string", length=255, nullable=true)
      */
-    private $filename;
+    protected $filename;
 
     /**
      * @var int
@@ -106,7 +106,7 @@ class TrackEAttempt
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set exeId.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/TrackEAttemptCoeff.php

@@ -20,21 +20,21 @@ class TrackEAttemptCoeff
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="attempt_id", type="integer", nullable=false)
      */
-    private $attemptId;
+    protected $attemptId;
 
     /**
      * @var float
      *
      * @ORM\Column(name="marks_coeff", type="float", precision=6, scale=2, nullable=true)
      */
-    private $marksCoeff;
+    protected $marksCoeff;
 
     /**
      * Set attemptId.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/TrackEAttemptRecording.php

@@ -25,56 +25,56 @@ class TrackEAttemptRecording
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="exe_id", type="integer", nullable=false)
      */
-    private $exeId;
+    protected $exeId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="question_id", type="integer", nullable=false)
      */
-    private $questionId;
+    protected $questionId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="marks", type="integer", nullable=false)
      */
-    private $marks;
+    protected $marks;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="insert_date", type="datetime", nullable=false)
      */
-    private $insertDate;
+    protected $insertDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="author", type="integer", nullable=false)
      */
-    private $author;
+    protected $author;
 
     /**
      * @var string
      *
      * @ORM\Column(name="teacher_comment", type="text", nullable=false)
      */
-    private $teacherComment;
+    protected $teacherComment;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * Set exeId.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/TrackECourseAccess.php

@@ -28,56 +28,56 @@ class TrackECourseAccess
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $courseAccessId;
+    protected $courseAccessId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="login_course_date", type="datetime", nullable=false)
      */
-    private $loginCourseDate;
+    protected $loginCourseDate;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="logout_course_date", type="datetime", nullable=true)
      */
-    private $logoutCourseDate;
+    protected $logoutCourseDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="counter", type="integer", nullable=false)
      */
-    private $counter;
+    protected $counter;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="user_ip", type="string", length=39, nullable=false)
      */
-    private $userIp;
+    protected $userIp;
 
     /**
      * Set cId.

+ 8 - 8
src/Chamilo/CoreBundle/Entity/TrackEDefault.php

@@ -26,56 +26,56 @@ class TrackEDefault
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $defaultId;
+    protected $defaultId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="default_user_id", type="integer", nullable=false)
      */
-    private $defaultUserId;
+    protected $defaultUserId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=true)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="default_date", type="datetime", nullable=true)
      */
-    private $defaultDate;
+    protected $defaultDate;
 
     /**
      * @var string
      *
      * @ORM\Column(name="default_event_type", type="string", length=255, nullable=false)
      */
-    private $defaultEventType;
+    protected $defaultEventType;
 
     /**
      * @var string
      *
      * @ORM\Column(name="default_value_type", type="string", length=255, nullable=false)
      */
-    private $defaultValueType;
+    protected $defaultValueType;
 
     /**
      * @var string
      *
      * @ORM\Column(name="default_value", type="text", nullable=false)
      */
-    private $defaultValue;
+    protected $defaultValue;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=true)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * Set defaultUserId.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/TrackEDownloads.php

@@ -24,42 +24,42 @@ class TrackEDownloads
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $downId;
+    protected $downId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="down_user_id", type="integer", nullable=true)
      */
-    private $downUserId;
+    protected $downUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="down_date", type="datetime", nullable=false)
      */
-    private $downDate;
+    protected $downDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="down_doc_path", type="string", length=255, nullable=false)
      */
-    private $downDocPath;
+    protected $downDocPath;
 
     /**
      * @var int
      *
      * @ORM\Column(name="down_session_id", type="integer", nullable=false)
      */
-    private $downSessionId;
+    protected $downSessionId;
 
     /**
      * Set downUserId.

+ 19 - 19
src/Chamilo/CoreBundle/Entity/TrackEExercises.php

@@ -22,126 +22,126 @@ class TrackEExercises
      *
      * @ORM\Column(name="exe_user_id", type="integer", nullable=true)
      */
-    private $exeUserId;
+    protected $exeUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="exe_date", type="datetime", nullable=false)
      */
-    private $exeDate;
+    protected $exeDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="exe_exo_id", type="integer", nullable=false)
      */
-    private $exeExoId;
+    protected $exeExoId;
 
     /**
      * @var float
      *
      * @ORM\Column(name="exe_result", type="float", precision=6, scale=2, nullable=false)
      */
-    private $exeResult;
+    protected $exeResult;
 
     /**
      * @var float
      *
      * @ORM\Column(name="exe_weighting", type="float", precision=6, scale=2, nullable=false)
      */
-    private $exeWeighting;
+    protected $exeWeighting;
 
     /**
      * @var string
      *
      * @ORM\Column(name="user_ip", type="string", length=39, nullable=false)
      */
-    private $userIp;
+    protected $userIp;
 
     /**
      * @var string
      *
      * @ORM\Column(name="status", type="string", length=20, nullable=false)
      */
-    private $status;
+    protected $status;
 
     /**
      * @var string
      *
      * @ORM\Column(name="data_tracking", type="text", nullable=false)
      */
-    private $dataTracking;
+    protected $dataTracking;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="start_date", type="datetime", nullable=false)
      */
-    private $startDate;
+    protected $startDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="steps_counter", type="smallint", nullable=false)
      */
-    private $stepsCounter;
+    protected $stepsCounter;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="smallint", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="orig_lp_id", type="integer", nullable=false)
      */
-    private $origLpId;
+    protected $origLpId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="orig_lp_item_id", type="integer", nullable=false)
      */
-    private $origLpItemId;
+    protected $origLpItemId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="exe_duration", type="integer", nullable=false)
      */
-    private $exeDuration;
+    protected $exeDuration;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="expired_time_control", type="datetime", nullable=true)
      */
-    private $expiredTimeControl;
+    protected $expiredTimeControl;
 
     /**
      * @var int
      *
      * @ORM\Column(name="orig_lp_item_view_id", type="integer", nullable=false)
      */
-    private $origLpItemViewId;
+    protected $origLpItemViewId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="questions_to_check", type="text", nullable=false)
      */
-    private $questionsToCheck;
+    protected $questionsToCheck;
 
     /**
      * @var int
@@ -150,7 +150,7 @@ class TrackEExercises
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $exeId;
+    protected $exeId;
 
     /**
      * Set exeUserId.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/TrackEHotpotatoes.php

@@ -23,49 +23,49 @@ class TrackEHotpotatoes
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var string
      *
      * @ORM\Column(name="exe_name", type="string", length=255, nullable=false)
      */
-    private $exeName;
+    protected $exeName;
 
     /**
      * @var int
      *
      * @ORM\Column(name="exe_user_id", type="integer", nullable=true)
      */
-    private $exeUserId;
+    protected $exeUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="exe_date", type="datetime", nullable=false)
      */
-    private $exeDate;
+    protected $exeDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="exe_result", type="smallint", nullable=false)
      */
-    private $exeResult;
+    protected $exeResult;
 
     /**
      * @var int
      *
      * @ORM\Column(name="exe_weighting", type="smallint", nullable=false)
      */
-    private $exeWeighting;
+    protected $exeWeighting;
 
     /**
      * Set exeName.

+ 9 - 9
src/Chamilo/CoreBundle/Entity/TrackEHotspot.php

@@ -25,63 +25,63 @@ class TrackEHotspot
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $hotspotId;
+    protected $hotspotId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="hotspot_user_id", type="integer", nullable=false)
      */
-    private $hotspotUserId;
+    protected $hotspotUserId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="hotspot_course_code", type="string", length=50, nullable=false)
      */
-    private $hotspotCourseCode;
+    protected $hotspotCourseCode;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=true)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="hotspot_exe_id", type="integer", nullable=false)
      */
-    private $hotspotExeId;
+    protected $hotspotExeId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="hotspot_question_id", type="integer", nullable=false)
      */
-    private $hotspotQuestionId;
+    protected $hotspotQuestionId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="hotspot_answer_id", type="integer", nullable=false)
      */
-    private $hotspotAnswerId;
+    protected $hotspotAnswerId;
 
     /**
      * @var bool
      *
      * @ORM\Column(name="hotspot_correct", type="boolean", nullable=false)
      */
-    private $hotspotCorrect;
+    protected $hotspotCorrect;
 
     /**
      * @var string
      *
      * @ORM\Column(name="hotspot_coordinate", type="text", nullable=false)
      */
-    private $hotspotCoordinate;
+    protected $hotspotCoordinate;
 
     /**
      * Set hotspotUserId.

+ 9 - 9
src/Chamilo/CoreBundle/Entity/TrackEItemProperty.php

@@ -22,63 +22,63 @@ class TrackEItemProperty
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="course_id", type="integer", nullable=false)
      */
-    private $courseId;
+    protected $courseId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="item_property_id", type="integer", nullable=false)
      */
-    private $itemPropertyId;
+    protected $itemPropertyId;
 
     /**
      * @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="progress", type="integer", nullable=false)
      */
-    private $progress;
+    protected $progress;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="lastedit_date", type="datetime", nullable=false)
      */
-    private $lasteditDate;
+    protected $lasteditDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="lastedit_user_id", type="integer", nullable=false)
      */
-    private $lasteditUserId;
+    protected $lasteditUserId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * Set courseId.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/TrackELastaccess.php

@@ -22,35 +22,35 @@ class TrackELastaccess
      *
      * @ORM\Column(name="access_user_id", type="integer", nullable=true)
      */
-    private $accessUserId;
+    protected $accessUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="access_date", type="datetime", nullable=false)
      */
-    private $accessDate;
+    protected $accessDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="access_tool", type="string", length=30, nullable=true)
      */
-    private $accessTool;
+    protected $accessTool;
 
     /**
      * @var int
      *
      * @ORM\Column(name="access_session_id", type="integer", nullable=true)
      */
-    private $accessSessionId;
+    protected $accessSessionId;
 
     /**
      * @var int
@@ -59,7 +59,7 @@ class TrackELastaccess
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $accessId;
+    protected $accessId;
 
     /**
      * Set accessUserId.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/TrackELinks.php

@@ -22,35 +22,35 @@ class TrackELinks
      *
      * @ORM\Column(name="links_user_id", type="integer", nullable=true)
      */
-    private $linksUserId;
+    protected $linksUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="links_date", type="datetime", nullable=false)
      */
-    private $linksDate;
+    protected $linksDate;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="links_link_id", type="integer", nullable=false)
      */
-    private $linksLinkId;
+    protected $linksLinkId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="links_session_id", type="integer", nullable=false)
      */
-    private $linksSessionId;
+    protected $linksSessionId;
 
     /**
      * @var int
@@ -59,7 +59,7 @@ class TrackELinks
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $linksId;
+    protected $linksId;
 
     /**
      * Set linksUserId.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/TrackELogin.php

@@ -20,28 +20,28 @@ class TrackELogin
      *
      * @ORM\Column(name="login_user_id", type="integer", nullable=false)
      */
-    private $loginUserId;
+    protected $loginUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="login_date", type="datetime", nullable=false)
      */
-    private $loginDate;
+    protected $loginDate;
 
     /**
      * @var string
      *
      * @ORM\Column(name="user_ip", type="string", length=39, nullable=false)
      */
-    private $userIp;
+    protected $userIp;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="logout_date", type="datetime", nullable=true)
      */
-    private $logoutDate;
+    protected $logoutDate;
 
     /**
      * @var int
@@ -50,7 +50,7 @@ class TrackELogin
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $loginId;
+    protected $loginId;
 
     /**
      * Set loginUserId.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/TrackEOnline.php

@@ -25,42 +25,42 @@ class TrackEOnline
      *
      * @ORM\Column(name="login_user_id", type="integer", nullable=false)
      */
-    private $loginUserId;
+    protected $loginUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="login_date", type="datetime", nullable=false)
      */
-    private $loginDate;
+    protected $loginDate;
 
     /**
      * @var string
      *
      * @ORM\Column(name="user_ip", type="string", length=39, nullable=false)
      */
-    private $userIp;
+    protected $userIp;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="access_url_id", type="integer", nullable=false)
      */
-    private $accessUrlId;
+    protected $accessUrlId;
 
     /**
      * @var int
@@ -69,7 +69,7 @@ class TrackEOnline
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $loginId;
+    protected $loginId;
 
     /**
      * Set loginUserId.

+ 5 - 5
src/Chamilo/CoreBundle/Entity/TrackEOpen.php

@@ -18,28 +18,28 @@ class TrackEOpen
      *
      * @ORM\Column(name="open_remote_host", type="text", nullable=false)
      */
-    private $openRemoteHost;
+    protected $openRemoteHost;
 
     /**
      * @var string
      *
      * @ORM\Column(name="open_agent", type="text", nullable=false)
      */
-    private $openAgent;
+    protected $openAgent;
 
     /**
      * @var string
      *
      * @ORM\Column(name="open_referer", type="text", nullable=false)
      */
-    private $openReferer;
+    protected $openReferer;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="open_date", type="datetime", nullable=false)
      */
-    private $openDate;
+    protected $openDate;
 
     /**
      * @var int
@@ -48,7 +48,7 @@ class TrackEOpen
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $openId;
+    protected $openId;
 
     /**
      * Set openRemoteHost.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/TrackEUploads.php

@@ -26,42 +26,42 @@ class TrackEUploads
      *
      * @ORM\Column(name="upload_user_id", type="integer", nullable=true)
      */
-    private $uploadUserId;
+    protected $uploadUserId;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="upload_date", type="datetime", nullable=false)
      */
-    private $uploadDate;
+    protected $uploadDate;
 
     /**
      * @var string
      *
      * @ORM\Column(name="upload_cours_id", type="string", length=40, nullable=false)
      */
-    private $uploadCoursId;
+    protected $uploadCoursId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="c_id", type="integer", nullable=true)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="upload_work_id", type="integer", nullable=false)
      */
-    private $uploadWorkId;
+    protected $uploadWorkId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="upload_session_id", type="integer", nullable=false)
      */
-    private $uploadSessionId;
+    protected $uploadSessionId;
 
     /**
      * @var int
@@ -70,7 +70,7 @@ class TrackEUploads
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $uploadId;
+    protected $uploadId;
 
     /**
      * Set uploadUserId.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/TrackStoredValues.php

@@ -26,35 +26,35 @@ class TrackStoredValues
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="sco_id", type="integer", nullable=false)
      */
-    private $scoId;
+    protected $scoId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="course_id", type="string", length=40, nullable=false)
      */
-    private $courseId;
+    protected $courseId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="sv_key", type="string", length=64, nullable=false)
      */
-    private $svKey;
+    protected $svKey;
 
     /**
      * @var string
      *
      * @ORM\Column(name="sv_value", type="text", nullable=false)
      */
-    private $svValue;
+    protected $svValue;
 
     /**
      * @var int
@@ -63,7 +63,7 @@ class TrackStoredValues
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set userId.

+ 7 - 7
src/Chamilo/CoreBundle/Entity/TrackStoredValuesStack.php

@@ -28,49 +28,49 @@ class TrackStoredValuesStack
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="sco_id", type="integer", nullable=false)
      */
-    private $scoId;
+    protected $scoId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="stack_order", type="integer", nullable=false)
      */
-    private $stackOrder;
+    protected $stackOrder;
 
     /**
      * @var string
      *
      * @ORM\Column(name="course_id", type="string", length=40, nullable=false)
      */
-    private $courseId;
+    protected $courseId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="sv_key", type="string", length=64, nullable=false)
      */
-    private $svKey;
+    protected $svKey;
 
     /**
      * @var string
      *
      * @ORM\Column(name="sv_value", type="text", nullable=false)
      */
-    private $svValue;
+    protected $svValue;
 
     /**
      * Set userId.

+ 9 - 9
src/Chamilo/CoreBundle/Entity/UserApiKey.php

@@ -20,63 +20,63 @@ class UserApiKey
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="api_key", type="string", length=32, nullable=false)
      */
-    private $apiKey;
+    protected $apiKey;
 
     /**
      * @var string
      *
      * @ORM\Column(name="api_service", type="string", length=10, nullable=false)
      */
-    private $apiService;
+    protected $apiService;
 
     /**
      * @var string
      *
      * @ORM\Column(name="api_end_point", type="text", nullable=true)
      */
-    private $apiEndPoint;
+    protected $apiEndPoint;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="created_date", type="datetime", nullable=true)
      */
-    private $createdDate;
+    protected $createdDate;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="validity_start_date", type="datetime", nullable=true)
      */
-    private $validityStartDate;
+    protected $validityStartDate;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="validity_end_date", type="datetime", nullable=true)
      */
-    private $validityEndDate;
+    protected $validityEndDate;
 
     /**
      * @var string
      *
      * @ORM\Column(name="description", type="text", nullable=true)
      */
-    private $description;
+    protected $description;
 
     /**
      * Set userId.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/UserCourseCategory.php

@@ -20,28 +20,28 @@ class UserCourseCategory
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="title", type="text", nullable=false)
      */
-    private $title;
+    protected $title;
 
     /**
      * @var int
      *
      * @ORM\Column(name="sort", type="integer", nullable=true)
      */
-    private $sort;
+    protected $sort;
 
     /**
      * Set userId.

+ 2 - 2
src/Chamilo/CoreBundle/Entity/UserFriendRelationType.php

@@ -18,7 +18,7 @@ class UserFriendRelationType
      *
      * @ORM\Column(name="title", type="string", length=20, nullable=true)
      */
-    private $title;
+    protected $title;
 
     /**
      * @var int
@@ -27,7 +27,7 @@ class UserFriendRelationType
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set title.

+ 4 - 4
src/Chamilo/CoreBundle/Entity/UserGroupRelUserGroup.php

@@ -20,28 +20,28 @@ class UserGroupRelUserGroup
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="group_id", type="integer", nullable=false)
      */
-    private $groupId;
+    protected $groupId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="subgroup_id", type="integer", nullable=false)
      */
-    private $subgroupId;
+    protected $subgroupId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="relation_type", type="integer", nullable=false)
      */
-    private $relationType;
+    protected $relationType;
 
     /**
      * Set groupId.

+ 6 - 6
src/Chamilo/CoreBundle/Entity/UserRelCourseVote.php

@@ -22,35 +22,35 @@ class UserRelCourseVote
      *
      * @ORM\Column(name="c_id", type="integer", nullable=false)
      */
-    private $cId;
+    protected $cId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="session_id", type="integer", nullable=false)
      */
-    private $sessionId;
+    protected $sessionId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="url_id", type="integer", nullable=false)
      */
-    private $urlId;
+    protected $urlId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="vote", type="integer", nullable=false)
      */
-    private $vote;
+    protected $vote;
 
     /**
      * @var int
@@ -59,7 +59,7 @@ class UserRelCourseVote
      * @ORM\Id
      * @ORM\GeneratedValue(strategy="IDENTITY")
      */
-    private $id;
+    protected $id;
 
     /**
      * Set cId.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/UserRelEventType.php

@@ -22,21 +22,21 @@ class UserRelEventType
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var string
      *
      * @ORM\Column(name="event_type_name", type="string", length=255, nullable=false)
      */
-    private $eventTypeName;
+    protected $eventTypeName;
 
     /**
      * Set userId.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/UserRelTag.php

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

+ 5 - 5
src/Chamilo/CoreBundle/Entity/UserRelUser.php

@@ -24,35 +24,35 @@ class UserRelUser
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="user_id", type="integer", nullable=false)
      */
-    private $userId;
+    protected $userId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="friend_user_id", type="integer", nullable=false)
      */
-    private $friendUserId;
+    protected $friendUserId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="relation_type", type="integer", nullable=false)
      */
-    private $relationType;
+    protected $relationType;
 
     /**
      * @var \DateTime
      *
      * @ORM\Column(name="last_edit", type="datetime", nullable=true)
      */
-    private $lastEdit;
+    protected $lastEdit;
 
     /**
      * Set userId.

+ 3 - 3
src/Chamilo/CoreBundle/Entity/UsergroupRelCourse.php

@@ -20,21 +20,21 @@ class UsergroupRelCourse
      * @ORM\Id
      * @ORM\GeneratedValue
      */
-    private $id;
+    protected $id;
 
     /**
      * @var int
      *
      * @ORM\Column(name="usergroup_id", type="integer", nullable=false)
      */
-    private $usergroupId;
+    protected $usergroupId;
 
     /**
      * @var int
      *
      * @ORM\Column(name="course_id", type="integer", nullable=false)
      */
-    private $courseId;
+    protected $courseId;
 
     /**
      * Set usergroupId.

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