Subclasses call parent::_construct($options). options
can contain the keys, lineend, charset, language, direction, tab, and link.
Parameters [options] Associative array of configuration options
Appendix
[ 394 ]
Methods
addLink( url : string ) : void
Sets base URI of the document.
Parameters url Base URI
addScript( url : string, type : string='text/javascript' ) : void
Adds a link to a script to the document.
Parameters url Script URI
[type] MIME type
addScriptDeclaration( content : string, type : string='text/javascript') :
void
Embeds a script in the document.
Parameters content Script
[type] MIME type
addStyleSheet( url : string, type : string='text/css', media :
string=null, attribs : array=array() ) : void
Links a stylesheet to the document. media is the link tag's media attribute. Common media
types include screen, handheld, print, and aural. attribs is an associative array of
link tag attributes.
Parameters url Script URI
[type] MIME type
[media] Link tag media attribute type
[attribs] Associative array of tag attributes
addStyleDeclaration( content : string, type : string='text/css' ) : void
Embeds styles in the document.
Pages:
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551