Ejemplo n.º 1
0
 function __construct(array $data = array(), $type = null)
 {
     if (!is_null($type)) {
         $this->setDataType($type);
     }
     parent::__construct($data);
 }
Ejemplo n.º 2
0
 function __construct($name = null, array $attributes = null, Node $parent = null)
 {
     parent::__construct();
     if (is_string($name)) {
         $this->setName($name);
     }
     if ($parent instanceof Node) {
         $parent->_children->add($this);
     }
     if (is_array($attributes)) {
         $this->setAttributes($attributes);
     }
 }
Ejemplo n.º 3
0
 function __construct(array $array = array(), \DBAL\Data\Mapping\Filter $filter)
 {
     $this->filter = $filter;
     parent::__construct($array);
 }
Ejemplo n.º 4
0
 function __construct(array $params = array())
 {
     parent::__construct();
     $this->setParameters($params);
 }
Ejemplo n.º 5
0
 function __construct(\IO\Context $context)
 {
     $this->setContext($context);
     parent::__construct();
 }