/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/widgets/wml/WMLDocumentClass.inc
ViewVC logotype

Contents of /nfo/php/libs/com.newsblob.phphtmllib/widgets/wml/WMLDocumentClass.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Thu May 6 16:27:54 2004 UTC (20 years, 3 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
 updated all to v2.4.1 - Apr 01, 2004

1 <?php
2
3 /**
4 * This contains the WMLDocumentClass
5 *
6 * $Id: WMLDocumentClass.inc,v 1.1 2003/02/27 22:02:48 hemna Exp $
7 *
8 * @author Walter A. Boring IV <waboring@buildabetterweb.com>
9 * @package phpHtmlLib
10 *
11 */
12
13
14 /**
15 *
16 * This class lets you build a complete
17 * WML document and render it
18 *
19 * @author Walter A. Boring IV <waboring@buildabetterweb.com>
20 * @package phpHtmlLib
21 */
22 class WMLDocumentClass extends XMLDocumentClass {
23
24 function WMLDocumentClass() {
25 $this->set_doctype_source("PUBLIC");
26 XMLDocumentClass::XMLDocumentClass("wml",
27 "-//WAPFORUM//DTD WML 1.1//EN");
28 $this->set_doctype_link("http://www.wapforum.org/DTD/wml_1.1.xml");
29
30 //by default we want to output the
31 //http Content-type header
32 $this->show_http_header(TRUE);
33
34 //set the correct content-type
35 $this->set_http_content_type( "text/vnd.wap.wml" );
36 }
37 }
38 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed