예제 #1
0
파일: img.php 프로젝트: Borvik/Munla
 /**
  * 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);
 }
예제 #2
0
파일: a.php 프로젝트: Borvik/Munla
 /**
  * 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;
 }