diff --git a/src/KekRozsak/FrontBundle/Entity/Article.php b/src/KekRozsak/FrontBundle/Entity/Article.php index fe7af54..146ca08 100644 --- a/src/KekRozsak/FrontBundle/Entity/Article.php +++ b/src/KekRozsak/FrontBundle/Entity/Article.php @@ -18,7 +18,7 @@ class Article * @ORM\GeneratedValue(strategy="AUTO") * @ORM\Column(type="integer") */ - private $id; + protected $id; /** * Get id @@ -35,7 +35,7 @@ class Article * @ORM\ManyToOne(targetEntity="KekRozsak\SecurityBundle\Entity\User") * @ORM\JoinColumn(name="created_by_id") */ - private $createdBy; + protected $createdBy; /** * Set createdBy @@ -63,7 +63,7 @@ class Article * @var DateTime $createdAt * @ORM\Column(type="datetime", name="created_at", nullable=false) */ - private $createdAt; + protected $createdAt; /** * Set createdAt @@ -91,7 +91,7 @@ class Article * @var string $title * @ORM\Column(type="string", length=100, nullable=false, unique=true) */ - private $title; + protected $title; /** * Set title @@ -119,7 +119,7 @@ class Article * @var string $slug * @ORM\Column(type="string", length=100, nullable=false, unique=true) */ - private $slug; + protected $slug; /** * Set slug @@ -147,7 +147,7 @@ class Article * @var string $text * @ORM\Column(type="text", nullable=false) */ - private $text; + protected $text; /** * Set text @@ -175,7 +175,7 @@ class Article * @var boolean $mainPage * @ORM\Column(type="boolean", name="main_page") */ - private $mainPage; + protected $mainPage; /** * Set mainPage @@ -203,7 +203,7 @@ class Article * @var boolean public * @ORM\Column(type="boolean", nullable=false) */ - private $public; + protected $public; /** * Set public @@ -231,7 +231,7 @@ class Article * @var string $source * @ORM\Column(type="string", nullable=true) */ - private $source; + protected $source; /** * Set source diff --git a/src/KekRozsak/FrontBundle/Entity/ForumPost.php b/src/KekRozsak/FrontBundle/Entity/ForumPost.php index 6618a9f..38b5036 100644 --- a/src/KekRozsak/FrontBundle/Entity/ForumPost.php +++ b/src/KekRozsak/FrontBundle/Entity/ForumPost.php @@ -18,7 +18,7 @@ class ForumPost * @ORM\GeneratedValue(strategy="AUTO") * @ORM\Column(type="integer") */ - private $id; + protected $id; /** * Get id @@ -34,7 +34,7 @@ class ForumPost * @ORM\ManyToOne(targetEntity="\KekRozsak\SecurityBundle\Entity\User") * @ORM\JoinColumn(name="created_by_id") */ - private $createdBy; + protected $createdBy; /** * Set createdBy @@ -62,7 +62,7 @@ class ForumPost * @var DateTime $createdAt * @ORM\Column(type="datetime", name="created_at") */ - private $createdAt; + protected $createdAt; /** * Set createdAt @@ -89,7 +89,7 @@ class ForumPost * @var string $text * @ORM\Column(type="text", nullable=false) */ - private $text; + protected $text; /** * Set text @@ -117,7 +117,7 @@ class ForumPost * @var ForumTopic $topic * @ORM\ManyToOne(targetEntity="ForumTopic", inversedBy="posts") */ - private $topic; + protected $topic; /** * Set topic diff --git a/src/KekRozsak/FrontBundle/Entity/ForumTopic.php b/src/KekRozsak/FrontBundle/Entity/ForumTopic.php index 6c860bd..1dfe751 100644 --- a/src/KekRozsak/FrontBundle/Entity/ForumTopic.php +++ b/src/KekRozsak/FrontBundle/Entity/ForumTopic.php @@ -24,7 +24,7 @@ class ForumTopic * @ORM\GeneratedValue(strategy="AUTO") * @ORM\Column(type="integer") */ - private $id; + protected $id; /** * Get id @@ -41,7 +41,7 @@ class ForumTopic * @ORM\ManyToOne(targetEntity="KekRozsak\SecurityBundle\Entity\User") * @ORM\JoinColumn(name="created_by_id") */ - private $createdBy; + protected $createdBy; /** * Set createdBy @@ -70,7 +70,7 @@ class ForumTopic * @var DateTime $createdAt * @ORM\Column(type="datetime", nullable=false, name="created_at") */ - private $createdAt; + protected $createdAt; /** * Set createdAt @@ -99,7 +99,7 @@ class ForumTopic * @ORM\ManyToOne(targetEntity="ForumTopicGroup", inversedBy="topics") * @ORM\JoinColumn(name="topic_group_id") */ - private $topicGroup; + protected $topicGroup; /** * Set topicGroup @@ -127,7 +127,7 @@ class ForumTopic * @var string $slug * @ORM\Column(type="string", length=100, nullable=false) */ - private $slug; + protected $slug; /** * Set slug @@ -155,7 +155,7 @@ class ForumTopic * @var string $title * @ORM\Column(type="string", length=100, nullable=false) */ - private $title; + protected $title; /** * Set title @@ -184,7 +184,7 @@ class ForumTopic * @ORM\OneToOne(targetEntity="ForumPost", cascade={"persist"}) * @ORM\JoinColumn(name="last_post_id") */ - private $lastPost; + protected $lastPost; /** * Set lastPost @@ -211,7 +211,7 @@ class ForumTopic * @var ArrayCollection $topics; * @ORM\OneToMany(targetEntity="ForumPost", mappedBy="topic") */ - private $posts; + protected $posts; /** * Add post diff --git a/src/KekRozsak/FrontBundle/Entity/ForumTopicGroup.php b/src/KekRozsak/FrontBundle/Entity/ForumTopicGroup.php index b3850c8..a8082a1 100644 --- a/src/KekRozsak/FrontBundle/Entity/ForumTopicGroup.php +++ b/src/KekRozsak/FrontBundle/Entity/ForumTopicGroup.php @@ -25,7 +25,7 @@ class ForumTopicGroup * @ORM\GeneratedValue(strategy="AUTO") * @ORM\Column(type="integer") */ - private $id; + protected $id; /** * Get id @@ -42,7 +42,7 @@ class ForumTopicGroup * @ORM\ManyToOne(targetEntity="KekRozsak\SecurityBundle\Entity\User") * @ORM\JoinColumn(name="created_by_id") */ - private $createdBy; + protected $createdBy; /** * Set createdBy @@ -70,7 +70,7 @@ class ForumTopicGroup * @var DateTime $createdAt * @ORM\Column(type="datetime", nullable=false) */ - private $createdAt; + protected $createdAt; /** * Set createdAt @@ -98,7 +98,7 @@ class ForumTopicGroup * @var string $slug * @ORM\Column(type="string", length=100, nullable=false, unique=true) */ - private $slug; + protected $slug; /** * Set slug @@ -126,7 +126,7 @@ class ForumTopicGroup * @var string $title * @ORM\Column(type="string", length=100, nullable=false, unique=true) */ - private $title; + protected $title; /** * Set title @@ -154,7 +154,7 @@ class ForumTopicGroup * @var ArrayCollection $topics * @ORM\OneToMany(targetEntity="ForumTopic", mappedBy="topicGroup") */ - private $topics; + protected $topics; /** * Add topic diff --git a/src/KekRozsak/FrontBundle/Entity/News.php b/src/KekRozsak/FrontBundle/Entity/News.php index 9ed15b3..81c6dd9 100644 --- a/src/KekRozsak/FrontBundle/Entity/News.php +++ b/src/KekRozsak/FrontBundle/Entity/News.php @@ -16,7 +16,7 @@ class News * @ORM\GeneratedValue(strategy="AUTO") * @ORM\Column(type="integer") */ - private $id; + protected $id; /** * Get id @@ -32,7 +32,7 @@ class News * @var string $title * @ORM\Column(type="string", length=100) */ - private $title; + protected $title; /** * Set title @@ -60,7 +60,7 @@ class News * @var string $text * @ORM\Column(type="text", nullable=false) */ - private $text; + protected $text; /** * Set text @@ -88,7 +88,7 @@ class News * @var DateTime $createdAt * @ORM\Column(type="datetime", name="created_at", nullable=false) */ - private $createdAt; + protected $createdAt; /** * Set createdAt @@ -117,7 +117,7 @@ class News * @ORM\ManyToOne(targetEntity="\KekRozsak\SecurityBundle\Entity\User") * @ORM\JoinColumn(name="created_by_id") */ - private $createdBy; + protected $createdBy; /** * Set createdBy