WMLDeck class Manage WML Decks of cards.
The main element in WML content - the deck which holds all the cards.
Located in /wml-defs.php (line 722)
RenderableObject | --WMLdeck
Constructor Create a new WML deck.
Calculate the length (size) of deck Calculates the WML length from scratch.
Return HTML content Use render() to render this element in your page.
Returns a string which is the HTML for the deck.
Add card Inserts a ready-made card object into the deck.
Define template defines the template for the deck.
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.
New card Creates a card and inserts the new card object into the deck.
Return complete WML response content including DOCTYPE, <wml> tags, and the content-length header.
Return WML content for this deck.
Use render() to render this element in your page. Returns a string which is the WML for the deck. First we render any template and then we iterate over all the cards defined for the deck.
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3