Пример #1
0
 /**
  * @param string $name
  * @param BlockProperty $blockProperty
  * @param null|ReferencedElementAbstract $referencedElement
  */
 public function __construct($name, BlockProperty $blockProperty, ReferencedElementAbstract $referencedElement = null)
 {
     parent::__construct();
     $this->name = $name;
     $this->blockProperty = $blockProperty;
     $this->referencedElement = $referencedElement;
 }
Пример #2
0
 /**
  * @param string $name
  * @param mixed $value
  * @param User $user
  */
 public function __construct($name, $value, UserPreferencesCollection $collection)
 {
     parent::__construct();
     $this->name = $name;
     $this->value = $value;
     $this->collection = $collection;
 }
Пример #3
0
 /**
  * @param string $name
  * @param Abstraction\File $file
  */
 public function __construct($name, Abstraction\File $file)
 {
     parent::__construct();
     $this->name = $name;
     $this->file = $file;
 }
Пример #4
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->localizations = new ArrayCollection();
 }
Пример #5
0
 /**
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct();
     $this->name = (string) $name;
     $this->metadata = new ArrayCollection();
     $this->properties = new ArrayCollection();
 }
Пример #6
0
 /**
  * Create block properties collection
  */
 public function __construct()
 {
     parent::__construct();
     $this->blockProperties = new ArrayCollection();
 }
Пример #7
0
 /**
  * @param string $localeId
  */
 public function __construct($localeId)
 {
     parent::__construct();
     $this->locale = $localeId;
     $this->blockProperties = new ArrayCollection();
     $this->placeHolders = new ArrayCollection();
     $this->tags = new ArrayCollection();
 }
 /**
  * 
  */
 public function __construct()
 {
     parent::__construct();
     $this->preferences = new Collections\ArrayCollection();
 }