Docs for page wml_utils.inc

## /tag_utils/wml_utils.inc

Description

This file contains some utility functions to help build some Tag objects that are commonly used in wml.

This file only builds the helper functions that build wml specific tags. Some wml tags are identical to their HTML counterparts. You should use the html_* functions for those.

$Id: _tag_utils_wml_utils_inc.html,v 1.33.2.1 2005/05/12 01:52:15 hemna Exp $

- author: Walter A. Boring IV <waboring@newsblob.com>

Functions
wml_a (line 54)

build an href with content and attributes.

- return: object.

Atag wml_a (string $url, string $content, [string $class = NULL], [string $title = NULL])

- string $url: - the href attribute.
- string $content: - the visible link text.
- string $class: - the css class to use.
- string $title: - the title attribute

wml_access (line 80)

this function builds a wml <access /> tag

- return: object

ACCESStag wml_access (string $domain, [string $path = NULL], [string $id = NULL], [string $class = NULL])

- string $domain: - the domain attribute
- string $path: - the path attribute
- string $id: - the id attribute
- string $class: - the class attribute

wml_anchor (line 63)

this builds an <anchor> tag

- return: object

ANCHORtag wml_anchor ()
wml_card (line 109)

This function helps build a <card> tag

- return: object

CARDtag wml_card (string $title, [string $id = NULL], [string $class = NULL], mixed 3)

- mixed 3: - any N number of params for content for the tag
- string $title: - the title attribute
- string $id: - the id attribute
- string $class: - the class attribute

wml_do (line 137)

This function builds the WML <do> tag

- return: object

DOtag wml_do (string $type, mixed 1)

- mixed 1: - any N number of params for content for the tag
- string $type: - the required 'type' attribute

wml_fieldset (line 155)

This function builds an <fieldset> tag for WML.

- return: object

FIELDSETtag wml_fieldset ([mixed 0 = - any N number of params for content for the tag])

- mixed 0: - any N number of params for content for the tag

wml_go (line 172)

This function builds the WML <go> tag

- return: object

GOtag wml_go (string $href, [string $method = "get"], mixed 2)

- mixed 2: - any N number of params for content for the tag
- string $href: - the required 'href' attribute
- string $method: - the optional 'method' attribute

wml_img (line 189)

This function builds an <img> tag, which refers to a .wbmp format image.

- return: object

IMGtag wml_img (mixed $src, [mixed $width = NULL], [mixed $height = NULL], [mixed $alt = NULL])
wml_input (line 213)

This function builds the WML <input> tag object

- return: object

INPUTtag wml_input (string $name, [mixed $type = "text"], [mixed $value = NULL], [mixed $size = NULL])

- string $name: - the required 'name' attribute

wml_noop (line 233)

This function builds the WML <noop> tag

- return: object

NOOPtag wml_noop ()
wml_onevent (line 245)

This function builds a WML <onevent> tag

- return: object

ONEVENTtag wml_onevent (string $type)

- string $type: - the required 'type' attribute

wml_postfield (line 262)

This function builds a WML <postfield> tag

- return: object

POSTFIELDtag wml_postfield (string $name, string $value)

- string $name: - the required 'name' attribute
- string $value: - the required 'value' attribute

wml_prev (line 275)

This function builds a WML <prev> tag object

- return: object

PREVtag wml_prev ([mixed 0 = - any N number of params for content for the tag])

- mixed 0: - any N number of params for content for the tag

wml_refresh (line 290)

This function builds a WML <refresh> tag object

- return: object

REFRESHtag wml_refresh ([mixed 0 = - any N number of params for content for the tag])

- mixed 0: - any N number of params for content for the tag

wml_select (line 310)

This function builds the WML <select> tag

- return: object

SELECTtag wml_select ([array $options = array()])

- array $options: - an array of name value pairs for the options. the format is array( LABEL => VALUE ); each <option value="VALUE">LABEL</option> ie array( "test" => "foo") would give an option of <option value="foo">test</option>

wml_setvar (line 326)

This function builds the WML <setvar> tag

- return: object

SETVARtag wml_setvar (string $name, string $value)

- string $name: - the required 'name' attribute
- string $value: - the required 'value' attribute

wml_tag (line 368)

This function builds a <wml> tag

- return: object

WMLtag wml_tag ([mixed 0 = - any N number of params for content for the tag])

- mixed 0: - any N number of params for content for the tag

wml_template (line 340)

this function builds a <template> tag and it's content

- return: object

TEMPLATEtag wml_template ([mixed 0 = - any N number of params for content for the tag])

- mixed 0: - any N number of params for content for the tag

wml_timer (line 355)

This function builds the WML <timer> tag the time unit of the value is 1/10 of a second.

- return: object

TIMERtag wml_timer (string $value)

- string $value: - the required 'value' attribute

Documentation generated on Wed, 11 May 2005 18:21:10 -0700 by phpDocumentor 1.3.0RC3