Exemple #1
0
 function __construct(\DBAL\Data\Entity $entity, array $array = array(), $type = null)
 {
     $this->setEntity($entity);
     if (is_null($type)) {
         $type = 'DBAL\\Data\\Entity\\Relationship';
     }
     parent::__construct($array, $type);
 }
Exemple #2
0
 function __construct(\DBAL\Data\Model $model, array $array = array(), $type = null)
 {
     $this->setModel($model);
     if (is_null($type)) {
         $type = 'DBAL\\Data\\Model\\Attribute';
     }
     parent::__construct($array, $type);
 }
Exemple #3
0
 function __construct(\DBAL\Data\Tree\Node $node)
 {
     $this->_node = $node;
     parent::__construct(array(), 'DBAL\\Data\\Tree\\Node');
 }