1 | <?php |
||
11 | class Head extends Abstract_\ElementContent |
||
12 | { |
||
13 | |||
14 | use Trait_\DefaultElementContent; |
||
15 | |||
16 | public static function tagName() |
||
20 | |||
21 | function __construct(Interface_\ContentModelText $objTitleContent) |
||
29 | |||
30 | /** |
||
31 | * |
||
32 | * @param string $strName |
||
33 | * @param string $strContent |
||
34 | * @return \hemio\html\Meta |
||
35 | */ |
||
36 | function addMeta($strName, $strContent) |
||
45 | |||
46 | /** |
||
47 | * |
||
48 | * @param string $strFilename |
||
49 | */ |
||
50 | function addCssFile($strFilename) |
||
59 | |||
60 | /** |
||
61 | * |
||
62 | * @param string $url |
||
63 | */ |
||
64 | function addJsFile($url) |
||
72 | |||
73 | /** |
||
74 | * |
||
75 | * @param type $url |
||
76 | * @todo URL |
||
77 | */ |
||
78 | public function setBaseUrl($url) |
||
84 | |||
85 | public function blnIsBlock() |
||
89 | |||
90 | public function isValidChild(Interface_\HtmlCode $child) |
||
94 | |||
95 | public function addChild(Interface_\ContentModelMetadata $child) |
||
99 | } |
||
100 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.