Prev | Current Page 349 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

This is a list of the CSS2
recognized media types:
all
aural
braille
embossed
handheld
print
projection
screen
tty
For more information about CSS media types please refer to the official documentation
available at http://www.w3.org/TR/1998/REC-CSS2-19980512/media.html.
The addStyleDeclaration() method allows us to add RAW CSS styles to the
header. This is an example of how to use the addStyleDeclaration() method:
$css = '.somestyle { padding: 10px; }';
$document->addStyleDeclaration($css);
??? ??? ??? ??? ??? ??? ??? ??? ???
Chapter 9
[ 263 ]
Metadata
Metadata tags are used to help describe a document. There are two different types of
metadata: http-equiv and non http-equiv. Metadata that is http-equiv is used to
determine metadata to be used as HTTP header data.
There are two metadata methods in the document:
getMetaData(): This is used to retrieve the document metadata.
setMetaData(): This is used to add metadata to the document.
When we create extensions that handle information that we want search engines to
index, it is important to add metadata to the document.


Pages:
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
drukarki fiskalne kraków willa karmazyn międzyzdroje www.books61.hobbitstory.com terapia magnetyczna Informacje o hostingu