Beispiel #1
0
 /**
  * Creates a new image element.
  * 
  * @param array $attributes The attributes that should be assigned to the element.
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
 }
Beispiel #2
0
 /**
  * Creates a new anchor element.
  * 
  * @param array $attributes The attributes that should be assigned to the element.
  */
 public function __construct($content, array $attributes)
 {
     parent::__construct($attributes);
     $this->content = $content;
 }