コード例 #1
0
ファイル: style.php プロジェクト: greor/satin-spb
 public function __construct($link, array $attributes = NULL)
 {
     $attributes['href'] = $link;
     $attributes['rel'] = 'stylesheet';
     $attributes['type'] = 'text/css';
     parent::__construct($attributes);
 }
コード例 #2
0
ファイル: script.php プロジェクト: greor/satin-spb
 public function __construct($link, array $attributes = NULL)
 {
     $attributes['src'] = $link;
     parent::__construct($attributes);
 }
コード例 #3
0
ファイル: link.php プロジェクト: greor/satin-spb
 public function __construct($link = NULL, array $attributes = NULL)
 {
     $link !== NULL and $attributes['href'] = $link;
     parent::__construct($attributes);
 }
コード例 #4
0
ファイル: meta.php プロジェクト: greor/satin-spb
 public function __construct($content, array $attributes = NULL)
 {
     $attributes['content'] = $content;
     parent::__construct($attributes);
 }