예제 #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);
 }