1 |
jonen |
1.1 |
<?php |
2 |
|
|
|
3 |
|
|
/** |
4 |
|
|
* This file holds some global defines used by several |
5 |
|
|
* classes of phpHtmlLib. |
6 |
|
|
* |
7 |
jonen |
1.2 |
* $Id: defines.inc,v 1.4 2003/01/31 00:42:43 hemna Exp $ |
8 |
jonen |
1.1 |
* |
9 |
|
|
* @author Walter A. Boring IV <waboring@buildabetterweb.com> |
10 |
|
|
* @package phpHtmlLib |
11 |
|
|
* |
12 |
|
|
*/ |
13 |
|
|
|
14 |
|
|
/** |
15 |
|
|
* Some global defines, used by the classes and widgets |
16 |
|
|
* to specify what type of output document format to use. |
17 |
|
|
* |
18 |
|
|
*/ |
19 |
|
|
define("XHTML_TRANSITIONAL", "xhtml_transitional"); |
20 |
|
|
define("XHTML", "xhtml_transitional"); |
21 |
|
|
define("XHTML_STRICT", "xhtml_strict"); |
22 |
|
|
define("XHTML_FRAMESET", "xhtml_frameset"); |
23 |
|
|
define("HTML", "html"); |
24 |
|
|
|
25 |
|
|
/** |
26 |
|
|
* Some defines to tell the class what style of |
27 |
|
|
* indenting of the output the user wants. |
28 |
|
|
*/ |
29 |
|
|
define("INDENT_NICE", 0); |
30 |
|
|
define("INDENT_LEFT_JUSTIFY", -1); |
31 |
jonen |
1.2 |
|
32 |
|
|
|
33 |
|
|
/** |
34 |
|
|
* some nice globals |
35 |
|
|
*/ |
36 |
|
|
define( "_HTML_SPACE", " "); |
37 |
|
|
|
38 |
|
|
/** |
39 |
|
|
* Some global defines for the tag classes |
40 |
|
|
*/ |
41 |
|
|
define( "_INDENT_STR", " "); |
42 |
|
|
|
43 |
|
|
define( "_NEWLINEAFTERCONTENT", 1); |
44 |
|
|
define( "_NEWLINEAFTEROPENTAG", 2); |
45 |
|
|
define( "_NEWLINEAFTERCLOSETAG", 4); |
46 |
|
|
define( "_CONTENTREQUIRED", 8); |
47 |
|
|
define( "_CLOSETAGREQUIRED", 16); |
48 |
|
|
define( "_DEPRICATED", 32); |
49 |
|
|
define( "_INDENT", 64); |
50 |
|
|
define( "_COLLAPSE", 128); |
51 |
|
|
define( "_ALWAYS_UPPERCASE", 256); |
52 |
|
|
define( "_ALWAYS_LOWERCASE", 512); |
53 |
|
|
define( "_NOFINISHSLASHXHTML", 1024); |
54 |
|
|
define( "_CDATACONTENTWRAP", 2048); |
55 |
|
|
define( "_XHTMLCOMPLIANT", 4096); |
56 |
|
|
|
57 |
|
|
define( "_TAG_PREFIX", "<"); |
58 |
|
|
define( "_TAG_SUFFIX", ">"); |
59 |
jonen |
1.1 |
?> |