__construct() публичный Метод

public __construct ( $name, $defaultValue = null )
Пример #1
0
 /**
  * @param string $template
  * @param TeaserProviderPoolInterface $providerPool
  * @param TeaserManagerInterface $teaserManager
  */
 public function __construct($template, TeaserProviderPoolInterface $providerPool, TeaserManagerInterface $teaserManager)
 {
     parent::__construct('teaser_selection');
     $this->template = $template;
     $this->teaserProviderPool = $providerPool;
     $this->teaserManager = $teaserManager;
 }
Пример #2
0
 public function __construct($template, MarkupParserInterface $markupParser, $markupNamespace = 'sulu')
 {
     parent::__construct('TextEditor', '');
     $this->template = $template;
     $this->markupParser = $markupParser;
     $this->markupNamespace = $markupNamespace;
 }
Пример #3
0
 public function __construct($template)
 {
     parent::__construct('Phone', '');
     $this->template = $template;
 }
Пример #4
0
 public function __construct($template)
 {
     parent::__construct('Checkbox', false);
     $this->template = $template;
 }
Пример #5
0
 public function __construct($template)
 {
     parent::__construct('SingleInternalLink', '');
     $this->template = $template;
 }
Пример #6
0
 public function __construct($template)
 {
     parent::__construct('TextArea', '');
     $this->template = $template;
 }
Пример #7
0
 public function __construct($template)
 {
     parent::__construct('SingleSelect', '');
     $this->template = $template;
 }
Пример #8
0
 public function __construct($template)
 {
     parent::__construct('MultipleSelect', []);
     $this->template = $template;
 }
Пример #9
0
 public function __construct($template)
 {
     parent::__construct('ResourceLocator', '');
     $this->template = $template;
 }