/** * Constructor. * * @param \DOMElement $node The node associated with this field */ public function __construct(\DOMElement $node) { parent::__construct($node); $this->name = $node->getAttribute('name'); $this->initialize(); }