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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Sat Feb 22 21:08:24 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

1 jonen 1.1 <?php
2    
3     /**
4     * This contains the WMLDocumentClass
5     *
6     * $Id: WMLDocumentClass.inc,v 1.5 2002/11/01 22:37:42 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