__construct() public method

public __construct ( $name, $defaultValue = null )
Example #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;
 }
Example #2
0
 public function __construct($template, MarkupParserInterface $markupParser, $markupNamespace = 'sulu')
 {
     parent::__construct('TextEditor', '');
     $this->template = $template;
     $this->markupParser = $markupParser;
     $this->markupNamespace = $markupNamespace;
 }
Example #3
0
 public function __construct($template)
 {
     parent::__construct('Phone', '');
     $this->template = $template;
 }
Example #4
0
 public function __construct($template)
 {
     parent::__construct('Checkbox', false);
     $this->template = $template;
 }
Example #5
0
 public function __construct($template)
 {
     parent::__construct('SingleInternalLink', '');
     $this->template = $template;
 }
Example #6
0
 public function __construct($template)
 {
     parent::__construct('TextArea', '');
     $this->template = $template;
 }
Example #7
0
 public function __construct($template)
 {
     parent::__construct('SingleSelect', '');
     $this->template = $template;
 }
Example #8
0
 public function __construct($template)
 {
     parent::__construct('MultipleSelect', []);
     $this->template = $template;
 }
Example #9
0
 public function __construct($template)
 {
     parent::__construct('ResourceLocator', '');
     $this->template = $template;
 }