コード例 #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;
 }