예제 #1
0
 /**
  * @since 3.0
  *
  * @param string $wmsServerUrl
  * @param string $wmsLayerName
  * @param string $wmsStyleName
  */
 public function __construct($wmsServerUrl, $wmsLayerName, $wmsStyleName = "default")
 {
     parent::__construct();
     $this->setWmsServerUrl($wmsServerUrl);
     $this->setWmsLayerName($wmsLayerName);
     $this->setWmsStyleName($wmsStyleName);
 }
예제 #2
0
 public function __construct($htmlp, $type = '')
 {
     parent::__construct($htmlp);
     $this->set_format('%3$s');
 }
예제 #3
0
 public function __construct($htmlp, $type = '')
 {
     parent::__construct();
     $this->set_format('<%1$s %2$s>');
 }
예제 #4
0
 /**
  * The constructor.
  *
  * @param Application        $application The application object
  * @param ContainerInterface $container   The container object
  * @param Element            $entity
  */
 public function __construct(Application $application, ContainerInterface $container, Element $entity)
 {
     parent::__construct($application, $container, $entity);
 }
예제 #5
0
 /**
  * EmailElement constructor.
  * @param string $name
  */
 function __construct($name)
 {
     parent::__construct($name);
     $this->template = "Template/Email.phtml";
 }
예제 #6
0
파일: Element.php 프로젝트: gossi/webform
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->config($config, array('description', 'title'));
 }