diff options
-rw-r--r-- | it_html.class | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/it_html.class b/it_html.class index b44dd09..8477f64 100644 --- a/it_html.class +++ b/it_html.class @@ -132,12 +132,13 @@ function html($args) /** * Return HTML header on first call or empty string on subsequent calls * - * @param any number of text args or array of key => value: - * 'content-type' optional content type (default: "text/html; charset=iso-8859-1") - * 'description' optional data for <meta name="description"> tag - * 'keywords' optional data for <meta name="keywords"> tag - * 'stylesheets' optional array mediatype => url of styleshests - * 'title' optional content of <title>, will be html encoded + * @param args... any number of assoc arrays and strings. strings will be content of <head> + * @param $p['content-type'] content type (default: "text/html; charset=iso-8859-1") + * @param $p['cssinline'] stylesheet to be put in header + * @param $p['description'] data for <meta name="description"> tag + * @param $p['keywords'] data for <meta name="keywords"> tag + * @param $p['stylesheets'] array mediatype => url of styleshests + * @param $p['title'] content of <title>, will be html encoded */ function head($args = array()) { |