Example #1
0
 public function __construct(array $data)
 {
     parent::__construct($data, $this->parent);
     foreach ($data as $key => $field) {
         $this->{$key} = new SharpEntityListTemplateColumn($field, $this->parent);
     }
 }
Example #2
0
 public function __construct($key, array $data)
 {
     parent::__construct($data, null);
     $this->key = $key;
 }