From d2721a61d68af28d013c4fe83aac9d54a31feb49 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 3 Aug 2018 10:26:26 +0200 Subject: [PATCH] Minor - replace private with protected --- .../CoreBundle/Entity/BranchTransaction.php | 24 +++---- .../Entity/BranchTransactionStatus.php | 4 +- src/Chamilo/CoreBundle/Entity/Career.php | 12 ++-- src/Chamilo/CoreBundle/Entity/Chat.php | 12 ++-- src/Chamilo/CoreBundle/Entity/ChatVideo.php | 10 +-- src/Chamilo/CoreBundle/Entity/ClassItem.php | 6 +- src/Chamilo/CoreBundle/Entity/Course.php | 4 +- src/Chamilo/CoreBundle/Entity/CourseType.php | 10 +-- .../CoreBundle/Entity/EventEmailTemplate.php | 12 ++-- src/Chamilo/CoreBundle/Entity/EventSent.php | 8 +-- .../Entity/ExtraFieldOptionRelFieldOption.php | 2 +- .../CoreBundle/Entity/ExtraFieldRelTag.php | 8 +-- .../CoreBundle/Entity/GradeComponents.php | 10 +-- src/Chamilo/CoreBundle/Entity/GradeModel.php | 12 ++-- .../CoreBundle/Entity/GradebookCategory.php | 32 ++++----- .../Entity/GradebookCertificate.php | 12 ++-- .../CoreBundle/Entity/GradebookEvaluation.php | 24 +++---- .../CoreBundle/Entity/GradebookLink.php | 20 +++--- .../Entity/GradebookLinkevalLog.php | 18 ++--- .../CoreBundle/Entity/GradebookResult.php | 10 +-- .../CoreBundle/Entity/GradebookScoreLog.php | 10 +-- src/Chamilo/CoreBundle/Entity/HookCall.php | 12 ++-- src/Chamilo/CoreBundle/Entity/HookEvent.php | 6 +- .../CoreBundle/Entity/HookObserver.php | 8 +-- src/Chamilo/CoreBundle/Entity/Language.php | 16 ++--- src/Chamilo/CoreBundle/Entity/Legal.php | 14 ++-- .../Entity/Manager/SessionManager.php | 2 +- src/Chamilo/CoreBundle/Entity/Message.php | 22 +++--- .../CoreBundle/Entity/MessageAttachment.php | 12 ++-- .../CoreBundle/Entity/Notification.php | 16 ++--- .../CoreBundle/Entity/OpenidAssociation.php | 16 ++--- .../CoreBundle/Entity/PersonalAgenda.php | 20 +++--- .../Entity/PersonalAgendaRepeat.php | 10 +-- .../Entity/PersonalAgendaRepeatNot.php | 4 +- .../CoreBundle/Entity/PortfolioCategory.php | 12 ++-- src/Chamilo/CoreBundle/Entity/Promotion.php | 14 ++-- .../Entity/Repository/SequenceRepository.php | 2 +- src/Chamilo/CoreBundle/Entity/Room.php | 14 ++-- .../CoreBundle/Entity/SearchEngineRef.php | 12 ++-- src/Chamilo/CoreBundle/Entity/Sequence.php | 10 +-- .../CoreBundle/Entity/SequenceCondition.php | 12 ++-- .../CoreBundle/Entity/SequenceFormula.php | 6 +- .../CoreBundle/Entity/SequenceMethod.php | 12 ++-- .../CoreBundle/Entity/SequenceResource.php | 6 +- .../CoreBundle/Entity/SequenceRowEntity.php | 12 ++-- .../CoreBundle/Entity/SequenceRule.php | 4 +- .../Entity/SequenceRuleCondition.php | 6 +- .../CoreBundle/Entity/SequenceRuleMethod.php | 8 +-- .../CoreBundle/Entity/SequenceTypeEntity.php | 8 +-- .../CoreBundle/Entity/SequenceValid.php | 6 +- .../CoreBundle/Entity/SequenceValue.php | 22 +++--- .../CoreBundle/Entity/SequenceVariable.php | 8 +-- .../CoreBundle/Entity/SessionCategory.php | 8 +-- .../CoreBundle/Entity/SettingsCurrent.php | 26 +++---- .../CoreBundle/Entity/SettingsOptions.php | 8 +-- .../CoreBundle/Entity/SharedSurvey.php | 22 +++--- .../Entity/SharedSurveyQuestion.php | 18 ++--- .../Entity/SharedSurveyQuestionOption.php | 10 +-- src/Chamilo/CoreBundle/Entity/Skill.php | 18 ++--- .../CoreBundle/Entity/SkillProfile.php | 6 +- .../CoreBundle/Entity/SkillRelGradebook.php | 8 +-- .../CoreBundle/Entity/SkillRelProfile.php | 6 +- .../CoreBundle/Entity/SkillRelSkill.php | 10 +-- .../CoreBundle/Entity/SkillRelUserComment.php | 12 ++-- .../CoreBundle/Entity/SpecificField.php | 6 +- .../CoreBundle/Entity/SpecificFieldValues.php | 12 ++-- .../CoreBundle/Entity/SysAnnouncement.php | 20 +++--- src/Chamilo/CoreBundle/Entity/SysCalendar.php | 14 ++-- .../CoreBundle/Entity/SystemTemplate.php | 10 +-- src/Chamilo/CoreBundle/Entity/Tag.php | 8 +-- src/Chamilo/CoreBundle/Entity/Templates.php | 14 ++-- .../CoreBundle/Entity/TrackCourseRanking.php | 16 ++--- .../CoreBundle/Entity/TrackEAccess.php | 14 ++-- .../CoreBundle/Entity/TrackEAttempt.php | 24 +++---- .../CoreBundle/Entity/TrackEAttemptCoeff.php | 6 +- .../Entity/TrackEAttemptRecording.php | 16 ++--- .../CoreBundle/Entity/TrackECourseAccess.php | 16 ++--- .../CoreBundle/Entity/TrackEDefault.php | 16 ++--- .../CoreBundle/Entity/TrackEDownloads.php | 12 ++-- .../CoreBundle/Entity/TrackEExercises.php | 38 +++++----- .../CoreBundle/Entity/TrackEHotpotatoes.php | 14 ++-- .../CoreBundle/Entity/TrackEHotspot.php | 18 ++--- .../CoreBundle/Entity/TrackEItemProperty.php | 18 ++--- .../CoreBundle/Entity/TrackELastaccess.php | 12 ++-- src/Chamilo/CoreBundle/Entity/TrackELinks.php | 12 ++-- src/Chamilo/CoreBundle/Entity/TrackELogin.php | 10 +-- .../CoreBundle/Entity/TrackEOnline.php | 14 ++-- src/Chamilo/CoreBundle/Entity/TrackEOpen.php | 10 +-- .../CoreBundle/Entity/TrackEUploads.php | 14 ++-- .../CoreBundle/Entity/TrackStoredValues.php | 12 ++-- .../Entity/TrackStoredValuesStack.php | 14 ++-- src/Chamilo/CoreBundle/Entity/UserApiKey.php | 18 ++--- .../CoreBundle/Entity/UserCourseCategory.php | 8 +-- .../Entity/UserFriendRelationType.php | 4 +- .../Entity/UserGroupRelUserGroup.php | 8 +-- .../CoreBundle/Entity/UserRelCourseVote.php | 12 ++-- .../CoreBundle/Entity/UserRelEventType.php | 6 +- src/Chamilo/CoreBundle/Entity/UserRelTag.php | 6 +- src/Chamilo/CoreBundle/Entity/UserRelUser.php | 10 +-- .../CoreBundle/Entity/UsergroupRelCourse.php | 6 +- .../Entity/UsergroupRelQuestion.php | 10 +-- .../CoreBundle/Entity/UsergroupRelSession.php | 6 +- .../CoreBundle/Entity/UsergroupRelUser.php | 2 +- .../CourseBundle/Entity/CAnnouncement.php | 18 ++--- .../Entity/CAnnouncementAttachment.php | 16 ++--- .../CourseBundle/Entity/CAttendance.php | 22 +++--- .../Entity/CAttendanceCalendar.php | 12 ++-- .../Entity/CAttendanceCalendarRelGroup.php | 10 +-- .../CourseBundle/Entity/CAttendanceResult.php | 12 ++-- .../CourseBundle/Entity/CAttendanceSheet.php | 10 +-- .../Entity/CAttendanceSheetLog.php | 16 ++--- src/Chamilo/CourseBundle/Entity/CBlog.php | 16 ++--- .../CourseBundle/Entity/CBlogAttachment.php | 20 +++--- .../CourseBundle/Entity/CBlogComment.php | 22 +++--- src/Chamilo/CourseBundle/Entity/CBlogPost.php | 16 ++--- .../CourseBundle/Entity/CBlogRating.php | 16 ++--- .../CourseBundle/Entity/CBlogRelUser.php | 8 +-- src/Chamilo/CourseBundle/Entity/CBlogTask.php | 16 ++--- .../CourseBundle/Entity/CBlogTaskRelUser.php | 12 ++-- .../CourseBundle/Entity/CCalendarEvent.php | 26 +++---- .../Entity/CCalendarEventAttachment.php | 16 ++--- .../Entity/CCalendarEventRepeat.php | 14 ++-- .../Entity/CCalendarEventRepeatNot.php | 8 +-- .../CourseBundle/Entity/CChatConnected.php | 14 ++-- .../Entity/CCourseDescription.php | 16 ++--- .../CourseBundle/Entity/CCourseSetting.php | 22 +++--- src/Chamilo/CourseBundle/Entity/CDocument.php | 20 +++--- .../CourseBundle/Entity/CDropboxCategory.php | 16 ++--- .../CourseBundle/Entity/CDropboxFeedback.php | 14 ++-- .../CourseBundle/Entity/CDropboxFile.php | 26 +++---- .../CourseBundle/Entity/CDropboxPerson.php | 8 +-- .../CourseBundle/Entity/CDropboxPost.php | 16 ++--- .../CourseBundle/Entity/CForumAttachment.php | 16 ++--- .../CourseBundle/Entity/CForumCategory.php | 16 ++--- .../CourseBundle/Entity/CForumForum.php | 66 ++++++++--------- .../CourseBundle/Entity/CForumMailcue.php | 12 ++-- .../Entity/CForumNotification.php | 14 ++-- .../CourseBundle/Entity/CForumPost.php | 28 ++++---- .../CourseBundle/Entity/CForumThread.php | 40 +++++------ .../Entity/CForumThreadQualify.php | 18 ++--- .../Entity/CForumThreadQualifyLog.php | 18 ++--- src/Chamilo/CourseBundle/Entity/CGlossary.php | 14 ++-- .../CourseBundle/Entity/CGroupCategory.php | 34 ++++----- .../CourseBundle/Entity/CGroupInfo.php | 40 +++++------ .../CourseBundle/Entity/CGroupRelTutor.php | 10 +-- .../CourseBundle/Entity/CGroupRelUser.php | 14 ++-- src/Chamilo/CourseBundle/Entity/CLink.php | 22 +++--- .../CourseBundle/Entity/CLinkCategory.php | 14 ++-- src/Chamilo/CourseBundle/Entity/CLp.php | 70 +++++++++---------- .../CourseBundle/Entity/CLpCategory.php | 10 +-- .../CourseBundle/Entity/CLpCategoryUser.php | 6 +- src/Chamilo/CourseBundle/Entity/CLpItem.php | 50 ++++++------- .../CourseBundle/Entity/CLpItemView.php | 28 ++++---- .../CourseBundle/Entity/CLpIvInteraction.php | 26 +++---- .../CourseBundle/Entity/CLpIvObjective.php | 20 +++--- src/Chamilo/CourseBundle/Entity/CLpView.php | 18 ++--- src/Chamilo/CourseBundle/Entity/CNotebook.php | 22 +++--- .../CourseBundle/Entity/COnlineConnected.php | 8 +-- .../CourseBundle/Entity/COnlineLink.php | 10 +-- .../CourseBundle/Entity/CPermissionGroup.php | 12 ++-- .../CourseBundle/Entity/CPermissionTask.php | 12 ++-- .../CourseBundle/Entity/CPermissionUser.php | 12 ++-- src/Chamilo/CourseBundle/Entity/CQuiz.php | 54 +++++++------- .../CourseBundle/Entity/CQuizAnswer.php | 28 ++++---- .../CourseBundle/Entity/CQuizCategory.php | 10 +-- .../CourseBundle/Entity/CQuizQuestion.php | 24 +++---- .../Entity/CQuizQuestionCategory.php | 10 +-- .../Entity/CQuizQuestionOption.php | 12 ++-- .../Entity/CQuizQuestionRelCategory.php | 8 +-- .../CourseBundle/Entity/CQuizRelQuestion.php | 10 +-- src/Chamilo/CourseBundle/Entity/CResource.php | 14 ++-- src/Chamilo/CourseBundle/Entity/CRole.php | 12 ++-- .../CourseBundle/Entity/CRoleGroup.php | 12 ++-- .../CourseBundle/Entity/CRolePermissions.php | 14 ++-- src/Chamilo/CourseBundle/Entity/CRoleUser.php | 10 +-- .../Entity/CStudentPublication.php | 52 +++++++------- .../Entity/CStudentPublicationAssignment.php | 16 ++--- .../Entity/CStudentPublicationComment.php | 16 ++--- .../Entity/CStudentPublicationRelDocument.php | 10 +-- .../Entity/CStudentPublicationRelUser.php | 10 +-- src/Chamilo/CourseBundle/Entity/CSurvey.php | 62 ++++++++-------- .../CourseBundle/Entity/CSurveyAnswer.php | 16 ++--- .../CourseBundle/Entity/CSurveyGroup.php | 12 ++-- .../CourseBundle/Entity/CSurveyInvitation.php | 22 +++--- .../CourseBundle/Entity/CSurveyQuestion.php | 28 ++++---- .../Entity/CSurveyQuestionOption.php | 16 ++--- src/Chamilo/CourseBundle/Entity/CThematic.php | 16 ++--- .../CourseBundle/Entity/CThematicAdvance.php | 20 +++--- .../CourseBundle/Entity/CThematicPlan.php | 14 ++-- .../CourseBundle/Entity/CUserinfoContent.php | 16 ++--- .../CourseBundle/Entity/CUserinfoDef.php | 14 ++-- src/Chamilo/CourseBundle/Entity/CWiki.php | 56 +++++++-------- src/Chamilo/CourseBundle/Entity/CWikiConf.php | 32 ++++----- .../CourseBundle/Entity/CWikiDiscuss.php | 16 ++--- .../CourseBundle/Entity/CWikiMailcue.php | 14 ++-- 195 files changed, 1522 insertions(+), 1522 deletions(-) diff --git a/src/Chamilo/CoreBundle/Entity/BranchTransaction.php b/src/Chamilo/CoreBundle/Entity/BranchTransaction.php index af28fc9a50..6f275b280c 100644 --- a/src/Chamilo/CoreBundle/Entity/BranchTransaction.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/BranchTransactionStatus.php b/src/Chamilo/CoreBundle/Entity/BranchTransactionStatus.php index d2a07a900e..4b4b9b6b61 100644 --- a/src/Chamilo/CoreBundle/Entity/BranchTransactionStatus.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Career.php b/src/Chamilo/CoreBundle/Entity/Career.php index 55b6a72cbf..ed9c42a022 100644 --- a/src/Chamilo/CoreBundle/Entity/Career.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Chat.php b/src/Chamilo/CoreBundle/Entity/Chat.php index 780c8b831f..6fa67c0253 100644 --- a/src/Chamilo/CoreBundle/Entity/Chat.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/ChatVideo.php b/src/Chamilo/CoreBundle/Entity/ChatVideo.php index 9aff8d34ee..5074ba1e78 100644 --- a/src/Chamilo/CoreBundle/Entity/ChatVideo.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/ClassItem.php b/src/Chamilo/CoreBundle/Entity/ClassItem.php index 2faa08dee4..e7cd9f4c8d 100644 --- a/src/Chamilo/CoreBundle/Entity/ClassItem.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Course.php b/src/Chamilo/CoreBundle/Entity/Course.php index 3eb7e1659a..5d1f6afd50 100644 --- a/src/Chamilo/CoreBundle/Entity/Course.php +++ b/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); diff --git a/src/Chamilo/CoreBundle/Entity/CourseType.php b/src/Chamilo/CoreBundle/Entity/CourseType.php index b6cc41118a..4d6f99246d 100644 --- a/src/Chamilo/CoreBundle/Entity/CourseType.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/EventEmailTemplate.php b/src/Chamilo/CoreBundle/Entity/EventEmailTemplate.php index 8331a5f124..03e3811bf5 100644 --- a/src/Chamilo/CoreBundle/Entity/EventEmailTemplate.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/EventSent.php b/src/Chamilo/CoreBundle/Entity/EventSent.php index 725b165499..7e581b12f2 100644 --- a/src/Chamilo/CoreBundle/Entity/EventSent.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php b/src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php index cd260d51ef..8f49501acb 100644 --- a/src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/ExtraFieldRelTag.php b/src/Chamilo/CoreBundle/Entity/ExtraFieldRelTag.php index 3526d86d24..5db22da502 100644 --- a/src/Chamilo/CoreBundle/Entity/ExtraFieldRelTag.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradeComponents.php b/src/Chamilo/CoreBundle/Entity/GradeComponents.php index 0e05c452e3..31a352b183 100644 --- a/src/Chamilo/CoreBundle/Entity/GradeComponents.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradeModel.php b/src/Chamilo/CoreBundle/Entity/GradeModel.php index 5ebec59def..749bf23bae 100644 --- a/src/Chamilo/CoreBundle/Entity/GradeModel.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookCategory.php b/src/Chamilo/CoreBundle/Entity/GradebookCategory.php index fa0e97a4fe..42a0d68597 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookCategory.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookCertificate.php b/src/Chamilo/CoreBundle/Entity/GradebookCertificate.php index afe457a8a5..fbeb0b8106 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookCertificate.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookEvaluation.php b/src/Chamilo/CoreBundle/Entity/GradebookEvaluation.php index fab7cc2170..41fa7db724 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookEvaluation.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookLink.php b/src/Chamilo/CoreBundle/Entity/GradebookLink.php index f44fb56dea..b26733a8af 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookLink.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookLinkevalLog.php b/src/Chamilo/CoreBundle/Entity/GradebookLinkevalLog.php index e29129c76d..f6a6a3708b 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookLinkevalLog.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookResult.php b/src/Chamilo/CoreBundle/Entity/GradebookResult.php index 9e1ec93b02..77d92aeec2 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookResult.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/GradebookScoreLog.php b/src/Chamilo/CoreBundle/Entity/GradebookScoreLog.php index c8f3f7d3d1..513bc22dae 100644 --- a/src/Chamilo/CoreBundle/Entity/GradebookScoreLog.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/HookCall.php b/src/Chamilo/CoreBundle/Entity/HookCall.php index bba64cc0c6..91771dcf36 100644 --- a/src/Chamilo/CoreBundle/Entity/HookCall.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/HookEvent.php b/src/Chamilo/CoreBundle/Entity/HookEvent.php index 6e207e354d..bda7bd0533 100644 --- a/src/Chamilo/CoreBundle/Entity/HookEvent.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/HookObserver.php b/src/Chamilo/CoreBundle/Entity/HookObserver.php index 7cf3a9312e..5511b0849d 100644 --- a/src/Chamilo/CoreBundle/Entity/HookObserver.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Language.php b/src/Chamilo/CoreBundle/Entity/Language.php index 238be8f73e..b86bb2f649 100644 --- a/src/Chamilo/CoreBundle/Entity/Language.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Legal.php b/src/Chamilo/CoreBundle/Entity/Legal.php index 36d4d12aef..f5556fe690 100644 --- a/src/Chamilo/CoreBundle/Entity/Legal.php +++ b/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 diff --git a/src/Chamilo/CoreBundle/Entity/Manager/SessionManager.php b/src/Chamilo/CoreBundle/Entity/Manager/SessionManager.php index 44715fc9a6..4e17d8a788 100644 --- a/src/Chamilo/CoreBundle/Entity/Manager/SessionManager.php +++ b/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, diff --git a/src/Chamilo/CoreBundle/Entity/Message.php b/src/Chamilo/CoreBundle/Entity/Message.php index 6f0c66be6c..940b156d9d 100644 --- a/src/Chamilo/CoreBundle/Entity/Message.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/MessageAttachment.php b/src/Chamilo/CoreBundle/Entity/MessageAttachment.php index bd01d49793..b94ceddf54 100644 --- a/src/Chamilo/CoreBundle/Entity/MessageAttachment.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Notification.php b/src/Chamilo/CoreBundle/Entity/Notification.php index f048167cdc..459924f681 100644 --- a/src/Chamilo/CoreBundle/Entity/Notification.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/OpenidAssociation.php b/src/Chamilo/CoreBundle/Entity/OpenidAssociation.php index c2f85b3adc..0de62f3df0 100644 --- a/src/Chamilo/CoreBundle/Entity/OpenidAssociation.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/PersonalAgenda.php b/src/Chamilo/CoreBundle/Entity/PersonalAgenda.php index 0a864eef1a..29b26fac4e 100644 --- a/src/Chamilo/CoreBundle/Entity/PersonalAgenda.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeat.php b/src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeat.php index 8d4936b06f..5cc2ea2d89 100644 --- a/src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeat.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeatNot.php b/src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeatNot.php index b4161aa519..f3b23eb587 100644 --- a/src/Chamilo/CoreBundle/Entity/PersonalAgendaRepeatNot.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/PortfolioCategory.php b/src/Chamilo/CoreBundle/Entity/PortfolioCategory.php index e64a301a8b..8976eed2cc 100644 --- a/src/Chamilo/CoreBundle/Entity/PortfolioCategory.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Promotion.php b/src/Chamilo/CoreBundle/Entity/Promotion.php index 467f9e32f5..6f405b1ad2 100644 --- a/src/Chamilo/CoreBundle/Entity/Promotion.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php b/src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php index facd3fdc90..467cced6ae 100644 --- a/src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php +++ b/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) { diff --git a/src/Chamilo/CoreBundle/Entity/Room.php b/src/Chamilo/CoreBundle/Entity/Room.php index f2fe517d38..a6912c1c30 100644 --- a/src/Chamilo/CoreBundle/Entity/Room.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SearchEngineRef.php b/src/Chamilo/CoreBundle/Entity/SearchEngineRef.php index baced79616..bd7b43edd7 100644 --- a/src/Chamilo/CoreBundle/Entity/SearchEngineRef.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Sequence.php b/src/Chamilo/CoreBundle/Entity/Sequence.php index 74b5644479..1bafea011c 100644 --- a/src/Chamilo/CoreBundle/Entity/Sequence.php +++ b/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 diff --git a/src/Chamilo/CoreBundle/Entity/SequenceCondition.php b/src/Chamilo/CoreBundle/Entity/SequenceCondition.php index bea82864ae..9deef72233 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceCondition.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceFormula.php b/src/Chamilo/CoreBundle/Entity/SequenceFormula.php index 1a242770c4..64f7c63af9 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceFormula.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceMethod.php b/src/Chamilo/CoreBundle/Entity/SequenceMethod.php index 1d5f8842e7..f1cd7d6af5 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceMethod.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceResource.php b/src/Chamilo/CoreBundle/Entity/SequenceResource.php index 70202dcd6b..0e80a45ead 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceResource.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceRowEntity.php b/src/Chamilo/CoreBundle/Entity/SequenceRowEntity.php index 9e93d338a5..8efa32021e 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceRowEntity.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceRule.php b/src/Chamilo/CoreBundle/Entity/SequenceRule.php index bd04b614c2..209ada826b 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceRule.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceRuleCondition.php b/src/Chamilo/CoreBundle/Entity/SequenceRuleCondition.php index a02f72e0fe..5984b7bc73 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceRuleCondition.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php b/src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php index 8a09abcc60..41dfb0a1bb 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceTypeEntity.php b/src/Chamilo/CoreBundle/Entity/SequenceTypeEntity.php index 08c37578f0..8d14a30695 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceTypeEntity.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceValid.php b/src/Chamilo/CoreBundle/Entity/SequenceValid.php index 09e47e734f..7171b808ae 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceValid.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceValue.php b/src/Chamilo/CoreBundle/Entity/SequenceValue.php index 4fd0bbf05d..d92080a219 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceValue.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SequenceVariable.php b/src/Chamilo/CoreBundle/Entity/SequenceVariable.php index 2052869e2e..d1e73d4306 100644 --- a/src/Chamilo/CoreBundle/Entity/SequenceVariable.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SessionCategory.php b/src/Chamilo/CoreBundle/Entity/SessionCategory.php index 24a8e107e7..f5c41be87d 100644 --- a/src/Chamilo/CoreBundle/Entity/SessionCategory.php +++ b/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 diff --git a/src/Chamilo/CoreBundle/Entity/SettingsCurrent.php b/src/Chamilo/CoreBundle/Entity/SettingsCurrent.php index 8f68f20fd6..05c8d93b27 100644 --- a/src/Chamilo/CoreBundle/Entity/SettingsCurrent.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SettingsOptions.php b/src/Chamilo/CoreBundle/Entity/SettingsOptions.php index 689b92e9a5..e04263b063 100644 --- a/src/Chamilo/CoreBundle/Entity/SettingsOptions.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SharedSurvey.php b/src/Chamilo/CoreBundle/Entity/SharedSurvey.php index d8a2f14bfa..9d403cfda7 100644 --- a/src/Chamilo/CoreBundle/Entity/SharedSurvey.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SharedSurveyQuestion.php b/src/Chamilo/CoreBundle/Entity/SharedSurveyQuestion.php index 46f63967b2..bbedef30f9 100644 --- a/src/Chamilo/CoreBundle/Entity/SharedSurveyQuestion.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SharedSurveyQuestionOption.php b/src/Chamilo/CoreBundle/Entity/SharedSurveyQuestionOption.php index f74a6a2171..d0a300c338 100644 --- a/src/Chamilo/CoreBundle/Entity/SharedSurveyQuestionOption.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Skill.php b/src/Chamilo/CoreBundle/Entity/Skill.php index 76ef2729ec..76792bec6c 100644 --- a/src/Chamilo/CoreBundle/Entity/Skill.php +++ b/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 diff --git a/src/Chamilo/CoreBundle/Entity/SkillProfile.php b/src/Chamilo/CoreBundle/Entity/SkillProfile.php index dc397f3bac..6efa2d8f10 100644 --- a/src/Chamilo/CoreBundle/Entity/SkillProfile.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SkillRelGradebook.php b/src/Chamilo/CoreBundle/Entity/SkillRelGradebook.php index 2887e46a6c..cf2fff8da3 100644 --- a/src/Chamilo/CoreBundle/Entity/SkillRelGradebook.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SkillRelProfile.php b/src/Chamilo/CoreBundle/Entity/SkillRelProfile.php index aad0905ffd..9f2e586fbb 100644 --- a/src/Chamilo/CoreBundle/Entity/SkillRelProfile.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SkillRelSkill.php b/src/Chamilo/CoreBundle/Entity/SkillRelSkill.php index f6729b522a..8aed99e363 100644 --- a/src/Chamilo/CoreBundle/Entity/SkillRelSkill.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SkillRelUserComment.php b/src/Chamilo/CoreBundle/Entity/SkillRelUserComment.php index 8c53c15320..f68f9f547e 100644 --- a/src/Chamilo/CoreBundle/Entity/SkillRelUserComment.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SpecificField.php b/src/Chamilo/CoreBundle/Entity/SpecificField.php index 29f0f52e29..ff31010bc6 100644 --- a/src/Chamilo/CoreBundle/Entity/SpecificField.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SpecificFieldValues.php b/src/Chamilo/CoreBundle/Entity/SpecificFieldValues.php index a684e1da7b..8305eab44b 100644 --- a/src/Chamilo/CoreBundle/Entity/SpecificFieldValues.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SysAnnouncement.php b/src/Chamilo/CoreBundle/Entity/SysAnnouncement.php index dc856f6683..e8d1e5b700 100644 --- a/src/Chamilo/CoreBundle/Entity/SysAnnouncement.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SysCalendar.php b/src/Chamilo/CoreBundle/Entity/SysCalendar.php index c8df52bc7d..6c8cfb0a47 100644 --- a/src/Chamilo/CoreBundle/Entity/SysCalendar.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/SystemTemplate.php b/src/Chamilo/CoreBundle/Entity/SystemTemplate.php index 837c3479d7..4bf549d643 100644 --- a/src/Chamilo/CoreBundle/Entity/SystemTemplate.php +++ b/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() { diff --git a/src/Chamilo/CoreBundle/Entity/Tag.php b/src/Chamilo/CoreBundle/Entity/Tag.php index 1bbbdfc044..a948def8f6 100644 --- a/src/Chamilo/CoreBundle/Entity/Tag.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/Templates.php b/src/Chamilo/CoreBundle/Entity/Templates.php index d09aedf1ad..bfa1452106 100644 --- a/src/Chamilo/CoreBundle/Entity/Templates.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackCourseRanking.php b/src/Chamilo/CoreBundle/Entity/TrackCourseRanking.php index 09bc7da003..0f5e7fb029 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackCourseRanking.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEAccess.php b/src/Chamilo/CoreBundle/Entity/TrackEAccess.php index 058452d332..42e78a4558 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEAccess.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEAttempt.php b/src/Chamilo/CoreBundle/Entity/TrackEAttempt.php index e521994599..2191cc707f 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEAttempt.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEAttemptCoeff.php b/src/Chamilo/CoreBundle/Entity/TrackEAttemptCoeff.php index 7373b367e9..a5133280dc 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEAttemptCoeff.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEAttemptRecording.php b/src/Chamilo/CoreBundle/Entity/TrackEAttemptRecording.php index 98fc6f52b7..6f03852c47 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEAttemptRecording.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackECourseAccess.php b/src/Chamilo/CoreBundle/Entity/TrackECourseAccess.php index 9ba9d77db2..0dac974899 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackECourseAccess.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEDefault.php b/src/Chamilo/CoreBundle/Entity/TrackEDefault.php index 6c62af6971..26e3655218 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEDefault.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEDownloads.php b/src/Chamilo/CoreBundle/Entity/TrackEDownloads.php index b482d168a0..3c42378bcb 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEDownloads.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEExercises.php b/src/Chamilo/CoreBundle/Entity/TrackEExercises.php index fe20616f78..1dca552c3f 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEExercises.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEHotpotatoes.php b/src/Chamilo/CoreBundle/Entity/TrackEHotpotatoes.php index 7dcefd583b..c128ed933e 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEHotpotatoes.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEHotspot.php b/src/Chamilo/CoreBundle/Entity/TrackEHotspot.php index 99069e8095..8066dc2e53 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEHotspot.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEItemProperty.php b/src/Chamilo/CoreBundle/Entity/TrackEItemProperty.php index ded38ed509..e947fd8778 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEItemProperty.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackELastaccess.php b/src/Chamilo/CoreBundle/Entity/TrackELastaccess.php index e146d59d0b..fdf0b79e61 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackELastaccess.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackELinks.php b/src/Chamilo/CoreBundle/Entity/TrackELinks.php index 594f9071ce..bf395f5069 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackELinks.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackELogin.php b/src/Chamilo/CoreBundle/Entity/TrackELogin.php index c73b38e8ce..fd57268960 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackELogin.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEOnline.php b/src/Chamilo/CoreBundle/Entity/TrackEOnline.php index 6a81c754aa..e08d6139c5 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEOnline.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEOpen.php b/src/Chamilo/CoreBundle/Entity/TrackEOpen.php index 72dac4b12d..a4290e026f 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEOpen.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackEUploads.php b/src/Chamilo/CoreBundle/Entity/TrackEUploads.php index 062b76a6f1..381851cc69 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackEUploads.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackStoredValues.php b/src/Chamilo/CoreBundle/Entity/TrackStoredValues.php index 2a0cbd4538..825aa407f9 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackStoredValues.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/TrackStoredValuesStack.php b/src/Chamilo/CoreBundle/Entity/TrackStoredValuesStack.php index 9c891b36be..c78fadf790 100644 --- a/src/Chamilo/CoreBundle/Entity/TrackStoredValuesStack.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserApiKey.php b/src/Chamilo/CoreBundle/Entity/UserApiKey.php index b8e355e2c9..0bc2f27e14 100644 --- a/src/Chamilo/CoreBundle/Entity/UserApiKey.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserCourseCategory.php b/src/Chamilo/CoreBundle/Entity/UserCourseCategory.php index 4955105bcf..7ba359a9b5 100644 --- a/src/Chamilo/CoreBundle/Entity/UserCourseCategory.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserFriendRelationType.php b/src/Chamilo/CoreBundle/Entity/UserFriendRelationType.php index ae88731300..f1f7adf6f4 100644 --- a/src/Chamilo/CoreBundle/Entity/UserFriendRelationType.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserGroupRelUserGroup.php b/src/Chamilo/CoreBundle/Entity/UserGroupRelUserGroup.php index b0dbb9d9d2..d861b8a772 100644 --- a/src/Chamilo/CoreBundle/Entity/UserGroupRelUserGroup.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserRelCourseVote.php b/src/Chamilo/CoreBundle/Entity/UserRelCourseVote.php index 068d07296f..cc8c669340 100644 --- a/src/Chamilo/CoreBundle/Entity/UserRelCourseVote.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserRelEventType.php b/src/Chamilo/CoreBundle/Entity/UserRelEventType.php index c9fd22c161..c4ef2df9e2 100644 --- a/src/Chamilo/CoreBundle/Entity/UserRelEventType.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserRelTag.php b/src/Chamilo/CoreBundle/Entity/UserRelTag.php index d85eb27e71..962ab91770 100644 --- a/src/Chamilo/CoreBundle/Entity/UserRelTag.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UserRelUser.php b/src/Chamilo/CoreBundle/Entity/UserRelUser.php index 0e76db4539..3aa9f89434 100644 --- a/src/Chamilo/CoreBundle/Entity/UserRelUser.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UsergroupRelCourse.php b/src/Chamilo/CoreBundle/Entity/UsergroupRelCourse.php index bb79225b8b..80b5534950 100644 --- a/src/Chamilo/CoreBundle/Entity/UsergroupRelCourse.php +++ b/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. diff --git a/src/Chamilo/CoreBundle/Entity/UsergroupRelQuestion.php b/src/Chamilo/CoreBundle/Entity/UsergroupRelQuestion.php index 9f1fbf9fef..b72bef5a8d 100644 --- a/src/Chamilo/CoreBundle/Entity/UsergroupRelQuestion.php +++ b/src/Chamilo/CoreBundle/Entity/UsergroupRelQuestion.php @@ -20,35 +20,35 @@ class UsergroupRelQuestion * @ORM\Id * @ORM\GeneratedValue */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer", nullable=false) */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="question_id", type="integer", nullable=false) */ - private $questionId; + protected $questionId; /** * @var int * * @ORM\Column(name="usergroup_id", type="integer", nullable=false) */ - private $usergroupId; + protected $usergroupId; /** * @var float * * @ORM\Column(name="coefficient", type="float", precision=6, scale=2, nullable=true) */ - private $coefficient; + protected $coefficient; /** * Set cId. diff --git a/src/Chamilo/CoreBundle/Entity/UsergroupRelSession.php b/src/Chamilo/CoreBundle/Entity/UsergroupRelSession.php index 6f8017eb6a..782026b957 100644 --- a/src/Chamilo/CoreBundle/Entity/UsergroupRelSession.php +++ b/src/Chamilo/CoreBundle/Entity/UsergroupRelSession.php @@ -20,21 +20,21 @@ class UsergroupRelSession * @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="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * Set usergroupId. diff --git a/src/Chamilo/CoreBundle/Entity/UsergroupRelUser.php b/src/Chamilo/CoreBundle/Entity/UsergroupRelUser.php index 3602b16c74..38a9f5a3f4 100644 --- a/src/Chamilo/CoreBundle/Entity/UsergroupRelUser.php +++ b/src/Chamilo/CoreBundle/Entity/UsergroupRelUser.php @@ -50,7 +50,7 @@ class UsergroupRelUser * * @ORM\Column(name="relation_type", type="integer", nullable=false) */ - private $relationType; + protected $relationType; /** * Get id. diff --git a/src/Chamilo/CourseBundle/Entity/CAnnouncement.php b/src/Chamilo/CourseBundle/Entity/CAnnouncement.php index 8446086017..89d628c9db 100644 --- a/src/Chamilo/CourseBundle/Entity/CAnnouncement.php +++ b/src/Chamilo/CourseBundle/Entity/CAnnouncement.php @@ -26,63 +26,63 @@ class CAnnouncement * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="title", type="text", nullable=true) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="content", type="text", nullable=true) */ - private $content; + protected $content; /** * @var \DateTime * * @ORM\Column(name="end_date", type="date", nullable=true) */ - private $endDate; + protected $endDate; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false) */ - private $displayOrder; + protected $displayOrder; /** * @var bool * * @ORM\Column(name="email_sent", type="boolean", nullable=true) */ - private $emailSent; + protected $emailSent; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CAnnouncementAttachment.php b/src/Chamilo/CourseBundle/Entity/CAnnouncementAttachment.php index 93131ac370..d6f1670be1 100644 --- a/src/Chamilo/CourseBundle/Entity/CAnnouncementAttachment.php +++ b/src/Chamilo/CourseBundle/Entity/CAnnouncementAttachment.php @@ -25,56 +25,56 @@ class CAnnouncementAttachment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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="announcement_id", type="integer", nullable=false) */ - private $announcementId; + protected $announcementId; /** * @var string * * @ORM\Column(name="filename", type="string", length=255, nullable=false) */ - private $filename; + protected $filename; /** * Set path. diff --git a/src/Chamilo/CourseBundle/Entity/CAttendance.php b/src/Chamilo/CourseBundle/Entity/CAttendance.php index 466e324929..6477e8c960 100644 --- a/src/Chamilo/CourseBundle/Entity/CAttendance.php +++ b/src/Chamilo/CourseBundle/Entity/CAttendance.php @@ -27,77 +27,77 @@ class CAttendance * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - 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 bool * * @ORM\Column(name="active", type="boolean", nullable=false) */ - private $active; + protected $active; /** * @var string * * @ORM\Column(name="attendance_qualify_title", type="string", length=255, nullable=true) */ - private $attendanceQualifyTitle; + protected $attendanceQualifyTitle; /** * @var int * * @ORM\Column(name="attendance_qualify_max", type="integer", nullable=false) */ - private $attendanceQualifyMax; + protected $attendanceQualifyMax; /** * @var float * * @ORM\Column(name="attendance_weight", type="float", precision=6, scale=2, nullable=false) */ - private $attendanceWeight; + protected $attendanceWeight; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="locked", type="integer", nullable=false) */ - private $locked; + protected $locked; /** * Set name. diff --git a/src/Chamilo/CourseBundle/Entity/CAttendanceCalendar.php b/src/Chamilo/CourseBundle/Entity/CAttendanceCalendar.php index 8ee9613f51..4837eba986 100644 --- a/src/Chamilo/CourseBundle/Entity/CAttendanceCalendar.php +++ b/src/Chamilo/CourseBundle/Entity/CAttendanceCalendar.php @@ -27,42 +27,42 @@ class CAttendanceCalendar * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="attendance_id", type="integer", nullable=false) */ - private $attendanceId; + protected $attendanceId; /** * @var \DateTime * * @ORM\Column(name="date_time", type="datetime", nullable=false) */ - private $dateTime; + protected $dateTime; /** * @var bool * * @ORM\Column(name="done_attendance", type="boolean", nullable=false) */ - private $doneAttendance; + protected $doneAttendance; /** * Set attendanceId. diff --git a/src/Chamilo/CourseBundle/Entity/CAttendanceCalendarRelGroup.php b/src/Chamilo/CourseBundle/Entity/CAttendanceCalendarRelGroup.php index 35c8faeb6b..89bb6dba99 100644 --- a/src/Chamilo/CourseBundle/Entity/CAttendanceCalendarRelGroup.php +++ b/src/Chamilo/CourseBundle/Entity/CAttendanceCalendarRelGroup.php @@ -26,35 +26,35 @@ class CAttendanceCalendarRelGroup * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=false) */ - private $groupId; + protected $groupId; /** * @var int * * @ORM\Column(name="calendar_id", type="integer", nullable=false) */ - private $calendarId; + protected $calendarId; /** * Set cId. diff --git a/src/Chamilo/CourseBundle/Entity/CAttendanceResult.php b/src/Chamilo/CourseBundle/Entity/CAttendanceResult.php index 6795c94e89..2c2bedb779 100644 --- a/src/Chamilo/CourseBundle/Entity/CAttendanceResult.php +++ b/src/Chamilo/CourseBundle/Entity/CAttendanceResult.php @@ -27,42 +27,42 @@ class CAttendanceResult * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="attendance_id", type="integer", nullable=false) */ - private $attendanceId; + protected $attendanceId; /** * @var int * * @ORM\Column(name="score", type="integer", nullable=false) */ - private $score; + protected $score; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CAttendanceSheet.php b/src/Chamilo/CourseBundle/Entity/CAttendanceSheet.php index e441204531..7935891b63 100644 --- a/src/Chamilo/CourseBundle/Entity/CAttendanceSheet.php +++ b/src/Chamilo/CourseBundle/Entity/CAttendanceSheet.php @@ -27,35 +27,35 @@ class CAttendanceSheet * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var bool * * @ORM\Column(name="presence", type="boolean", nullable=false) */ - private $presence; + protected $presence; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="attendance_calendar_id", type="integer") */ - private $attendanceCalendarId; + protected $attendanceCalendarId; /** * Set presence. diff --git a/src/Chamilo/CourseBundle/Entity/CAttendanceSheetLog.php b/src/Chamilo/CourseBundle/Entity/CAttendanceSheetLog.php index 5904353619..1e56f62f62 100644 --- a/src/Chamilo/CourseBundle/Entity/CAttendanceSheetLog.php +++ b/src/Chamilo/CourseBundle/Entity/CAttendanceSheetLog.php @@ -25,56 +25,56 @@ class CAttendanceSheetLog * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="attendance_id", type="integer", nullable=false) */ - private $attendanceId; + protected $attendanceId; /** * @var \DateTime * * @ORM\Column(name="lastedit_date", type="datetime", nullable=false) */ - private $lasteditDate; + protected $lasteditDate; /** * @var string * * @ORM\Column(name="lastedit_type", type="string", length=200, nullable=false) */ - private $lasteditType; + protected $lasteditType; /** * @var int * * @ORM\Column(name="lastedit_user_id", type="integer", nullable=false) */ - private $lasteditUserId; + protected $lasteditUserId; /** * @var \DateTime * * @ORM\Column(name="calendar_date_value", type="datetime", nullable=true) */ - private $calendarDateValue; + protected $calendarDateValue; /** * Set attendanceId. diff --git a/src/Chamilo/CourseBundle/Entity/CBlog.php b/src/Chamilo/CourseBundle/Entity/CBlog.php index 818fe65331..fbe2433b8c 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlog.php +++ b/src/Chamilo/CourseBundle/Entity/CBlog.php @@ -26,56 +26,56 @@ class CBlog * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="blog_id", type="integer") */ - private $blogId; + protected $blogId; /** * @var string * * @ORM\Column(name="blog_name", type="string", length=250, nullable=false) */ - private $blogName; + protected $blogName; /** * @var string * * @ORM\Column(name="blog_subtitle", type="string", length=250, nullable=true) */ - private $blogSubtitle; + protected $blogSubtitle; /** * @var \DateTime * * @ORM\Column(name="date_creation", type="datetime", nullable=false) */ - private $dateCreation; + protected $dateCreation; /** * @var bool * * @ORM\Column(name="visibility", type="boolean", nullable=false) */ - private $visibility; + protected $visibility; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set blogName. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogAttachment.php b/src/Chamilo/CourseBundle/Entity/CBlogAttachment.php index 51c80075a3..dfd2e2d4a1 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogAttachment.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogAttachment.php @@ -25,70 +25,70 @@ class CBlogAttachment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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="post_id", type="integer", nullable=false) */ - private $postId; + protected $postId; /** * @var string * * @ORM\Column(name="filename", type="string", length=255, nullable=false) */ - private $filename; + protected $filename; /** * @var int * * @ORM\Column(name="blog_id", type="integer", nullable=false) */ - private $blogId; + protected $blogId; /** * @var int * * @ORM\Column(name="comment_id", type="integer", nullable=false) */ - private $commentId; + protected $commentId; /** * Set path. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogComment.php b/src/Chamilo/CourseBundle/Entity/CBlogComment.php index f7b2dd9c7b..99e401d8b0 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogComment.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogComment.php @@ -25,77 +25,77 @@ class CBlogComment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="comment_id", type="integer") */ - private $commentId; + protected $commentId; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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 int * * @ORM\Column(name="author_id", type="integer", nullable=false) */ - private $authorId; + protected $authorId; /** * @var \DateTime * * @ORM\Column(name="date_creation", type="datetime", nullable=false) */ - private $dateCreation; + protected $dateCreation; /** * @var int * * @ORM\Column(name="blog_id", type="integer", nullable=false) */ - private $blogId; + protected $blogId; /** * @var int * * @ORM\Column(name="post_id", type="integer", nullable=false) */ - private $postId; + protected $postId; /** * @var int * * @ORM\Column(name="task_id", type="integer", nullable=true) */ - private $taskId; + protected $taskId; /** * @var int * * @ORM\Column(name="parent_comment_id", type="integer", nullable=false) */ - private $parentCommentId; + protected $parentCommentId; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogPost.php b/src/Chamilo/CourseBundle/Entity/CBlogPost.php index 4a17f8c40f..9ac2e0ad79 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogPost.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogPost.php @@ -24,56 +24,56 @@ class CBlogPost * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="blog_id", type="integer", nullable=false) */ - private $blogId; + protected $blogId; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="title", type="string", length=250, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="full_text", type="text", nullable=false) */ - private $fullText; + protected $fullText; /** * @var \DateTime * * @ORM\Column(name="date_creation", type="datetime", nullable=false) */ - private $dateCreation; + protected $dateCreation; /** * @var int * * @ORM\Column(name="author_id", type="integer", nullable=false) */ - private $authorId; + protected $authorId; /** * @var int * * @ORM\Column(name="post_id", type="integer") */ - private $postId; + protected $postId; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogRating.php b/src/Chamilo/CourseBundle/Entity/CBlogRating.php index 4f1a3d54bd..9cecac029e 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogRating.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogRating.php @@ -25,56 +25,56 @@ class CBlogRating * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="rating_id", type="integer") */ - private $ratingId; + protected $ratingId; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="blog_id", type="integer", nullable=false) */ - private $blogId; + protected $blogId; /** * @var string * * @ORM\Column(name="rating_type", type="string", length=40, nullable=false) */ - private $ratingType; + protected $ratingType; /** * @var int * * @ORM\Column(name="item_id", type="integer", nullable=false) */ - private $itemId; + protected $itemId; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="rating", type="integer", nullable=false) */ - private $rating; + protected $rating; /** * Set blogId. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogRelUser.php b/src/Chamilo/CourseBundle/Entity/CBlogRelUser.php index 76bc23a3de..339cde6675 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogRelUser.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogRelUser.php @@ -25,28 +25,28 @@ class CBlogRelUser * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="blog_id", type="integer") */ - private $blogId; + protected $blogId; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * Set cId. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogTask.php b/src/Chamilo/CourseBundle/Entity/CBlogTask.php index 77b71ba763..e034ee73b7 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogTask.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogTask.php @@ -25,56 +25,56 @@ class CBlogTask * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="task_id", type="integer") */ - private $taskId; + protected $taskId; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="blog_id", type="integer", nullable=false) */ - private $blogId; + protected $blogId; /** * @var string * * @ORM\Column(name="title", type="string", length=250, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=false) */ - private $description; + protected $description; /** * @var string * * @ORM\Column(name="color", type="string", length=10, nullable=false) */ - private $color; + protected $color; /** * @var bool * * @ORM\Column(name="system_task", type="boolean", nullable=false) */ - private $systemTask; + protected $systemTask; /** * Set blogId. diff --git a/src/Chamilo/CourseBundle/Entity/CBlogTaskRelUser.php b/src/Chamilo/CourseBundle/Entity/CBlogTaskRelUser.php index ab66ed3a24..8477422f54 100644 --- a/src/Chamilo/CourseBundle/Entity/CBlogTaskRelUser.php +++ b/src/Chamilo/CourseBundle/Entity/CBlogTaskRelUser.php @@ -27,42 +27,42 @@ class CBlogTaskRelUser * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="blog_id", type="integer") */ - private $blogId; + protected $blogId; /** * @var \DateTime * * @ORM\Column(name="target_date", type="date", nullable=false) */ - private $targetDate; + protected $targetDate; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="task_id", type="integer") */ - private $taskId; + protected $taskId; /** * Set targetDate. diff --git a/src/Chamilo/CourseBundle/Entity/CCalendarEvent.php b/src/Chamilo/CourseBundle/Entity/CCalendarEvent.php index c1e470c134..35fde5e986 100644 --- a/src/Chamilo/CourseBundle/Entity/CCalendarEvent.php +++ b/src/Chamilo/CourseBundle/Entity/CCalendarEvent.php @@ -26,84 +26,84 @@ class CCalendarEvent * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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=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="parent_event_id", type="integer", nullable=true) */ - private $parentEventId; + protected $parentEventId; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="all_day", type="integer", nullable=false) */ - private $allDay; + protected $allDay; /** * @var string * * @ORM\Column(name="comment", type="text", nullable=true) */ - private $comment; + protected $comment; /** * @var string * * @ORM\Column(name="color", type="string", length=100, nullable=true) */ - private $color; + protected $color; /** * @var Room @@ -111,7 +111,7 @@ class CCalendarEvent * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Room") * @ORM\JoinColumn(name="room_id", referencedColumnName="id") */ - private $room; + protected $room; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CCalendarEventAttachment.php b/src/Chamilo/CourseBundle/Entity/CCalendarEventAttachment.php index 77b9160bd7..709184d5cc 100644 --- a/src/Chamilo/CourseBundle/Entity/CCalendarEventAttachment.php +++ b/src/Chamilo/CourseBundle/Entity/CCalendarEventAttachment.php @@ -25,56 +25,56 @@ class CCalendarEventAttachment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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="agenda_id", type="integer", nullable=false) */ - private $agendaId; + protected $agendaId; /** * @var string * * @ORM\Column(name="filename", type="string", length=255, nullable=false) */ - private $filename; + protected $filename; /** * Set path. diff --git a/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeat.php b/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeat.php index 2df4aab124..b09da02e6c 100644 --- a/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeat.php +++ b/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeat.php @@ -25,49 +25,49 @@ class CCalendarEventRepeat * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="cal_id", type="integer") */ - private $calId; + protected $calId; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @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; /** * Set calType. diff --git a/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeatNot.php b/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeatNot.php index 6f61ba86d2..ec942d2524 100644 --- a/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeatNot.php +++ b/src/Chamilo/CourseBundle/Entity/CCalendarEventRepeatNot.php @@ -25,28 +25,28 @@ class CCalendarEventRepeatNot * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="cal_id", type="integer") */ - private $calId; + protected $calId; /** * @var int * * @ORM\Column(name="cal_date", type="integer") */ - private $calDate; + protected $calDate; /** * Set cId. diff --git a/src/Chamilo/CourseBundle/Entity/CChatConnected.php b/src/Chamilo/CourseBundle/Entity/CChatConnected.php index 620eeec79a..6ecefa60ef 100644 --- a/src/Chamilo/CourseBundle/Entity/CChatConnected.php +++ b/src/Chamilo/CourseBundle/Entity/CChatConnected.php @@ -27,49 +27,49 @@ class CChatConnected * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - 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", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="to_group_id", type="integer", nullable=false) */ - private $toGroupId; + protected $toGroupId; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * @var \DateTime * * @ORM\Column(name="last_connection", type="datetime") */ - private $lastConnection; + protected $lastConnection; /** * Set sessionId. diff --git a/src/Chamilo/CourseBundle/Entity/CCourseDescription.php b/src/Chamilo/CourseBundle/Entity/CCourseDescription.php index 24349b07b9..c140e675d1 100644 --- a/src/Chamilo/CourseBundle/Entity/CCourseDescription.php +++ b/src/Chamilo/CourseBundle/Entity/CCourseDescription.php @@ -29,56 +29,56 @@ class CCourseDescription * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="description_type", type="integer", nullable=false) */ - private $descriptionType; + protected $descriptionType; /** * @var int * * @ORM\Column(name="progress", type="integer", nullable=false) */ - private $progress; + protected $progress; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CCourseSetting.php b/src/Chamilo/CourseBundle/Entity/CCourseSetting.php index 741a3ce58b..50577716c6 100644 --- a/src/Chamilo/CourseBundle/Entity/CCourseSetting.php +++ b/src/Chamilo/CourseBundle/Entity/CCourseSetting.php @@ -25,77 +25,77 @@ class CCourseSetting * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="variable", type="string", length=255, nullable=false) */ - 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="value", type="text", nullable=true) */ - private $value; + protected $value; /** * @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="subkeytext", type="string", length=255, nullable=true) */ - private $subkeytext; + protected $subkeytext; /** * Set variable. diff --git a/src/Chamilo/CourseBundle/Entity/CDocument.php b/src/Chamilo/CourseBundle/Entity/CDocument.php index 5e720f212f..f65081b386 100644 --- a/src/Chamilo/CourseBundle/Entity/CDocument.php +++ b/src/Chamilo/CourseBundle/Entity/CDocument.php @@ -25,70 +25,70 @@ class CDocument * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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 string * * @ORM\Column(name="title", type="string", length=255, nullable=true) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="filetype", type="string", length=10, nullable=false) */ - private $filetype; + protected $filetype; /** * @var int * * @ORM\Column(name="size", type="integer", nullable=false) */ - private $size; + protected $size; /** * @var bool * * @ORM\Column(name="readonly", type="boolean", nullable=false) */ - private $readonly; + protected $readonly; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * Set path. diff --git a/src/Chamilo/CourseBundle/Entity/CDropboxCategory.php b/src/Chamilo/CourseBundle/Entity/CDropboxCategory.php index 05c003e5a6..20559dfefb 100644 --- a/src/Chamilo/CourseBundle/Entity/CDropboxCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CDropboxCategory.php @@ -26,56 +26,56 @@ class CDropboxCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="cat_id", type="integer") */ - private $catId; + protected $catId; /** * @var string * * @ORM\Column(name="cat_name", type="text", nullable=false) */ - private $catName; + protected $catName; /** * @var bool * * @ORM\Column(name="received", type="boolean", nullable=false) */ - private $received; + protected $received; /** * @var bool * * @ORM\Column(name="sent", type="boolean", nullable=false) */ - private $sent; + protected $sent; /** * @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; /** * Set catName. diff --git a/src/Chamilo/CourseBundle/Entity/CDropboxFeedback.php b/src/Chamilo/CourseBundle/Entity/CDropboxFeedback.php index 4564ee2897..75ffa27800 100644 --- a/src/Chamilo/CourseBundle/Entity/CDropboxFeedback.php +++ b/src/Chamilo/CourseBundle/Entity/CDropboxFeedback.php @@ -27,49 +27,49 @@ class CDropboxFeedback * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="feedback_id", type="integer") */ - private $feedbackId; + protected $feedbackId; /** * @var int * * @ORM\Column(name="file_id", type="integer", nullable=false) */ - private $fileId; + protected $fileId; /** * @var int * * @ORM\Column(name="author_user_id", type="integer", nullable=false) */ - private $authorUserId; + protected $authorUserId; /** * @var string * * @ORM\Column(name="feedback", type="text", nullable=false) */ - private $feedback; + protected $feedback; /** * @var \DateTime * * @ORM\Column(name="feedback_date", type="datetime", nullable=false) */ - private $feedbackDate; + protected $feedbackDate; /** * Set fileId. diff --git a/src/Chamilo/CourseBundle/Entity/CDropboxFile.php b/src/Chamilo/CourseBundle/Entity/CDropboxFile.php index 1ce552b24a..98bae21f82 100644 --- a/src/Chamilo/CourseBundle/Entity/CDropboxFile.php +++ b/src/Chamilo/CourseBundle/Entity/CDropboxFile.php @@ -29,91 +29,91 @@ class CDropboxFile * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="uploader_id", type="integer", nullable=false) */ - private $uploaderId; + protected $uploaderId; /** * @var string * * @ORM\Column(name="filename", type="string", length=250, nullable=false) */ - private $filename; + protected $filename; /** * @var int * * @ORM\Column(name="filesize", type="integer", nullable=false) */ - private $filesize; + protected $filesize; /** * @var string * * @ORM\Column(name="title", type="string", length=250, nullable=true) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="string", length=250, nullable=true) */ - private $description; + protected $description; /** * @var string * * @ORM\Column(name="author", type="string", length=250, nullable=true) */ - private $author; + protected $author; /** * @var \DateTime * * @ORM\Column(name="upload_date", type="datetime", nullable=false) */ - private $uploadDate; + protected $uploadDate; /** * @var \DateTime * * @ORM\Column(name="last_upload_date", type="datetime", nullable=false) */ - private $lastUploadDate; + protected $lastUploadDate; /** * @var int * * @ORM\Column(name="cat_id", type="integer", nullable=false) */ - private $catId; + protected $catId; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * Set uploaderId. diff --git a/src/Chamilo/CourseBundle/Entity/CDropboxPerson.php b/src/Chamilo/CourseBundle/Entity/CDropboxPerson.php index 85d19141c7..1766db5cee 100644 --- a/src/Chamilo/CourseBundle/Entity/CDropboxPerson.php +++ b/src/Chamilo/CourseBundle/Entity/CDropboxPerson.php @@ -26,28 +26,28 @@ class CDropboxPerson * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="file_id", type="integer") */ - private $fileId; + protected $fileId; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * Set cId. diff --git a/src/Chamilo/CourseBundle/Entity/CDropboxPost.php b/src/Chamilo/CourseBundle/Entity/CDropboxPost.php index 9bb8644141..0a860d24ce 100644 --- a/src/Chamilo/CourseBundle/Entity/CDropboxPost.php +++ b/src/Chamilo/CourseBundle/Entity/CDropboxPost.php @@ -27,56 +27,56 @@ class CDropboxPost * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var \DateTime * * @ORM\Column(name="feedback_date", type="datetime", nullable=false) */ - private $feedbackDate; + protected $feedbackDate; /** * @var string * * @ORM\Column(name="feedback", type="text", nullable=true) */ - private $feedback; + protected $feedback; /** * @var int * * @ORM\Column(name="cat_id", type="integer", nullable=false) */ - private $catId; + protected $catId; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="file_id", type="integer") */ - private $fileId; + protected $fileId; /** * @var int * * @ORM\Column(name="dest_user_id", type="integer") */ - private $destUserId; + protected $destUserId; /** * Set feedbackDate. diff --git a/src/Chamilo/CourseBundle/Entity/CForumAttachment.php b/src/Chamilo/CourseBundle/Entity/CForumAttachment.php index 3e65c1c9ca..bd965895d7 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumAttachment.php +++ b/src/Chamilo/CourseBundle/Entity/CForumAttachment.php @@ -25,56 +25,56 @@ class CForumAttachment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @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="post_id", type="integer", nullable=false) */ - private $postId; + protected $postId; /** * @var string * * @ORM\Column(name="filename", type="string", length=255, nullable=false) */ - private $filename; + protected $filename; /** * Set path. diff --git a/src/Chamilo/CourseBundle/Entity/CForumCategory.php b/src/Chamilo/CourseBundle/Entity/CForumCategory.php index 23d9ba92e2..deef3937b4 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CForumCategory.php @@ -26,56 +26,56 @@ class CForumCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="cat_title", type="string", length=255, nullable=false) */ - private $catTitle; + protected $catTitle; /** * @var string * * @ORM\Column(name="cat_comment", type="text", nullable=true) */ - private $catComment; + protected $catComment; /** * @var int * * @ORM\Column(name="cat_order", type="integer", nullable=false) */ - private $catOrder; + protected $catOrder; /** * @var int * * @ORM\Column(name="locked", type="integer", nullable=false) */ - private $locked; + protected $locked; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="cat_id", type="integer") */ - private $catId; + protected $catId; /** * Set catTitle. diff --git a/src/Chamilo/CourseBundle/Entity/CForumForum.php b/src/Chamilo/CourseBundle/Entity/CForumForum.php index 9ba09d05ea..f0e92004cf 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumForum.php +++ b/src/Chamilo/CourseBundle/Entity/CForumForum.php @@ -25,175 +25,175 @@ class CForumForum * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="forum_id", type="integer") */ - private $forumId; + protected $forumId; /** * @var string * * @ORM\Column(name="forum_title", type="string", length=255, nullable=false) */ - private $forumTitle; + protected $forumTitle; /** * @var string * * @ORM\Column(name="forum_comment", type="text", nullable=true) */ - private $forumComment; + protected $forumComment; /** * @var int * * @ORM\Column(name="forum_threads", type="integer", nullable=true) */ - private $forumThreads; + protected $forumThreads; /** * @var int * * @ORM\Column(name="forum_posts", type="integer", nullable=true) */ - private $forumPosts; + protected $forumPosts; /** * @var int * * @ORM\Column(name="forum_last_post", type="integer", nullable=true) */ - private $forumLastPost; + protected $forumLastPost; /** * @var int * * @ORM\Column(name="forum_category", type="integer", nullable=true) */ - private $forumCategory; + protected $forumCategory; /** * @var int * * @ORM\Column(name="allow_anonymous", type="integer", nullable=true) */ - private $allowAnonymous; + protected $allowAnonymous; /** * @var int * * @ORM\Column(name="allow_edit", type="integer", nullable=true) */ - private $allowEdit; + protected $allowEdit; /** * @var string * * @ORM\Column(name="approval_direct_post", type="string", length=20, nullable=true) */ - private $approvalDirectPost; + protected $approvalDirectPost; /** * @var int * * @ORM\Column(name="allow_attachments", type="integer", nullable=true) */ - private $allowAttachments; + protected $allowAttachments; /** * @var int * * @ORM\Column(name="allow_new_threads", type="integer", nullable=true) */ - private $allowNewThreads; + protected $allowNewThreads; /** * @var string * * @ORM\Column(name="default_view", type="string", length=20, nullable=true) */ - private $defaultView; + protected $defaultView; /** * @var string * * @ORM\Column(name="forum_of_group", type="string", length=20, nullable=true) */ - private $forumOfGroup; + protected $forumOfGroup; /** * @var string * - * @ORM\Column(name="forum_group_public_private", type="string", length=20, nullable=true) + * @ORM\Column(name="forum_group_public_protected", type="string", length=20, nullable=true) */ - private $forumGroupPublicPrivate; + protected $forumGroupPublicprotected; /** * @var int * * @ORM\Column(name="forum_order", type="integer", nullable=true) */ - private $forumOrder; + protected $forumOrder; /** * @var int * * @ORM\Column(name="locked", type="integer", nullable=false) */ - private $locked; + protected $locked; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var string * * @ORM\Column(name="forum_image", type="string", length=255, nullable=false) */ - private $forumImage; + protected $forumImage; /** * @var \DateTime * * @ORM\Column(name="start_time", type="datetime", nullable=true) */ - private $startTime; + protected $startTime; /** * @var \DateTime * * @ORM\Column(name="end_time", type="datetime", nullable=true) */ - private $endTime; + protected $endTime; /** * @var int * * @ORM\Column(name="lp_id", type="integer", options={"unsigned":true}) */ - private $lpId; + protected $lpId; /** * @var bool * * @ORM\Column(name="moderated", type="boolean", nullable=true) */ - private $moderated; + protected $moderated; /** * Set forumTitle. @@ -508,27 +508,27 @@ class CForumForum } /** - * Set forumGroupPublicPrivate. + * Set forumGroupPublicprotected. * - * @param string $forumGroupPublicPrivate + * @param string $forumGroupPublicprotected * * @return CForumForum */ - public function setForumGroupPublicPrivate($forumGroupPublicPrivate) + public function setForumGroupPublicprotected($forumGroupPublicprotected) { - $this->forumGroupPublicPrivate = $forumGroupPublicPrivate; + $this->forumGroupPublicprotected = $forumGroupPublicprotected; return $this; } /** - * Get forumGroupPublicPrivate. + * Get forumGroupPublicprotected. * * @return string */ - public function getForumGroupPublicPrivate() + public function getForumGroupPublicprotected() { - return $this->forumGroupPublicPrivate; + return $this->forumGroupPublicprotected; } /** diff --git a/src/Chamilo/CourseBundle/Entity/CForumMailcue.php b/src/Chamilo/CourseBundle/Entity/CForumMailcue.php index 531824e95e..b773537c5c 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumMailcue.php +++ b/src/Chamilo/CourseBundle/Entity/CForumMailcue.php @@ -28,42 +28,42 @@ class CForumMailcue * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="thread_id", type="integer") */ - private $threadId; + protected $threadId; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="post_id", type="integer") */ - private $postId; + protected $postId; /** * Set id. diff --git a/src/Chamilo/CourseBundle/Entity/CForumNotification.php b/src/Chamilo/CourseBundle/Entity/CForumNotification.php index d667be1014..41c1bd20fb 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumNotification.php +++ b/src/Chamilo/CourseBundle/Entity/CForumNotification.php @@ -29,49 +29,49 @@ class CForumNotification * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="forum_id", type="integer") */ - private $forumId; + protected $forumId; /** * @var int * * @ORM\Column(name="thread_id", type="integer") */ - private $threadId; + protected $threadId; /** * @var int * * @ORM\Column(name="post_id", type="integer") */ - private $postId; + protected $postId; /** * Set id. diff --git a/src/Chamilo/CourseBundle/Entity/CForumPost.php b/src/Chamilo/CourseBundle/Entity/CForumPost.php index 53664c3adc..9ea96a73dc 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumPost.php +++ b/src/Chamilo/CourseBundle/Entity/CForumPost.php @@ -33,98 +33,98 @@ class CForumPost * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="post_id", type="integer") */ - private $postId; + protected $postId; /** * @var string * * @ORM\Column(name="post_title", type="string", length=250, nullable=true) */ - private $postTitle; + protected $postTitle; /** * @var string * * @ORM\Column(name="post_text", type="text", nullable=true) */ - private $postText; + protected $postText; /** * @var int * * @ORM\Column(name="thread_id", type="integer", nullable=true) */ - private $threadId; + protected $threadId; /** * @var int * * @ORM\Column(name="forum_id", type="integer", nullable=true) */ - private $forumId; + protected $forumId; /** * @var int * * @ORM\Column(name="poster_id", type="integer", nullable=true) */ - private $posterId; + protected $posterId; /** * @var string * * @ORM\Column(name="poster_name", type="string", length=100, nullable=true) */ - private $posterName; + protected $posterName; /** * @var \DateTime * * @ORM\Column(name="post_date", type="datetime", nullable=true) */ - private $postDate; + protected $postDate; /** * @var bool * * @ORM\Column(name="post_notification", type="boolean", nullable=true) */ - private $postNotification; + protected $postNotification; /** * @var int * * @ORM\Column(name="post_parent_id", type="integer", nullable=true) */ - private $postParentId; + protected $postParentId; /** * @var bool * * @ORM\Column(name="visible", type="boolean", nullable=true) */ - private $visible; + protected $visible; /** * @var int * * @ORM\Column(name="status", type="integer", nullable=true) */ - private $status; + protected $status; /** * Set postTitle. diff --git a/src/Chamilo/CourseBundle/Entity/CForumThread.php b/src/Chamilo/CourseBundle/Entity/CForumThread.php index 3b35233313..4b5448317f 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumThread.php +++ b/src/Chamilo/CourseBundle/Entity/CForumThread.php @@ -26,140 +26,140 @@ class CForumThread * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="thread_id", type="integer") */ - private $threadId; + protected $threadId; /** * @var string * * @ORM\Column(name="thread_title", type="string", length=255, nullable=true) */ - private $threadTitle; + protected $threadTitle; /** * @var int * * @ORM\Column(name="forum_id", type="integer", nullable=true) */ - private $forumId; + protected $forumId; /** * @var int * * @ORM\Column(name="thread_replies", type="integer", nullable=false, options={"unsigned":true, "default" = 0}) */ - private $threadReplies; + protected $threadReplies; /** * @var int * * @ORM\Column(name="thread_poster_id", type="integer", nullable=true) */ - private $threadPosterId; + protected $threadPosterId; /** * @var string * * @ORM\Column(name="thread_poster_name", type="string", length=100, nullable=true) */ - private $threadPosterName; + protected $threadPosterName; /** * @var int * * @ORM\Column(name="thread_views", type="integer", nullable=false, options={"unsigned":true, "default" = 0}) */ - private $threadViews; + protected $threadViews; /** * @var int * * @ORM\Column(name="thread_last_post", type="integer", nullable=true) */ - private $threadLastPost; + protected $threadLastPost; /** * @var \DateTime * * @ORM\Column(name="thread_date", type="datetime", nullable=true) */ - private $threadDate; + protected $threadDate; /** * @var bool * * @ORM\Column(name="thread_sticky", type="boolean", nullable=true) */ - private $threadSticky; + protected $threadSticky; /** * @var int * * @ORM\Column(name="locked", type="integer", nullable=false) */ - private $locked; + protected $locked; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * @var string * * @ORM\Column(name="thread_title_qualify", type="string", length=255, nullable=true) */ - private $threadTitleQualify; + protected $threadTitleQualify; /** * @var float * * @ORM\Column(name="thread_qualify_max", type="float", precision=6, scale=2, nullable=false) */ - private $threadQualifyMax; + protected $threadQualifyMax; /** * @var \DateTime * * @ORM\Column(name="thread_close_date", type="datetime", nullable=true) */ - private $threadCloseDate; + protected $threadCloseDate; /** * @var float * * @ORM\Column(name="thread_weight", type="float", precision=6, scale=2, nullable=false) */ - private $threadWeight; + protected $threadWeight; /** * @var bool * * @ORM\Column(name="thread_peer_qualify", type="boolean") */ - private $threadPeerQualify; + protected $threadPeerQualify; /** * @var int * * @ORM\Column(name="lp_item_id", type="integer", options={"unsigned":true}) */ - private $lpItemId; + protected $lpItemId; /** * Constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CForumThreadQualify.php b/src/Chamilo/CourseBundle/Entity/CForumThreadQualify.php index 8733e211f5..441b6e88c8 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumThreadQualify.php +++ b/src/Chamilo/CourseBundle/Entity/CForumThreadQualify.php @@ -26,63 +26,63 @@ class CForumThreadQualify * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="thread_id", type="integer", nullable=false) */ - private $threadId; + protected $threadId; /** * @var float * * @ORM\Column(name="qualify", type="float", precision=6, scale=2, nullable=false) */ - private $qualify; + protected $qualify; /** * @var int * * @ORM\Column(name="qualify_user_id", type="integer", nullable=true) */ - private $qualifyUserId; + protected $qualifyUserId; /** * @var \DateTime * * @ORM\Column(name="qualify_time", type="datetime", nullable=true) */ - private $qualifyTime; + protected $qualifyTime; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CForumThreadQualifyLog.php b/src/Chamilo/CourseBundle/Entity/CForumThreadQualifyLog.php index 349406a1bc..4961a28721 100644 --- a/src/Chamilo/CourseBundle/Entity/CForumThreadQualifyLog.php +++ b/src/Chamilo/CourseBundle/Entity/CForumThreadQualifyLog.php @@ -26,63 +26,63 @@ class CForumThreadQualifyLog * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="thread_id", type="integer", nullable=false) */ - private $threadId; + protected $threadId; /** * @var float * * @ORM\Column(name="qualify", type="float", precision=6, scale=2, nullable=false) */ - private $qualify; + protected $qualify; /** * @var int * * @ORM\Column(name="qualify_user_id", type="integer", nullable=true) */ - private $qualifyUserId; + protected $qualifyUserId; /** * @var \DateTime * * @ORM\Column(name="qualify_time", type="datetime", nullable=true) */ - private $qualifyTime; + protected $qualifyTime; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CGlossary.php b/src/Chamilo/CourseBundle/Entity/CGlossary.php index abb6b511fe..df54db8d8b 100644 --- a/src/Chamilo/CourseBundle/Entity/CGlossary.php +++ b/src/Chamilo/CourseBundle/Entity/CGlossary.php @@ -26,49 +26,49 @@ class CGlossary * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="glossary_id", type="integer") */ - private $glossaryId; + protected $glossaryId; /** * @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="display_order", type="integer", nullable=true) */ - private $displayOrder; + protected $displayOrder; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set name. diff --git a/src/Chamilo/CourseBundle/Entity/CGroupCategory.php b/src/Chamilo/CourseBundle/Entity/CGroupCategory.php index da85a7a87a..05bd027df6 100644 --- a/src/Chamilo/CourseBundle/Entity/CGroupCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CGroupCategory.php @@ -25,119 +25,119 @@ class CGroupCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=false) */ - private $description; + protected $description; /** * @var bool * * @ORM\Column(name="doc_state", type="boolean", nullable=false) */ - private $docState; + protected $docState; /** * @var bool * * @ORM\Column(name="calendar_state", type="boolean", nullable=false) */ - private $calendarState; + protected $calendarState; /** * @var bool * * @ORM\Column(name="work_state", type="boolean", nullable=false) */ - private $workState; + protected $workState; /** * @var bool * * @ORM\Column(name="announcements_state", type="boolean", nullable=false) */ - private $announcementsState; + protected $announcementsState; /** * @var bool * * @ORM\Column(name="forum_state", type="boolean", nullable=false) */ - private $forumState; + protected $forumState; /** * @var bool * * @ORM\Column(name="wiki_state", type="boolean", nullable=false) */ - private $wikiState; + protected $wikiState; /** * @var bool * * @ORM\Column(name="chat_state", type="boolean", nullable=false) */ - private $chatState; + protected $chatState; /** * @var int * * @ORM\Column(name="max_student", type="integer", nullable=false) */ - private $maxStudent; + protected $maxStudent; /** * @var bool * * @ORM\Column(name="self_reg_allowed", type="boolean", nullable=false) */ - private $selfRegAllowed; + protected $selfRegAllowed; /** * @var bool * * @ORM\Column(name="self_unreg_allowed", type="boolean", nullable=false) */ - private $selfUnregAllowed; + protected $selfUnregAllowed; /** * @var int * * @ORM\Column(name="groups_per_user", type="integer", nullable=false) */ - private $groupsPerUser; + protected $groupsPerUser; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false) */ - private $displayOrder; + protected $displayOrder; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CGroupInfo.php b/src/Chamilo/CourseBundle/Entity/CGroupInfo.php index 28d654d3a2..b37a3c2f87 100644 --- a/src/Chamilo/CourseBundle/Entity/CGroupInfo.php +++ b/src/Chamilo/CourseBundle/Entity/CGroupInfo.php @@ -26,140 +26,140 @@ class CGroupInfo * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="name", type="string", length=100, nullable=true) */ - private $name; + protected $name; /** * @var bool * * @ORM\Column(name="status", type="boolean", nullable=true) */ - private $status; + protected $status; /** * @var int * * @ORM\Column(name="category_id", type="integer", nullable=false) */ - private $categoryId; + protected $categoryId; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var int * * @ORM\Column(name="max_student", type="integer", nullable=false) */ - private $maxStudent; + protected $maxStudent; /** * @var bool * * @ORM\Column(name="doc_state", type="boolean", nullable=false) */ - private $docState; + protected $docState; /** * @var bool * * @ORM\Column(name="calendar_state", type="boolean", nullable=false) */ - private $calendarState; + protected $calendarState; /** * @var bool * * @ORM\Column(name="work_state", type="boolean", nullable=false) */ - private $workState; + protected $workState; /** * @var bool * * @ORM\Column(name="announcements_state", type="boolean", nullable=false) */ - private $announcementsState; + protected $announcementsState; /** * @var bool * * @ORM\Column(name="forum_state", type="boolean", nullable=false) */ - private $forumState; + protected $forumState; /** * @var bool * * @ORM\Column(name="wiki_state", type="boolean", nullable=false) */ - private $wikiState; + protected $wikiState; /** * @var bool * * @ORM\Column(name="chat_state", type="boolean", nullable=false) */ - private $chatState; + protected $chatState; /** * @var string * * @ORM\Column(name="secret_directory", type="string", length=255, nullable=true) */ - private $secretDirectory; + protected $secretDirectory; /** * @var bool * * @ORM\Column(name="self_registration_allowed", type="boolean", nullable=false) */ - private $selfRegistrationAllowed; + protected $selfRegistrationAllowed; /** * @var bool * * @ORM\Column(name="self_unregistration_allowed", type="boolean", nullable=false) */ - private $selfUnregistrationAllowed; + protected $selfUnregistrationAllowed; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int needed for setting['group_document_access'] * * ORM\Column(name="doc_access", type="integer", nullable=false, options={"default":0}) */ - //private $docAccess; + //protected $docAccess; /** * Set name. diff --git a/src/Chamilo/CourseBundle/Entity/CGroupRelTutor.php b/src/Chamilo/CourseBundle/Entity/CGroupRelTutor.php index 1e0a83b8c7..ae71a80b91 100644 --- a/src/Chamilo/CourseBundle/Entity/CGroupRelTutor.php +++ b/src/Chamilo/CourseBundle/Entity/CGroupRelTutor.php @@ -25,35 +25,35 @@ class CGroupRelTutor * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=false) */ - private $groupId; + protected $groupId; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CGroupRelUser.php b/src/Chamilo/CourseBundle/Entity/CGroupRelUser.php index f235930cbf..2953ddc01d 100644 --- a/src/Chamilo/CourseBundle/Entity/CGroupRelUser.php +++ b/src/Chamilo/CourseBundle/Entity/CGroupRelUser.php @@ -25,49 +25,49 @@ class CGroupRelUser * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=false) */ - private $groupId; + protected $groupId; /** * @var int * * @ORM\Column(name="status", type="integer", nullable=false) */ - private $status; + protected $status; /** * @var string * * @ORM\Column(name="role", type="string", length=50, nullable=false) */ - private $role; + protected $role; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CLink.php b/src/Chamilo/CourseBundle/Entity/CLink.php index 9bc324d83c..6469587428 100644 --- a/src/Chamilo/CourseBundle/Entity/CLink.php +++ b/src/Chamilo/CourseBundle/Entity/CLink.php @@ -26,77 +26,77 @@ class CLink * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="url", type="text", nullable=false) */ - private $url; + protected $url; /** * @var string * * @ORM\Column(name="title", type="string", length=150, nullable=true) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var int * * @ORM\Column(name="category_id", type="integer", nullable=true) */ - private $categoryId; + protected $categoryId; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false) */ - private $displayOrder; + protected $displayOrder; /** * @var string * * @ORM\Column(name="on_homepage", type="string", length=10, nullable=false) */ - private $onHomepage; + protected $onHomepage; /** * @var string * * @ORM\Column(name="target", type="string", length=10, nullable=true) */ - private $target; + protected $target; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set url. diff --git a/src/Chamilo/CourseBundle/Entity/CLinkCategory.php b/src/Chamilo/CourseBundle/Entity/CLinkCategory.php index dd82586e05..4dcdc56843 100644 --- a/src/Chamilo/CourseBundle/Entity/CLinkCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CLinkCategory.php @@ -26,49 +26,49 @@ class CLinkCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="category_title", type="string", length=255, nullable=false) */ - private $categoryTitle; + protected $categoryTitle; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false) */ - private $displayOrder; + protected $displayOrder; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set categoryTitle. diff --git a/src/Chamilo/CourseBundle/Entity/CLp.php b/src/Chamilo/CourseBundle/Entity/CLp.php index 68f9a07bab..848adbe2e8 100644 --- a/src/Chamilo/CourseBundle/Entity/CLp.php +++ b/src/Chamilo/CourseBundle/Entity/CLp.php @@ -26,245 +26,245 @@ class CLp * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="lp_type", type="integer", nullable=false) */ - private $lpType; + protected $lpType; /** * @var string * * @ORM\Column(name="name", type="string", length=255, nullable=false) */ - private $name; + protected $name; /** * @var string * * @ORM\Column(name="ref", type="text", nullable=true) */ - private $ref; + protected $ref; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var string * * @ORM\Column(name="path", type="text", nullable=false) */ - private $path; + protected $path; /** * @var bool * * @ORM\Column(name="force_commit", type="boolean", nullable=false) */ - private $forceCommit; + protected $forceCommit; /** * @var string * * @ORM\Column(name="default_view_mod", type="string", length=32, nullable=false, options={"default":"embedded"}) */ - private $defaultViewMod; + protected $defaultViewMod; /** * @var string * * @ORM\Column(name="default_encoding", type="string", length=32, nullable=false, options={"default":"UTF-8"}) */ - private $defaultEncoding; + protected $defaultEncoding; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false, options={"default":"0"}) */ - private $displayOrder; + protected $displayOrder; /** * @var string * * @ORM\Column(name="content_maker", type="text", nullable=false) */ - private $contentMaker; + protected $contentMaker; /** * @var string * * @ORM\Column(name="content_local", type="string", length=32, nullable=false, options={"default":"local"}) */ - private $contentLocal; + protected $contentLocal; /** * @var string * * @ORM\Column(name="content_license", type="text", nullable=false) */ - private $contentLicense; + protected $contentLicense; /** * @var bool * * @ORM\Column(name="prevent_reinit", type="boolean", nullable=false, options={"default":"1"}) */ - private $preventReinit; + protected $preventReinit; /** * @var string * * @ORM\Column(name="js_lib", type="text", nullable=false) */ - private $jsLib; + protected $jsLib; /** * @var bool * * @ORM\Column(name="debug", type="boolean", nullable=false) */ - private $debug; + protected $debug; /** * @var string * * @ORM\Column(name="theme", type="string", length=255, nullable=false) */ - private $theme; + protected $theme; /** * @var string * * @ORM\Column(name="preview_image", type="string", length=255, nullable=false) */ - private $previewImage; + protected $previewImage; /** * @var string * * @ORM\Column(name="author", type="string", length=255, nullable=false) */ - private $author; + protected $author; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="prerequisite", type="integer", nullable=false) */ - private $prerequisite; + protected $prerequisite; /** * @var bool * * @ORM\Column(name="hide_toc_frame", type="boolean", nullable=false) */ - private $hideTocFrame; + protected $hideTocFrame; /** * @var bool * * @ORM\Column(name="seriousgame_mode", type="boolean", nullable=false) */ - private $seriousgameMode; + protected $seriousgameMode; /** * @var int * * @ORM\Column(name="use_max_score", type="integer", nullable=false, options={"default":"1"}) */ - private $useMaxScore; + protected $useMaxScore; /** * @var int * * @ORM\Column(name="autolaunch", type="integer", nullable=false) */ - private $autolaunch; + protected $autolaunch; /** * @var int * * @ORM\Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false) */ - private $categoryId; + protected $categoryId; /** * @var int * * @ORM\Column(name="max_attempts", type="integer", nullable=false) */ - private $maxAttempts; + protected $maxAttempts; /** * @var int * * @ORM\Column(name="subscribe_users", type="integer", nullable=false) */ - private $subscribeUsers; + protected $subscribeUsers; /** * @var \DateTime * * @ORM\Column(name="created_on", type="datetime", nullable=false) */ - private $createdOn; + protected $createdOn; /** * @var \DateTime * * @ORM\Column(name="modified_on", type="datetime", nullable=false) */ - private $modifiedOn; + protected $modifiedOn; /** * @var \DateTime * * @ORM\Column(name="publicated_on", type="datetime", nullable=true) */ - private $publicatedOn; + protected $publicatedOn; /** * @var \DateTime * * @ORM\Column(name="expired_on", type="datetime", nullable=true) */ - private $expiredOn; + protected $expiredOn; /** * @var string * * @ORM\Column(name="accumulate_scorm_time", type="integer", nullable=false, options={"default":1}) */ - private $accumulateScormTime; + protected $accumulateScormTime; /** * Constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CLpCategory.php b/src/Chamilo/CourseBundle/Entity/CLpCategory.php index 2c0c07ef5d..24a5469207 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CLpCategory.php @@ -29,31 +29,31 @@ class CLpCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @Gedmo\SortableGroup * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="name") */ - private $name; + protected $name; /** * @Gedmo\SortablePosition * @ORM\Column(name="position", type="integer") */ - private $position; + protected $position; /** * @ORM\OneToMany(targetEntity="Chamilo\CourseBundle\Entity\CLpCategoryUser", mappedBy="category", cascade={"persist", "remove"}, orphanRemoval=true) */ - private $users; + protected $users; /** * CLpCategory constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CLpCategoryUser.php b/src/Chamilo/CourseBundle/Entity/CLpCategoryUser.php index 03c5a688c2..e491793185 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpCategoryUser.php +++ b/src/Chamilo/CourseBundle/Entity/CLpCategoryUser.php @@ -21,13 +21,13 @@ class CLpCategoryUser * @ORM\Id * @ORM\GeneratedValue */ - private $id; + protected $id; /** * @ORM\ManyToOne(targetEntity="Chamilo\CourseBundle\Entity\CLpCategory", inversedBy="users") * @ORM\JoinColumn(name="category_id", referencedColumnName="iid") */ - private $category; + protected $category; /** * @var User @@ -35,7 +35,7 @@ class CLpCategoryUser * @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User") * @ORM\JoinColumn(name="user_id", referencedColumnName="id") */ - private $user; + protected $user; /** * @return string diff --git a/src/Chamilo/CourseBundle/Entity/CLpItem.php b/src/Chamilo/CourseBundle/Entity/CLpItem.php index 20edc2d4eb..9515cf0427 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpItem.php +++ b/src/Chamilo/CourseBundle/Entity/CLpItem.php @@ -27,175 +27,175 @@ class CLpItem * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="lp_id", type="integer", nullable=false) */ - private $lpId; + protected $lpId; /** * @var string * * @ORM\Column(name="item_type", type="string", length=32, nullable=false) */ - private $itemType; + protected $itemType; /** * @var string * * @ORM\Column(name="ref", type="text", nullable=false) */ - private $ref; + protected $ref; /** * @var string * * @ORM\Column(name="title", type="string", length=511, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="string", length=511, nullable=true) */ - private $description; + protected $description; /** * @var string * * @ORM\Column(name="path", type="text", nullable=false) */ - private $path; + protected $path; /** * @var float * * @ORM\Column(name="min_score", type="float", precision=10, scale=0, nullable=false) */ - private $minScore; + protected $minScore; /** * @var float * * @ORM\Column(name="max_score", type="float", precision=10, scale=0, nullable=true, options={"default":"100"}) */ - private $maxScore; + protected $maxScore; /** * @var float * * @ORM\Column(name="mastery_score", type="float", precision=10, scale=0, nullable=true) */ - private $masteryScore; + protected $masteryScore; /** * @var int * * @ORM\Column(name="parent_item_id", type="integer", nullable=false) */ - private $parentItemId; + protected $parentItemId; /** * @var int * * @ORM\Column(name="previous_item_id", type="integer", nullable=false) */ - private $previousItemId; + protected $previousItemId; /** * @var int * * @ORM\Column(name="next_item_id", type="integer", nullable=false) */ - private $nextItemId; + protected $nextItemId; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false) */ - private $displayOrder; + protected $displayOrder; /** * @var string * * @ORM\Column(name="prerequisite", type="text", nullable=true) */ - private $prerequisite; + protected $prerequisite; /** * @var string * * @ORM\Column(name="parameters", type="text", nullable=true) */ - private $parameters; + protected $parameters; /** * @var string * * @ORM\Column(name="launch_data", type="text", nullable=false) */ - private $launchData; + protected $launchData; /** * @var string * * @ORM\Column(name="max_time_allowed", type="string", length=13, nullable=true) */ - private $maxTimeAllowed; + protected $maxTimeAllowed; /** * @var string * * @ORM\Column(name="terms", type="text", nullable=true) */ - private $terms; + protected $terms; /** * @var int * * @ORM\Column(name="search_did", type="integer", nullable=true) */ - private $searchDid; + protected $searchDid; /** * @var string * * @ORM\Column(name="audio", type="string", length=250, nullable=true) */ - private $audio; + protected $audio; /** * @var float * * @ORM\Column(name="prerequisite_min_score", type="float", precision=10, scale=0, nullable=true) */ - private $prerequisiteMinScore; + protected $prerequisiteMinScore; /** * @var float * * @ORM\Column(name="prerequisite_max_score", type="float", precision=10, scale=0, nullable=true) */ - private $prerequisiteMaxScore; + protected $prerequisiteMaxScore; /** * CLpItem constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CLpItemView.php b/src/Chamilo/CourseBundle/Entity/CLpItemView.php index 8f7612dbca..6dd5d57a5c 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpItemView.php +++ b/src/Chamilo/CourseBundle/Entity/CLpItemView.php @@ -28,98 +28,98 @@ class CLpItemView * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="lp_item_id", type="integer", nullable=false) */ - private $lpItemId; + protected $lpItemId; /** * @var int * * @ORM\Column(name="lp_view_id", type="integer", nullable=false) */ - private $lpViewId; + protected $lpViewId; /** * @var int * * @ORM\Column(name="view_count", type="integer", nullable=false) */ - private $viewCount; + protected $viewCount; /** * @var int * * @ORM\Column(name="start_time", type="integer", nullable=false) */ - private $startTime; + protected $startTime; /** * @var int * * @ORM\Column(name="total_time", type="integer", nullable=false) */ - private $totalTime; + protected $totalTime; /** * @var float * * @ORM\Column(name="score", type="float", precision=10, scale=0, nullable=false) */ - private $score; + protected $score; /** * @var string * * @ORM\Column(name="status", type="string", length=32, nullable=false, options={"default":"not attempted"}) */ - private $status; + protected $status; /** * @var string * * @ORM\Column(name="suspend_data", type="text", nullable=true) */ - private $suspendData; + protected $suspendData; /** * @var string * * @ORM\Column(name="lesson_location", type="text", nullable=true) */ - private $lessonLocation; + protected $lessonLocation; /** * @var string * * @ORM\Column(name="core_exit", type="string", length=32, nullable=false, options={"default":"none"}) */ - private $coreExit; + protected $coreExit; /** * @var string * * @ORM\Column(name="max_score", type="string", length=8, nullable=true) */ - private $maxScore; + protected $maxScore; /** * CLpItemView constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php b/src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php index 49371f79d8..0a2549839b 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php +++ b/src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php @@ -26,91 +26,91 @@ class CLpIvInteraction * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="order_id", type="integer", nullable=false) */ - private $orderId; + protected $orderId; /** * @var int * * @ORM\Column(name="lp_iv_id", type="bigint", nullable=false) */ - private $lpIvId; + protected $lpIvId; /** * @var string * * @ORM\Column(name="interaction_id", type="string", length=255, nullable=false) */ - private $interactionId; + protected $interactionId; /** * @var string * * @ORM\Column(name="interaction_type", type="string", length=255, nullable=false) */ - private $interactionType; + protected $interactionType; /** * @var float * * @ORM\Column(name="weighting", type="float", precision=10, scale=0, nullable=false) */ - private $weighting; + protected $weighting; /** * @var string * * @ORM\Column(name="completion_time", type="string", length=16, nullable=false) */ - private $completionTime; + protected $completionTime; /** * @var string * * @ORM\Column(name="correct_responses", type="text", nullable=false) */ - private $correctResponses; + protected $correctResponses; /** * @var string * * @ORM\Column(name="student_response", type="text", nullable=false) */ - private $studentResponse; + protected $studentResponse; /** * @var string * * @ORM\Column(name="result", type="string", length=255, nullable=false) */ - private $result; + protected $result; /** * @var string * * @ORM\Column(name="latency", type="string", length=16, nullable=false) */ - private $latency; + protected $latency; /** * Set orderId. diff --git a/src/Chamilo/CourseBundle/Entity/CLpIvObjective.php b/src/Chamilo/CourseBundle/Entity/CLpIvObjective.php index 0c87f96474..a86cf6dd88 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpIvObjective.php +++ b/src/Chamilo/CourseBundle/Entity/CLpIvObjective.php @@ -26,70 +26,70 @@ class CLpIvObjective * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="lp_iv_id", type="bigint", nullable=false) */ - private $lpIvId; + protected $lpIvId; /** * @var int * * @ORM\Column(name="order_id", type="integer", nullable=false) */ - private $orderId; + protected $orderId; /** * @var string * * @ORM\Column(name="objective_id", type="string", length=255, nullable=false) */ - private $objectiveId; + protected $objectiveId; /** * @var float * * @ORM\Column(name="score_raw", type="float", precision=10, scale=0, nullable=false) */ - private $scoreRaw; + protected $scoreRaw; /** * @var float * * @ORM\Column(name="score_max", type="float", precision=10, scale=0, nullable=false) */ - private $scoreMax; + protected $scoreMax; /** * @var float * * @ORM\Column(name="score_min", type="float", precision=10, scale=0, nullable=false) */ - private $scoreMin; + protected $scoreMin; /** * @var string * * @ORM\Column(name="status", type="string", length=32, nullable=false) */ - private $status; + protected $status; /** * Set lpIvId. diff --git a/src/Chamilo/CourseBundle/Entity/CLpView.php b/src/Chamilo/CourseBundle/Entity/CLpView.php index 49d79037dd..a8b6fbfdfb 100644 --- a/src/Chamilo/CourseBundle/Entity/CLpView.php +++ b/src/Chamilo/CourseBundle/Entity/CLpView.php @@ -28,63 +28,63 @@ class CLpView * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="lp_id", type="integer", nullable=false) */ - private $lpId; + protected $lpId; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="view_count", type="integer", nullable=false) */ - private $viewCount; + protected $viewCount; /** * @var int * * @ORM\Column(name="last_item", type="integer", nullable=false) */ - private $lastItem; + protected $lastItem; /** * @var int * * @ORM\Column(name="progress", type="integer", nullable=true) */ - private $progress; + protected $progress; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * Set lpId. diff --git a/src/Chamilo/CourseBundle/Entity/CNotebook.php b/src/Chamilo/CourseBundle/Entity/CNotebook.php index 2643ca20c9..66e84224b9 100644 --- a/src/Chamilo/CourseBundle/Entity/CNotebook.php +++ b/src/Chamilo/CourseBundle/Entity/CNotebook.php @@ -25,77 +25,77 @@ class CNotebook * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="notebook_id", type="integer") */ - private $notebookId; + protected $notebookId; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var string * * @ORM\Column(name="course", type="string", length=40, nullable=false) */ - private $course; + protected $course; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=false) */ - private $description; + protected $description; /** * @var \DateTime * * @ORM\Column(name="creation_date", type="datetime", nullable=false) */ - private $creationDate; + protected $creationDate; /** * @var \DateTime * * @ORM\Column(name="update_date", type="datetime", nullable=false) */ - private $updateDate; + protected $updateDate; /** * @var int * * @ORM\Column(name="status", type="integer", nullable=true) */ - private $status; + protected $status; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/COnlineConnected.php b/src/Chamilo/CourseBundle/Entity/COnlineConnected.php index 1284323554..d896a29a9c 100644 --- a/src/Chamilo/CourseBundle/Entity/COnlineConnected.php +++ b/src/Chamilo/CourseBundle/Entity/COnlineConnected.php @@ -25,28 +25,28 @@ class COnlineConnected * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var \DateTime * * @ORM\Column(name="last_connection", type="datetime", nullable=false) */ - private $lastConnection; + protected $lastConnection; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * Set lastConnection. diff --git a/src/Chamilo/CourseBundle/Entity/COnlineLink.php b/src/Chamilo/CourseBundle/Entity/COnlineLink.php index 999b1d6e19..d927a16174 100644 --- a/src/Chamilo/CourseBundle/Entity/COnlineLink.php +++ b/src/Chamilo/CourseBundle/Entity/COnlineLink.php @@ -25,35 +25,35 @@ class COnlineLink * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="name", type="string", length=50, nullable=false) */ - private $name; + protected $name; /** * @var string * * @ORM\Column(name="url", type="string", length=100, nullable=false) */ - private $url; + protected $url; /** * Set name. diff --git a/src/Chamilo/CourseBundle/Entity/CPermissionGroup.php b/src/Chamilo/CourseBundle/Entity/CPermissionGroup.php index 6809869e90..08bb0246a2 100644 --- a/src/Chamilo/CourseBundle/Entity/CPermissionGroup.php +++ b/src/Chamilo/CourseBundle/Entity/CPermissionGroup.php @@ -24,42 +24,42 @@ class CPermissionGroup * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=false) */ - private $groupId; + protected $groupId; /** * @var string * * @ORM\Column(name="tool", type="string", length=250, nullable=false) */ - private $tool; + protected $tool; /** * @var string * * @ORM\Column(name="action", type="string", length=250, nullable=false) */ - private $action; + protected $action; /** * Set groupId. diff --git a/src/Chamilo/CourseBundle/Entity/CPermissionTask.php b/src/Chamilo/CourseBundle/Entity/CPermissionTask.php index 6ad9ae4ab0..cd9d30c1f2 100644 --- a/src/Chamilo/CourseBundle/Entity/CPermissionTask.php +++ b/src/Chamilo/CourseBundle/Entity/CPermissionTask.php @@ -25,42 +25,42 @@ class CPermissionTask * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="task_id", type="integer", nullable=false) */ - private $taskId; + protected $taskId; /** * @var string * * @ORM\Column(name="tool", type="string", length=250, nullable=false) */ - private $tool; + protected $tool; /** * @var string * * @ORM\Column(name="action", type="string", length=250, nullable=false) */ - private $action; + protected $action; /** * Set taskId. diff --git a/src/Chamilo/CourseBundle/Entity/CPermissionUser.php b/src/Chamilo/CourseBundle/Entity/CPermissionUser.php index 5141b8d795..37a3666c48 100644 --- a/src/Chamilo/CourseBundle/Entity/CPermissionUser.php +++ b/src/Chamilo/CourseBundle/Entity/CPermissionUser.php @@ -25,42 +25,42 @@ class CPermissionUser * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var string * * @ORM\Column(name="tool", type="string", length=250, nullable=false) */ - private $tool; + protected $tool; /** * @var string * * @ORM\Column(name="action", type="string", length=250, nullable=false) */ - private $action; + protected $action; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CQuiz.php b/src/Chamilo/CourseBundle/Entity/CQuiz.php index 89e6c75154..134ca73261 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuiz.php +++ b/src/Chamilo/CourseBundle/Entity/CQuiz.php @@ -26,188 +26,188 @@ class CQuiz * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var string * * @ORM\Column(name="sound", type="string", length=255, nullable=true) */ - private $sound; + protected $sound; /** * @var bool * * @ORM\Column(name="type", type="boolean", nullable=false) */ - private $type; + protected $type; /** * @var int * * @ORM\Column(name="random", type="integer", nullable=false) */ - private $random; + protected $random; /** * @var bool * * @ORM\Column(name="random_answers", type="boolean", nullable=false) */ - private $randomAnswers; + protected $randomAnswers; /** * @var bool * * @ORM\Column(name="active", type="boolean", nullable=false) */ - private $active; + protected $active; /** * @var int * * @ORM\Column(name="results_disabled", type="integer", nullable=false) */ - private $resultsDisabled; + protected $resultsDisabled; /** * @var string * * @ORM\Column(name="access_condition", type="text", nullable=true) */ - private $accessCondition; + protected $accessCondition; /** * @var int * * @ORM\Column(name="max_attempt", type="integer", nullable=false) */ - private $maxAttempt; + protected $maxAttempt; /** * @var \DateTime * * @ORM\Column(name="start_time", type="datetime", nullable=true) */ - private $startTime; + protected $startTime; /** * @var \DateTime * * @ORM\Column(name="end_time", type="datetime", nullable=true) */ - private $endTime; + protected $endTime; /** * @var int * * @ORM\Column(name="feedback_type", type="integer", nullable=false) */ - private $feedbackType; + protected $feedbackType; /** * @var int * * @ORM\Column(name="expired_time", type="integer", nullable=false) */ - private $expiredTime; + protected $expiredTime; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="propagate_neg", type="integer", nullable=false) */ - private $propagateNeg; + protected $propagateNeg; /** * @var bool * @ORm\Column(name="save_correct_answers", type="boolean", nullable=false) */ - private $saveCorrectAnswers; + protected $saveCorrectAnswers; /** * @var int * * @ORM\Column(name="review_answers", type="integer", nullable=false) */ - private $reviewAnswers; + protected $reviewAnswers; /** * @var int * * @ORM\Column(name="random_by_category", type="integer", nullable=false) */ - private $randomByCategory; + protected $randomByCategory; /** * @var string * * @ORM\Column(name="text_when_finished", type="text", nullable=true) */ - private $textWhenFinished; + protected $textWhenFinished; /** * @var int * * @ORM\Column(name="display_category_name", type="integer", nullable=false) */ - private $displayCategoryName; + protected $displayCategoryName; /** * @var int * * @ORM\Column(name="pass_percentage", type="integer", nullable=true) */ - private $passPercentage; + protected $passPercentage; /** * @var int * * @ORM\Column(name="question_selection_type", type="integer", nullable=true) */ - private $questionSelectionType; + protected $questionSelectionType; /** * @var bool * * @ORM\Column(name="hide_question_title", type="boolean", nullable=true) */ - private $hideQuestionTitle; + protected $hideQuestionTitle; /** * CQuiz constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CQuizAnswer.php b/src/Chamilo/CourseBundle/Entity/CQuizAnswer.php index c53a999dba..2cc83deb4a 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizAnswer.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizAnswer.php @@ -26,98 +26,98 @@ class CQuizAnswer * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id_auto", type="integer", options={"unsigned": true, "default": null}) */ - private $idAuto; + protected $idAuto; /** * @var int * * @ORM\Column(name="c_id", type="integer", options={"unsigned": true, "default": null}) */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @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 int * * @ORM\Column(name="correct", type="integer", nullable=true) */ - private $correct; + protected $correct; /** * @var string * * @ORM\Column(name="comment", type="text", nullable=true) */ - private $comment; + protected $comment; /** * @var float * * @ORM\Column(name="ponderation", type="float", precision=6, scale=2, nullable=false, options={"default": 0}) */ - private $ponderation; + protected $ponderation; /** * @var int * * @ORM\Column(name="position", type="integer", nullable=false) */ - private $position; + protected $position; /** * @var string * * @ORM\Column(name="hotspot_coordinates", type="text", nullable=true) */ - private $hotspotCoordinates; + protected $hotspotCoordinates; /** * @var string * * @ORM\Column(name="hotspot_type", type="string", length=40, nullable=true) */ - private $hotspotType; + protected $hotspotType; /** * @var string * * @ORM\Column(name="destination", type="text", nullable=true) */ - private $destination; + protected $destination; /** * @var string * * @ORM\Column(name="answer_code", type="string", length=10, nullable=true) */ - private $answerCode; + protected $answerCode; public function __construct() { diff --git a/src/Chamilo/CourseBundle/Entity/CQuizCategory.php b/src/Chamilo/CourseBundle/Entity/CQuizCategory.php index 418070659d..ff2df37500 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizCategory.php @@ -20,35 +20,35 @@ class CQuizCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="category_id", type="integer", nullable=true) */ - private $categoryId; + protected $categoryId; /** * @var int * * @ORM\Column(name="exercise_id", type="integer", nullable=false) */ - private $exerciseId; + protected $exerciseId; /** * @var int * * @ORM\Column(name="count_questions", type="integer", nullable=true) */ - private $countQuestions; + protected $countQuestions; /** * @return int diff --git a/src/Chamilo/CourseBundle/Entity/CQuizQuestion.php b/src/Chamilo/CourseBundle/Entity/CQuizQuestion.php index 72d74b29fc..e7943a6743 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizQuestion.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizQuestion.php @@ -26,84 +26,84 @@ class CQuizQuestion * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="question", type="text", nullable=false) */ - private $question; + protected $question; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var float * * @ORM\Column(name="ponderation", type="float", precision=6, scale=2, nullable=false, options={"default": 0}) */ - private $ponderation; + protected $ponderation; /** * @var int * * @ORM\Column(name="position", type="integer", nullable=false) */ - private $position; + protected $position; /** * @var int * * @ORM\Column(name="type", type="integer", nullable=false) */ - private $type; + protected $type; /** * @var string * * @ORM\Column(name="picture", type="string", length=50, nullable=true) */ - private $picture; + protected $picture; /** * @var int * * @ORM\Column(name="level", type="integer", nullable=false) */ - private $level; + protected $level; /** * @var string * * @ORM\Column(name="extra", type="string", length=255, nullable=true) */ - private $extra; + protected $extra; /** * @var string * * @ORM\Column(name="question_code", type="string", length=10, nullable=true) */ - private $questionCode; + protected $questionCode; /** * CQuizQuestion constructor. diff --git a/src/Chamilo/CourseBundle/Entity/CQuizQuestionCategory.php b/src/Chamilo/CourseBundle/Entity/CQuizQuestionCategory.php index 00806a97c0..00cccf5fd6 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizQuestionCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizQuestionCategory.php @@ -25,35 +25,35 @@ class CQuizQuestionCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=false) */ - private $description; + protected $description; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CQuizQuestionOption.php b/src/Chamilo/CourseBundle/Entity/CQuizQuestionOption.php index bc631d3965..ee4a3fefbd 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizQuestionOption.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizQuestionOption.php @@ -25,42 +25,42 @@ class CQuizQuestionOption * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="question_id", type="integer", nullable=false) */ - private $questionId; + protected $questionId; /** * @var string * * @ORM\Column(name="name", type="string", length=255, nullable=true) */ - private $name; + protected $name; /** * @var int * * @ORM\Column(name="position", type="integer", nullable=false) */ - private $position; + protected $position; /** * Set questionId. diff --git a/src/Chamilo/CourseBundle/Entity/CQuizQuestionRelCategory.php b/src/Chamilo/CourseBundle/Entity/CQuizQuestionRelCategory.php index 8166561a69..54a4025c3e 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizQuestionRelCategory.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizQuestionRelCategory.php @@ -26,28 +26,28 @@ class CQuizQuestionRelCategory * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="category_id", type="integer", nullable=false) */ - private $categoryId; + protected $categoryId; /** * @var int * * @ORM\Column(name="question_id", type="integer") */ - private $questionId; + protected $questionId; /** * Set categoryId. diff --git a/src/Chamilo/CourseBundle/Entity/CQuizRelQuestion.php b/src/Chamilo/CourseBundle/Entity/CQuizRelQuestion.php index f487a3206d..49fec1427c 100644 --- a/src/Chamilo/CourseBundle/Entity/CQuizRelQuestion.php +++ b/src/Chamilo/CourseBundle/Entity/CQuizRelQuestion.php @@ -27,35 +27,35 @@ class CQuizRelQuestion * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="question_order", type="integer", nullable=false) */ - private $questionOrder; + protected $questionOrder; /** * @var int * * @ORM\Column(name="question_id", type="integer") */ - private $questionId; + protected $questionId; /** * @var int * * @ORM\Column(name="exercice_id", type="integer") */ - private $exerciceId; + protected $exerciceId; /** * Set questionOrder. diff --git a/src/Chamilo/CourseBundle/Entity/CResource.php b/src/Chamilo/CourseBundle/Entity/CResource.php index 5ba130fad7..6f51c891d5 100644 --- a/src/Chamilo/CourseBundle/Entity/CResource.php +++ b/src/Chamilo/CourseBundle/Entity/CResource.php @@ -25,49 +25,49 @@ class CResource * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="source_type", type="string", length=50, nullable=true) */ - private $sourceType; + protected $sourceType; /** * @var int * * @ORM\Column(name="source_id", type="integer", nullable=true) */ - private $sourceId; + protected $sourceId; /** * @var string * * @ORM\Column(name="resource_type", type="string", length=50, nullable=true) */ - private $resourceType; + protected $resourceType; /** * @var int * * @ORM\Column(name="resource_id", type="integer", nullable=true) */ - private $resourceId; + protected $resourceId; /** * Set sourceType. diff --git a/src/Chamilo/CourseBundle/Entity/CRole.php b/src/Chamilo/CourseBundle/Entity/CRole.php index 29921a5e82..5f4b9f08ef 100644 --- a/src/Chamilo/CourseBundle/Entity/CRole.php +++ b/src/Chamilo/CourseBundle/Entity/CRole.php @@ -25,42 +25,42 @@ class CRole * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="role_name", type="string", length=250, nullable=false) */ - private $roleName; + protected $roleName; /** * @var string * * @ORM\Column(name="role_comment", type="text", nullable=true) */ - private $roleComment; + protected $roleComment; /** * @var bool * * @ORM\Column(name="default_role", type="boolean", nullable=true) */ - private $defaultRole; + protected $defaultRole; /** * @var int * * @ORM\Column(name="role_id", type="integer") */ - private $roleId; + protected $roleId; /** * Set roleName. diff --git a/src/Chamilo/CourseBundle/Entity/CRoleGroup.php b/src/Chamilo/CourseBundle/Entity/CRoleGroup.php index 710e3c1615..e78bcf7805 100644 --- a/src/Chamilo/CourseBundle/Entity/CRoleGroup.php +++ b/src/Chamilo/CourseBundle/Entity/CRoleGroup.php @@ -26,42 +26,42 @@ class CRoleGroup * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="role_id", type="integer", nullable=false) */ - private $roleId; + protected $roleId; /** * @var string * * @ORM\Column(name="scope", type="string", length=20, nullable=false) */ - private $scope; + protected $scope; /** * @var int * * @ORM\Column(name="group_id", type="integer") */ - private $groupId; + protected $groupId; /** * Set roleId. diff --git a/src/Chamilo/CourseBundle/Entity/CRolePermissions.php b/src/Chamilo/CourseBundle/Entity/CRolePermissions.php index d3ea9164ff..d44d35ef26 100644 --- a/src/Chamilo/CourseBundle/Entity/CRolePermissions.php +++ b/src/Chamilo/CourseBundle/Entity/CRolePermissions.php @@ -26,49 +26,49 @@ class CRolePermissions * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var bool * * @ORM\Column(name="default_perm", type="boolean", nullable=false) */ - private $defaultPerm; + protected $defaultPerm; /** * @var int * * @ORM\Column(name="role_id", type="integer") */ - private $roleId; + protected $roleId; /** * @var string * * @ORM\Column(name="tool", type="string", length=250) */ - private $tool; + protected $tool; /** * @var string * * @ORM\Column(name="action", type="string", length=50) */ - private $action; + protected $action; /** * Set defaultPerm. diff --git a/src/Chamilo/CourseBundle/Entity/CRoleUser.php b/src/Chamilo/CourseBundle/Entity/CRoleUser.php index d041fc1c13..78e6c54456 100644 --- a/src/Chamilo/CourseBundle/Entity/CRoleUser.php +++ b/src/Chamilo/CourseBundle/Entity/CRoleUser.php @@ -26,35 +26,35 @@ class CRoleUser * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var string * * @ORM\Column(name="scope", type="string", length=20, nullable=false) */ - private $scope; + protected $scope; /** * @var int * * @ORM\Column(name="role_id", type="integer") */ - private $roleId; + protected $roleId; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * Set scope. diff --git a/src/Chamilo/CourseBundle/Entity/CStudentPublication.php b/src/Chamilo/CourseBundle/Entity/CStudentPublication.php index c158fdd04f..d8349a202e 100644 --- a/src/Chamilo/CourseBundle/Entity/CStudentPublication.php +++ b/src/Chamilo/CourseBundle/Entity/CStudentPublication.php @@ -28,182 +28,182 @@ class CStudentPublication * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="url", type="string", length=255, nullable=true) */ - private $url; + protected $url; /** * @var string * * @ORM\Column(name="url_correction", type="string", length=255, nullable=true) */ - private $urlCorrection; + protected $urlCorrection; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=true) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="title_correction", type="string", length=255, nullable=true) */ - private $titleCorrection; + protected $titleCorrection; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var string * * @ORM\Column(name="author", type="string", length=255, nullable=true) */ - private $author; + protected $author; /** * @var bool * * @ORM\Column(name="active", type="boolean", nullable=true) */ - private $active; + protected $active; /** * @var bool * * @ORM\Column(name="accepted", type="boolean", nullable=true) */ - private $accepted; + protected $accepted; /** * @var int * * @ORM\Column(name="post_group_id", type="integer", nullable=false) */ - private $postGroupId; + protected $postGroupId; /** * @var \DateTime * * @ORM\Column(name="sent_date", type="datetime", nullable=true) */ - private $sentDate; + protected $sentDate; /** * @var string * * @ORM\Column(name="filetype", type="string", length=10, nullable=false) */ - private $filetype; + protected $filetype; /** * @var int * * @ORM\Column(name="has_properties", type="integer", nullable=false) */ - private $hasProperties; + protected $hasProperties; /** * @var bool * * @ORM\Column(name="view_properties", type="boolean", nullable=true) */ - private $viewProperties; + protected $viewProperties; /** * @var float * * @ORM\Column(name="qualification", type="float", precision=6, scale=2, nullable=false) */ - private $qualification; + protected $qualification; /** * @var \DateTime * * @ORM\Column(name="date_of_qualification", type="datetime", nullable=true) */ - private $dateOfQualification; + protected $dateOfQualification; /** * @var int * * @ORM\Column(name="parent_id", type="integer", nullable=false) */ - private $parentId; + protected $parentId; /** * @var int * * @ORM\Column(name="qualificator_id", type="integer", nullable=false) */ - private $qualificatorId; + protected $qualificatorId; /** * @var float * * @ORM\Column(name="weight", type="float", precision=6, scale=2, nullable=false) */ - private $weight; + protected $weight; /** * @var Session * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Session", inversedBy="studentPublications") * @ORM\JoinColumn(name="session_id", referencedColumnName="id") */ - private $session; + protected $session; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="allow_text_assignment", type="integer", nullable=false) */ - private $allowTextAssignment; + protected $allowTextAssignment; /** * @var int * * @ORM\Column(name="contains_file", type="integer", nullable=false) */ - private $containsFile; + protected $containsFile; /** * @var int * * @ORM\Column(name="document_id", type="integer", nullable=false) */ - private $documentId; + protected $documentId; /** * Set url. diff --git a/src/Chamilo/CourseBundle/Entity/CStudentPublicationAssignment.php b/src/Chamilo/CourseBundle/Entity/CStudentPublicationAssignment.php index 2cfcf9dae5..0ded9c43bf 100644 --- a/src/Chamilo/CourseBundle/Entity/CStudentPublicationAssignment.php +++ b/src/Chamilo/CourseBundle/Entity/CStudentPublicationAssignment.php @@ -25,56 +25,56 @@ class CStudentPublicationAssignment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var \DateTime * * @ORM\Column(name="expires_on", type="datetime", nullable=true) */ - private $expiresOn; + protected $expiresOn; /** * @var \DateTime * * @ORM\Column(name="ends_on", type="datetime", nullable=true) */ - private $endsOn; + protected $endsOn; /** * @var bool * * @ORM\Column(name="add_to_calendar", type="integer", nullable=false) */ - private $addToCalendar; + protected $addToCalendar; /** * @var bool * * @ORM\Column(name="enable_qualification", type="boolean", nullable=false) */ - private $enableQualification; + protected $enableQualification; /** * @var int * * @ORM\Column(name="publication_id", type="integer", nullable=false) */ - private $publicationId; + protected $publicationId; /** * Set expiresOn. diff --git a/src/Chamilo/CourseBundle/Entity/CStudentPublicationComment.php b/src/Chamilo/CourseBundle/Entity/CStudentPublicationComment.php index 04750915bb..6c0680853f 100644 --- a/src/Chamilo/CourseBundle/Entity/CStudentPublicationComment.php +++ b/src/Chamilo/CourseBundle/Entity/CStudentPublicationComment.php @@ -27,56 +27,56 @@ class CStudentPublicationComment * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="work_id", type="integer", nullable=false) */ - private $workId; + protected $workId; /** * @var string * * @ORM\Column(name="comment", type="text", nullable=true) */ - private $comment; + protected $comment; /** * @var string * * @ORM\Column(name="file", type="string", length=255, nullable=true) */ - private $file; + protected $file; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var \DateTime * * @ORM\Column(name="sent_at", type="datetime", nullable=false) */ - private $sentAt; + protected $sentAt; /** * Set workId. diff --git a/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelDocument.php b/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelDocument.php index 427ff3457f..f29d6ef1d6 100644 --- a/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelDocument.php +++ b/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelDocument.php @@ -27,35 +27,35 @@ class CStudentPublicationRelDocument * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="work_id", type="integer", nullable=false) */ - private $workId; + protected $workId; /** * @var int * * @ORM\Column(name="document_id", type="integer", nullable=false) */ - private $documentId; + protected $documentId; /** * Set workId. diff --git a/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelUser.php b/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelUser.php index 077560a270..ddf26227c0 100644 --- a/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelUser.php +++ b/src/Chamilo/CourseBundle/Entity/CStudentPublicationRelUser.php @@ -27,35 +27,35 @@ class CStudentPublicationRelUser * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="work_id", type="integer", nullable=false) */ - private $workId; + protected $workId; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * Set workId. diff --git a/src/Chamilo/CourseBundle/Entity/CSurvey.php b/src/Chamilo/CourseBundle/Entity/CSurvey.php index ed6c801157..c7349b52af 100644 --- a/src/Chamilo/CourseBundle/Entity/CSurvey.php +++ b/src/Chamilo/CourseBundle/Entity/CSurvey.php @@ -26,217 +26,217 @@ class CSurvey * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="survey_id", type="integer") */ - private $surveyId; + protected $surveyId; /** * @var string * * @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=20, nullable=true) */ - private $author; + protected $author; /** * @var string * * @ORM\Column(name="lang", type="string", length=20, nullable=true) */ - private $lang; + protected $lang; /** * @var \DateTime * * @ORM\Column(name="avail_from", type="date", nullable=true) */ - private $availFrom; + protected $availFrom; /** * @var \DateTime * * @ORM\Column(name="avail_till", type="date", nullable=true) */ - private $availTill; + protected $availTill; /** * @var string * * @ORM\Column(name="is_shared", type="string", length=1, nullable=true) */ - private $isShared; + protected $isShared; /** * @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 int * * @ORM\Column(name="invited", type="integer", nullable=false) */ - private $invited; + protected $invited; /** * @var int * * @ORM\Column(name="answered", type="integer", nullable=false) */ - private $answered; + protected $answered; /** * @var string * * @ORM\Column(name="invite_mail", type="text", nullable=false) */ - private $inviteMail; + protected $inviteMail; /** * @var string * * @ORM\Column(name="reminder_mail", type="text", nullable=false) */ - private $reminderMail; + protected $reminderMail; /** * @var string * * @ORM\Column(name="mail_subject", type="string", length=255, nullable=false) */ - private $mailSubject; + protected $mailSubject; /** * @var string * * @ORM\Column(name="anonymous", type="string", length=10, nullable=false) */ - private $anonymous; + protected $anonymous; /** * @var string * * @ORM\Column(name="access_condition", type="text", nullable=true) */ - private $accessCondition; + protected $accessCondition; /** * @var bool * * @ORM\Column(name="shuffle", type="boolean", nullable=false) */ - private $shuffle; + protected $shuffle; /** * @var bool * * @ORM\Column(name="one_question_per_page", type="boolean", nullable=false) */ - private $oneQuestionPerPage; + protected $oneQuestionPerPage; /** * @var string * * @ORM\Column(name="survey_version", type="string", length=255, nullable=false) */ - private $surveyVersion; + protected $surveyVersion; /** * @var int * * @ORM\Column(name="parent_id", type="integer", nullable=false) */ - private $parentId; + protected $parentId; /** * @var int * * @ORM\Column(name="survey_type", type="integer", nullable=false) */ - private $surveyType; + protected $surveyType; /** * @var int * * @ORM\Column(name="show_form_profile", type="integer", nullable=false) */ - private $showFormProfile; + protected $showFormProfile; /** * @var string * * @ORM\Column(name="form_fields", type="text", nullable=false) */ - private $formFields; + protected $formFields; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="visible_results", type="integer", nullable=true) */ - private $visibleResults; + protected $visibleResults; /** * Set code. diff --git a/src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php b/src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php index 4de1e80070..b037c638a6 100644 --- a/src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php +++ b/src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php @@ -25,56 +25,56 @@ class CSurveyAnswer * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="answer_id", type="integer") */ - private $answerId; + protected $answerId; /** * @var int * * @ORM\Column(name="survey_id", type="integer", nullable=false) */ - private $surveyId; + protected $surveyId; /** * @var int * * @ORM\Column(name="question_id", type="integer", nullable=false) */ - private $questionId; + protected $questionId; /** * @var string * * @ORM\Column(name="option_id", type="text", nullable=false) */ - private $optionId; + protected $optionId; /** * @var int * * @ORM\Column(name="value", type="integer", nullable=false) */ - private $value; + protected $value; /** * @var string * * @ORM\Column(name="user", type="string", length=250, nullable=false) */ - private $user; + protected $user; /** * Set surveyId. diff --git a/src/Chamilo/CourseBundle/Entity/CSurveyGroup.php b/src/Chamilo/CourseBundle/Entity/CSurveyGroup.php index 96cc36f011..2732a0d4ba 100644 --- a/src/Chamilo/CourseBundle/Entity/CSurveyGroup.php +++ b/src/Chamilo/CourseBundle/Entity/CSurveyGroup.php @@ -25,42 +25,42 @@ class CSurveyGroup * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="name", type="string", length=20, nullable=false) */ - private $name; + protected $name; /** * @var string * * @ORM\Column(name="description", type="string", length=255, nullable=false) */ - private $description; + protected $description; /** * @var int * * @ORM\Column(name="survey_id", type="integer", nullable=false) */ - private $surveyId; + protected $surveyId; /** * Set name. diff --git a/src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php b/src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php index c7775e8d75..0924e8d358 100644 --- a/src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php +++ b/src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php @@ -25,77 +25,77 @@ class CSurveyInvitation * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="survey_invitation_id", type="integer") */ - private $surveyInvitationId; + protected $surveyInvitationId; /** * @var string * * @ORM\Column(name="survey_code", type="string", length=20, nullable=false) */ - private $surveyCode; + protected $surveyCode; /** * @var string * * @ORM\Column(name="user", type="string", length=250, nullable=false) */ - private $user; + protected $user; /** * @var string * * @ORM\Column(name="invitation_code", type="string", length=250, nullable=false) */ - private $invitationCode; + protected $invitationCode; /** * @var \DateTime * * @ORM\Column(name="invitation_date", type="datetime", nullable=false) */ - private $invitationDate; + protected $invitationDate; /** * @var \DateTime * * @ORM\Column(name="reminder_date", type="datetime", nullable=false) */ - private $reminderDate; + protected $reminderDate; /** * @var int * * @ORM\Column(name="answered", type="integer", nullable=false) */ - private $answered; + protected $answered; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=false) */ - private $groupId; + protected $groupId; /** * Set surveyCode. diff --git a/src/Chamilo/CourseBundle/Entity/CSurveyQuestion.php b/src/Chamilo/CourseBundle/Entity/CSurveyQuestion.php index cdd1b2c20c..eb6f3f6c69 100644 --- a/src/Chamilo/CourseBundle/Entity/CSurveyQuestion.php +++ b/src/Chamilo/CourseBundle/Entity/CSurveyQuestion.php @@ -25,98 +25,98 @@ class CSurveyQuestion * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="question_id", type="integer") */ - private $questionId; + protected $questionId; /** * @var int * * @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 int * * @ORM\Column(name="shared_question_id", type="integer", nullable=true) */ - private $sharedQuestionId; + protected $sharedQuestionId; /** * @var int * * @ORM\Column(name="max_value", type="integer", nullable=true) */ - private $maxValue; + protected $maxValue; /** * @var int * * @ORM\Column(name="survey_group_pri", type="integer", nullable=false) */ - private $surveyGroupPri; + protected $surveyGroupPri; /** * @var int * * @ORM\Column(name="survey_group_sec1", type="integer", nullable=false) */ - private $surveyGroupSec1; + protected $surveyGroupSec1; /** * @var int * * @ORM\Column(name="survey_group_sec2", type="integer", nullable=false) */ - private $surveyGroupSec2; + protected $surveyGroupSec2; /** * Set surveyId. diff --git a/src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php b/src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php index 4fc840ed38..6e99b5326a 100644 --- a/src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php +++ b/src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php @@ -25,56 +25,56 @@ class CSurveyQuestionOption * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="question_option_id", type="integer") */ - private $questionOptionId; + protected $questionOptionId; /** * @var int * * @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 * * @ORM\Column(name="value", type="integer", nullable=false) */ - private $value; + protected $value; /** * Set questionId. diff --git a/src/Chamilo/CourseBundle/Entity/CThematic.php b/src/Chamilo/CourseBundle/Entity/CThematic.php index 59f6c7bd9b..bed137c113 100644 --- a/src/Chamilo/CourseBundle/Entity/CThematic.php +++ b/src/Chamilo/CourseBundle/Entity/CThematic.php @@ -26,56 +26,56 @@ class CThematic * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @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=true) */ - private $content; + protected $content; /** * @var int * * @ORM\Column(name="display_order", type="integer", nullable=false) */ - private $displayOrder; + protected $displayOrder; /** * @var bool * * @ORM\Column(name="active", type="boolean", nullable=false) */ - private $active; + protected $active; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=false) */ - private $sessionId; + protected $sessionId; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CThematicAdvance.php b/src/Chamilo/CourseBundle/Entity/CThematicAdvance.php index bf799bfe10..c40dacc911 100644 --- a/src/Chamilo/CourseBundle/Entity/CThematicAdvance.php +++ b/src/Chamilo/CourseBundle/Entity/CThematicAdvance.php @@ -27,63 +27,63 @@ class CThematicAdvance * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="thematic_id", type="integer", nullable=false) */ - private $thematicId; + protected $thematicId; /** * @var int * * @ORM\Column(name="attendance_id", type="integer", nullable=false) */ - private $attendanceId; + protected $attendanceId; /** * @var string * * @ORM\Column(name="content", type="text", nullable=true) */ - private $content; + protected $content; /** * @var \DateTime * * @ORM\Column(name="start_date", type="datetime", nullable=false) */ - private $startDate; + protected $startDate; /** * @var int * * @ORM\Column(name="duration", type="integer", nullable=false) */ - private $duration; + protected $duration; /** * @var bool * * @ORM\Column(name="done_advance", type="boolean", nullable=false) */ - private $doneAdvance; + protected $doneAdvance; /** * @var Room @@ -91,7 +91,7 @@ class CThematicAdvance * @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\Room") * @ORM\JoinColumn(name="room_id", referencedColumnName="id") */ - private $room; + protected $room; /** * Set thematicId. diff --git a/src/Chamilo/CourseBundle/Entity/CThematicPlan.php b/src/Chamilo/CourseBundle/Entity/CThematicPlan.php index cab2a8facd..9e44c3485f 100644 --- a/src/Chamilo/CourseBundle/Entity/CThematicPlan.php +++ b/src/Chamilo/CourseBundle/Entity/CThematicPlan.php @@ -26,49 +26,49 @@ class CThematicPlan * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="thematic_id", type="integer", nullable=false) */ - private $thematicId; + protected $thematicId; /** * @var string * * @ORM\Column(name="title", type="string", length=255, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="description", type="text", nullable=true) */ - private $description; + protected $description; /** * @var int * * @ORM\Column(name="description_type", type="integer", nullable=false) */ - private $descriptionType; + protected $descriptionType; /** * Set thematicId. diff --git a/src/Chamilo/CourseBundle/Entity/CUserinfoContent.php b/src/Chamilo/CourseBundle/Entity/CUserinfoContent.php index afc1e00a94..684e1c8c85 100644 --- a/src/Chamilo/CourseBundle/Entity/CUserinfoContent.php +++ b/src/Chamilo/CourseBundle/Entity/CUserinfoContent.php @@ -26,56 +26,56 @@ class CUserinfoContent * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="definition_id", type="integer", nullable=false) */ - private $definitionId; + protected $definitionId; /** * @var string * * @ORM\Column(name="editor_ip", type="string", length=39, nullable=true) */ - private $editorIp; + protected $editorIp; /** * @var \DateTime * * @ORM\Column(name="edition_time", type="datetime", nullable=true) */ - private $editionTime; + protected $editionTime; /** * @var string * * @ORM\Column(name="content", type="text", nullable=false) */ - private $content; + protected $content; /** * Set userId. diff --git a/src/Chamilo/CourseBundle/Entity/CUserinfoDef.php b/src/Chamilo/CourseBundle/Entity/CUserinfoDef.php index 7d725d4e2b..c38f67e635 100644 --- a/src/Chamilo/CourseBundle/Entity/CUserinfoDef.php +++ b/src/Chamilo/CourseBundle/Entity/CUserinfoDef.php @@ -25,49 +25,49 @@ class CUserinfoDef * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="title", type="string", length=80, nullable=false) */ - private $title; + protected $title; /** * @var string * * @ORM\Column(name="comment", type="text", nullable=true) */ - private $comment; + protected $comment; /** * @var bool * * @ORM\Column(name="line_count", type="boolean", nullable=false) */ - private $lineCount; + protected $lineCount; /** * @var bool * * @ORM\Column(name="rank", type="boolean", nullable=false) */ - private $rank; + protected $rank; /** * Set title. diff --git a/src/Chamilo/CourseBundle/Entity/CWiki.php b/src/Chamilo/CourseBundle/Entity/CWiki.php index 91a7e43f7f..5dbd70ad3d 100644 --- a/src/Chamilo/CourseBundle/Entity/CWiki.php +++ b/src/Chamilo/CourseBundle/Entity/CWiki.php @@ -29,196 +29,196 @@ class CWiki * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="page_id", type="integer", nullable=true) */ - private $pageId; + protected $pageId; /** * @var string * * @ORM\Column(name="reflink", type="string", length=255, nullable=false) */ - private $reflink; + protected $reflink; /** * @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="user_id", type="integer", nullable=false) */ - private $userId; + protected $userId; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=true) */ - private $groupId; + protected $groupId; /** * @var \DateTime * * @ORM\Column(name="dtime", type="datetime", nullable=true) */ - private $dtime; + protected $dtime; /** * @var int * * @ORM\Column(name="addlock", type="integer", nullable=false) */ - private $addlock; + protected $addlock; /** * @var int * * @ORM\Column(name="editlock", type="integer", nullable=false) */ - private $editlock; + protected $editlock; /** * @var int * * @ORM\Column(name="visibility", type="integer", nullable=false) */ - private $visibility; + protected $visibility; /** * @var int * * @ORM\Column(name="addlock_disc", type="integer", nullable=false) */ - private $addlockDisc; + protected $addlockDisc; /** * @var int * * @ORM\Column(name="visibility_disc", type="integer", nullable=false) */ - private $visibilityDisc; + protected $visibilityDisc; /** * @var int * * @ORM\Column(name="ratinglock_disc", type="integer", nullable=false) */ - private $ratinglockDisc; + protected $ratinglockDisc; /** * @var int * * @ORM\Column(name="assignment", type="integer", nullable=false) */ - private $assignment; + protected $assignment; /** * @var string * * @ORM\Column(name="comment", type="text", nullable=false) */ - private $comment; + protected $comment; /** * @var string * * @ORM\Column(name="progress", type="text", nullable=false) */ - private $progress; + protected $progress; /** * @var int * * @ORM\Column(name="score", type="integer", nullable=true) */ - private $score; + protected $score; /** * @var int * * @ORM\Column(name="version", type="integer", nullable=true) */ - private $version; + protected $version; /** * @var int * * @ORM\Column(name="is_editing", type="integer", nullable=false) */ - private $isEditing; + protected $isEditing; /** * @var \DateTime * * @ORM\Column(name="time_edit", type="datetime", nullable=true) */ - private $timeEdit; + protected $timeEdit; /** * @var int * * @ORM\Column(name="hits", type="integer", nullable=true) */ - private $hits; + protected $hits; /** * @var string * * @ORM\Column(name="linksto", type="text", nullable=false) */ - private $linksto; + protected $linksto; /** * @var string * * @ORM\Column(name="tag", type="text", nullable=false) */ - private $tag; + protected $tag; /** * @var string * * @ORM\Column(name="user_ip", type="string", length=39, nullable=false) */ - private $userIp; + protected $userIp; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * Set pageId. diff --git a/src/Chamilo/CourseBundle/Entity/CWikiConf.php b/src/Chamilo/CourseBundle/Entity/CWikiConf.php index 764903ac23..95ef200cd1 100644 --- a/src/Chamilo/CourseBundle/Entity/CWikiConf.php +++ b/src/Chamilo/CourseBundle/Entity/CWikiConf.php @@ -26,112 +26,112 @@ class CWikiConf * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="page_id", type="integer") */ - private $pageId; + protected $pageId; /** * @var string * * @ORM\Column(name="task", type="text", nullable=false) */ - private $task; + protected $task; /** * @var string * * @ORM\Column(name="feedback1", type="text", nullable=false) */ - private $feedback1; + protected $feedback1; /** * @var string * * @ORM\Column(name="feedback2", type="text", nullable=false) */ - private $feedback2; + protected $feedback2; /** * @var string * * @ORM\Column(name="feedback3", type="text", nullable=false) */ - private $feedback3; + protected $feedback3; /** * @var string * * @ORM\Column(name="fprogress1", type="string", length=3, nullable=false) */ - private $fprogress1; + protected $fprogress1; /** * @var string * * @ORM\Column(name="fprogress2", type="string", length=3, nullable=false) */ - private $fprogress2; + protected $fprogress2; /** * @var string * * @ORM\Column(name="fprogress3", type="string", length=3, nullable=false) */ - private $fprogress3; + protected $fprogress3; /** * @var int * * @ORM\Column(name="max_size", type="integer", nullable=true) */ - private $maxSize; + protected $maxSize; /** * @var int * * @ORM\Column(name="max_text", type="integer", nullable=true) */ - private $maxText; + protected $maxText; /** * @var int * * @ORM\Column(name="max_version", type="integer", nullable=true) */ - private $maxVersion; + protected $maxVersion; /** * @var \DateTime * * @ORM\Column(name="startdate_assig", type="datetime", nullable=true) */ - private $startdateAssig; + protected $startdateAssig; /** * @var \DateTime * * @ORM\Column(name="enddate_assig", type="datetime", nullable=true) */ - private $enddateAssig; + protected $enddateAssig; /** * @var int * * @ORM\Column(name="delayedsubmit", type="integer", nullable=false) */ - private $delayedsubmit; + protected $delayedsubmit; /** * Set task. diff --git a/src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php b/src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php index a0661e9e92..a7a740c4cc 100644 --- a/src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php +++ b/src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php @@ -25,56 +25,56 @@ class CWikiDiscuss * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var int * * @ORM\Column(name="publication_id", type="integer", nullable=false) */ - private $publicationId; + protected $publicationId; /** * @var int * * @ORM\Column(name="userc_id", type="integer", nullable=false) */ - private $usercId; + protected $usercId; /** * @var string * * @ORM\Column(name="comment", type="text", nullable=false) */ - private $comment; + protected $comment; /** * @var string * * @ORM\Column(name="p_score", type="string", length=255, nullable=true) */ - private $pScore; + protected $pScore; /** * @var \DateTime * * @ORM\Column(name="dtime", type="datetime", nullable=false) */ - private $dtime; + protected $dtime; /** * Set publicationId. diff --git a/src/Chamilo/CourseBundle/Entity/CWikiMailcue.php b/src/Chamilo/CourseBundle/Entity/CWikiMailcue.php index caaf01ec26..8b495c0c4f 100644 --- a/src/Chamilo/CourseBundle/Entity/CWikiMailcue.php +++ b/src/Chamilo/CourseBundle/Entity/CWikiMailcue.php @@ -27,49 +27,49 @@ class CWikiMailcue * @ORM\Id * @ORM\GeneratedValue */ - private $iid; + protected $iid; /** * @var int * * @ORM\Column(name="c_id", type="integer") */ - private $cId; + protected $cId; /** * @var int * * @ORM\Column(name="id", type="integer", nullable=true) */ - private $id; + protected $id; /** * @var string * * @ORM\Column(name="type", type="text", nullable=false) */ - private $type; + protected $type; /** * @var int * * @ORM\Column(name="group_id", type="integer", nullable=true) */ - private $groupId; + protected $groupId; /** * @var int * * @ORM\Column(name="session_id", type="integer", nullable=true) */ - private $sessionId; + protected $sessionId; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ - private $userId; + protected $userId; /** * Set type.