[wml] element index

Package indexes

All elements
a b c f g h i l m n o p r s t w
a
top
Method add_field
WMLfieldset::add_field() in wml-defs.php
Add field Add a field object to the fields in this fieldset.
b
top
Variable $body
WMLelement::$body in wml-defs.php
The content of the element
c
top
Variable $cards
WMLdeck::$cards in wml-defs.php
Array of card objects
Variable $card_id
WMLcard::$card_id in wml-defs.php
Unique card identifier string
Method calculate_length
Calculate the length (size) of deck Calculates the WML length from scratch.
f
top
Variable $fields
WMLfieldset::$fields in wml-defs.php
Array of fields
Variable $fields_total
Total number of fields
g
top
Variable $go
WMLanchor::$go in wml-defs.php
Go object associated with this link
h
top
Variable $href
WMLgo::$href in wml-defs.php
URL to GO to
Function href_rewrite
href_rewrite() in wml-defs.php
Re-writes the given HREF, appending session ID if found. Appends the
Method html
WMLgo::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLrefresh::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLtemplate::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLprev::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLfieldset::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLanchor::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLcard::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLdeck::html() in wml-defs.php
Return HTML content Use render() to render this element in your page.
Method html
WMLdo_element::html() in wml-defs.php
Produce main HTML for DO element
i
top
Method insert
WMLelement::insert() in wml-defs.php
Insert content Append more WML content to the body. This just concatenates the given string onto the existing content.
Method insert
WMLanchor::insert() in wml-defs.php
Insert content into the anchor
Method insert_card
WMLdeck::insert_card() in wml-defs.php
Add card Inserts a ready-made card object into the deck.
Method insert_go
Insert GO element into container
Method insert_para
Insert paragraph small text Append content to the body inside a paragraph and with small text tags around it. Refinement of the standard insert_paragraph() method.
Method insert_paragraph
Insert paragraph Append content to the body inside a paragraph.
Method insert_para_scrubbed
Insert paragraph small text scrubbed Append content to the body inside a paragraph and with small text tags around it. Just like insert_para() except we also scrub the content to make sure it is clean.
Method insert_prev
Insert PREV element into container
Method insert_refresh
Insert REFRESH element into container
Method insert_template
Define template defines the template for the deck.
l
top
Variable $label
WMLdo_element::$label in wml-defs.php
Label for the Do element
Method length
WMLdeck::length() in wml-defs.php
Length (size) of deck Return the length of the WML. NOTE: this should only be called *after* the wml() function has been called, or it will return zero.
m
top
Variable $method
WMLgo::$method in wml-defs.php
Method, eg. "post"
n
top
Variable $name
WMLdo_element::$name in wml-defs.php
Name of the DO element
Variable $newcontext
WMLcard::$newcontext in wml-defs.php
True if card has its own context
Method new_card
WMLdeck::new_card() in wml-defs.php
New card Creates a card and inserts the new card object into the deck.
o
top
Variable $ontimerhref
URL to go to when timer expires
Variable $optional
WMLdo_element::$optional in wml-defs.php
True if optional
Variable $ordered
WMLcard::$ordered in wml-defs.php
True if the card is "ordered"
p
top
Variable $postfields
WMLgo::$postfields in wml-defs.php
Array of fields to post
Method postfield
WMLgo::postfield() in wml-defs.php
Define a field to post with this GO element. When fields are defined like this the method is automatically switched to being "post" for the GO element.
r
top
Method response
WMLdeck::response() in wml-defs.php
Return complete WML response content including DOCTYPE, <wml> tags, and the content-length header.
s
top
Function scrub
scrub() in wml-defs.php
Scrubs the given string to make it acceptable to touchy WML parsers in cellphones.
Method set_ontimer
Activate a timer Sets up the parameters for a timer.
Method set_variable
Define a variable This variable will be sent to the server when the user clicks the link.
t
top
Variable $template
WMLdeck::$template in wml-defs.php
Optional template
Variable $text
WMLanchor::$text in wml-defs.php
Text to display for the anchor/link
Variable $timerval
WMLcontainer::$timerval in wml-defs.php
Timer expiry interval (in 10ths of seconds)
Variable $title
WMLfieldset::$title in wml-defs.php
Title of the set of fields
Variable $title
WMLanchor::$title in wml-defs.php
Title of the anchor
Variable $title
WMLcard::$title in wml-defs.php
Card title/banner
Variable $type
WMLdo_element::$type in wml-defs.php
Type of DO element: 'accept', 'prev', 'help', 'reset', 'options', or 'delete'
w
top
Variable $wml_len
WMLdeck::$wml_len in wml-defs.php
Length of content in bytes
Method wml
WMLtemplate::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Method wml
WMLdo_element::wml() in wml-defs.php
Produce main WML for DO element This is a common utility method to render the DO WML once the details (body) has been filled in by the child class of this one.
Method wml
WMLrefresh::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Method wml
WMLprev::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Method wml
WMLfieldset::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Method wml
WMLdeck::wml() in wml-defs.php
Return WML content for this deck.
Method wml
WMLgo::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Method wml
WMLanchor::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Method wml
WMLcard::wml() in wml-defs.php
Return WML content Use render() to render this element in your page.
Page wml-defs.php
wml-defs.php in wml-defs.php
Method WMLanchor
WMLanchor::WMLanchor() in wml-defs.php
Constructor
Class WMLanchor
WMLanchor in wml-defs.php
WMLanchor class Provides a standard link on a WML page. It is usually an underlined bit of text which the user can click on to go to the given URL.
Class WMLcard
WMLcard in wml-defs.php
WMLcard class Manage WML cards.
Method WMLcard
WMLcard::WMLcard() in wml-defs.php
Constructor Create a new WML card.
Class WMLcontainer
WMLcontainer in wml-defs.php
WMLcontainer class Container Class: Extends element class to make a virtual class for descendants which are container of basic elements. Examples of these would be a WMLtemplate, or a WMLcard.
Method WMLcontainer
Constructor Create a new container object.
Method WMLdeck
WMLdeck::WMLdeck() in wml-defs.php
Constructor Create a new WML deck.
Class WMLdeck
WMLdeck in wml-defs.php
WMLDeck class Manage WML Decks of cards.
Method WMLdo_element
Constructor Create a new do element object.
Class WMLdo_element
WMLdo_element in wml-defs.php
WMLdo_element class Do Element Class: Extends element to make a virtual class which has descendants which are contained by a 'do' construct.
Class WMLelement
WMLelement in wml-defs.php
WMLelement class Manage WML elements. This is a virtual class used for all WML elements.
Method WMLelement
WMLelement::WMLelement() in wml-defs.php
Constructor Create a new element object.
Method WMLfieldset
Constructor Create a new fieldset object.
Class WMLfieldset
WMLfieldset in wml-defs.php
WMLfieldset class Manage a set of fields.
Method WMLgo
WMLgo::WMLgo() in wml-defs.php
Constructor Create a new go DO element object.
Class WMLgo
WMLgo in wml-defs.php
WMLgo class Extends the Do Element Class. Provide the Do element of type = 'accept'.
Method WMLprev
WMLprev::WMLprev() in wml-defs.php
Constructor Create a new prev element object.
Class WMLprev
WMLprev in wml-defs.php
WMLprev class Extends the Do Element Class. Provide the Do element of type = 'prev'.
Class WMLrefresh
WMLrefresh in wml-defs.php
WMLrefresh class Extends the Do Element Class. Provide the Do element of type = 'refresh'.
Method WMLrefresh
WMLrefresh::WMLrefresh() in wml-defs.php
Constructor Create a new refresh DO element object.
Method WMLtemplate
Constructor Create a new template object.
Class WMLtemplate
WMLtemplate in wml-defs.php
WMLtemplate class Extends container class to make a template. These are useful when you have a bunch of cards which you want to all have a common set of options.
a b c f g h i l m n o p r s t w