Class deck

Description

The deck class The class is a special kind of body section. It contains all of the main page content for a WAP phone (wml).

Located in /webpage-defs.php (line 1470)

RenderableObject
   |
   --page_section
      |
      --body
         |
         --deck
Variable Summary
 mixed $WMLtemplate
Method Summary
 deck deck ([string $templatefile = ""], [string $onload = ""], [string $parms = ""])
 string html ()
 string wml ()
 void wml_template (object $wmltemplate)
Variables
mixed $WMLtemplate (line 1472)

Template object for WML deck

Inherited Variables

Inherited from body

body::$onload
body::$parms

Inherited from page_section

page_section::$content
page_section::$script
page_section::$scriptsrc
Methods
Constructor deck (line 1481)

Constructor Create a new deck object.

deck deck ([string $templatefile = ""], [string $onload = ""], [string $parms = ""])
  • string $templatefile: Template file to load content from
  • string $onload: Script to execute when page loads
  • string $parms: Misc other parameters
html (line 1526)

This renders the body as HTML.

  • return: The body section as HTML.
string html ()

Redefinition of:
body::html()
This renders the body as HTML.
wml (line 1537)

This renders the deck content.

  • return: The body section as WML.
string wml ()

Redefinition of:
body::wml()
This renders the body as WML.
wml_template (line 1489)

Defines the template section for the deck.

void wml_template (object $wmltemplate)
  • object $wmltemplate: The template object for the WML deck

Inherited Methods

Inherited From body

 body::body()
 body::html()
 body::set_onload()
 body::set_parms()
 body::wml()

Inherited From page_section

 page_section::page_section()
 page_section::add()
 page_section::add_named_script()
 page_section::add_popup_script()
 page_section::add_script()
 page_section::add_scriptsrc()
 page_section::clear()
 page_section::get_template()
 page_section::get_trimcontent()
 page_section::html()
 page_section::replace()
 page_section::script()
 page_section::wml()

Inherited From RenderableObject

 RenderableObject::RenderableObject()
 RenderableObject::html()
 RenderableObject::render()
 RenderableObject::wml()
 RenderableObject::wmlup()
 RenderableObject::xml()

Documentation generated by phpDocumentor 1.3.0RC3