src/Cms/CoreBundle/Entity/HtmlOverrides.php line 15

Open in your IDE?
  1. <?php
  2. namespace Cms\CoreBundle\Entity;
  3. use Cms\CoreBundle\Model\HtmlOverridableInterface;
  4. use Cms\ModuleBundle\Model\ModuleDataEmbeddable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * Class HtmlOverrides
  8.  * @package Cms\CoreBundle\Entity
  9.  *
  10.  * @ORM\Embeddable
  11.  */
  12. class HtmlOverrides extends ModuleDataEmbeddable implements HtmlOverridableInterface
  13. {
  14.     /**
  15.      * @var string
  16.      *
  17.      * @ORM\Column(
  18.      *     type = "string",
  19.      *     nullable = true
  20.      * )
  21.      */
  22.     protected $bodyClass;
  23.     /**
  24.      * @var string
  25.      *
  26.      * @ORM\Column(
  27.      *     type = "text",
  28.      *     nullable = true
  29.      * )
  30.      */
  31.     protected $headScripts;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(
  36.      *     type = "text",
  37.      *     nullable = true
  38.      * )
  39.      */
  40.     protected $topScripts;
  41.     /**
  42.      * @var string
  43.      *
  44.      * @ORM\Column(
  45.      *     type = "text",
  46.      *     nullable = true
  47.      * )
  48.      */
  49.     protected $bottomScripts;
  50.     /**
  51.      * @return string
  52.      */
  53.     public function getBodyClass()
  54.     {
  55.         return $this->bodyClass;
  56.     }
  57.     /**
  58.      * @param string $value
  59.      * @return $this
  60.      */
  61.     public function setBodyClass($value)
  62.     {
  63.         $this->bodyClass $value;
  64.         return $this;
  65.     }
  66.     /**
  67.      * @return string
  68.      */
  69.     public function getHeadScripts()
  70.     {
  71.         return $this->headScripts;
  72.     }
  73.     /**
  74.      * @param string $value
  75.      * @return $this
  76.      */
  77.     public function setHeadScripts($value)
  78.     {
  79.         $this->headScripts $value;
  80.         return $this;
  81.     }
  82.     /**
  83.      * @return string
  84.      */
  85.     public function getTopScripts()
  86.     {
  87.         return $this->topScripts;
  88.     }
  89.     /**
  90.      * @param string $value
  91.      * @return $this
  92.      */
  93.     public function setTopScripts($value)
  94.     {
  95.         $this->topScripts $value;
  96.         return $this;
  97.     }
  98.     /**
  99.      * @return string
  100.      */
  101.     public function getBottomScripts()
  102.     {
  103.         return $this->bottomScripts;
  104.     }
  105.     /**
  106.      * @param string $value
  107.      * @return $this
  108.      */
  109.     public function setBottomScripts($value)
  110.     {
  111.         $this->bottomScripts $value;
  112.         return $this;
  113.     }
  114. }