diff options
author | Urban Müller | 2012-10-24 12:33:51 +0000 |
---|---|---|
committer | Urban Müller | 2012-10-24 12:33:51 +0000 |
commit | e5bef1ca2d3391b12483922e180d86cff991e854 (patch) | |
tree | 9ee1f592584b80ffd8b9089e743fd0d5bcd7d093 | |
parent | 8fc366b1b2e1d985baa7300e91b1c8cf3c88d8cb (diff) | |
download | itools-e5bef1ca2d3391b12483922e180d86cff991e854.tar.gz itools-e5bef1ca2d3391b12483922e180d86cff991e854.tar.bz2 itools-e5bef1ca2d3391b12483922e180d86cff991e854.zip |
better handle unexported funcs in subclasses
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 07199c6..65e7e2a 100644 --- a/it_html.class +++ b/it_html.class @@ -67,6 +67,7 @@ class it_html function it_html($p = array()) { # Default configuration of html class + $this->p['notexported'] = trim($p['notexported'] . ',configure,sanitize', ','); $this->p = $p + array( 'charset' => ini_get('default_charset') ?: 'iso-8859-1', 'doctype' => null, # Custom doctype (will usually be calculated from htmltype) @@ -78,7 +79,6 @@ function it_html($p = array()) 'name' => 'it_html', # Name of global variable $this is assigned to (string), XXX Copy and paste in configure() to keep PHP4 compatibility 'nonewlinetags' => 'a,b,em,img,input,label,span,noscript', # tags that do not like newlines after them 'alwaysclosetags' => 'a,div,iframe,pre,script,span,tbody,td,tfoot,thead,textarea', # tags which always get a close tag - 'notexported' => 'configure,sanitize',# Those methods are not exported 'prettyprint' => it::is_devel(), # Should output be prettily indented? 'show_boot_dom' => false, # If true, append invisible <div id="it_boot_dom"> at the end of body 'show_content_type' => true, # If true, add <meta http-equiv="Content-Type" ...> header |