Пример #1
0
 public function __construct($link, array $attributes = NULL)
 {
     $attributes['href'] = $link;
     $attributes['rel'] = 'stylesheet';
     $attributes['type'] = 'text/css';
     parent::__construct($attributes);
 }
Пример #2
0
 public function __construct($link, array $attributes = NULL)
 {
     $attributes['src'] = $link;
     parent::__construct($attributes);
 }
Пример #3
0
 public function __construct($link = NULL, array $attributes = NULL)
 {
     $link !== NULL and $attributes['href'] = $link;
     parent::__construct($attributes);
 }
Пример #4
0
 public function __construct($content, array $attributes = NULL)
 {
     $attributes['content'] = $content;
     parent::__construct($attributes);
 }