HTMLObject::WMLCard(3)

NAME
WMLCard - Object used to build a WMLCard Object Class.

SYNOPSIS
  use HTMLObject::WMLCard;
  my $obj = HTMLObject::WMLCard->new;
  if ($obj->didErrorOccur())
  {
    die $obj->errorMessage();
  }

DESCRIPTION
WMLCard is a WMLCard class.

Exported FUNCTIONS
  scalar new(id, title, newcontext, ordered, onenterforward,
             onenterbackword, ontimer)
    Creates a new instance of the HTMLObject::WMLCard
    object.

  bool isValid(void)
    Returns 0 or 1 to indicate if the object is valid.  The error will
    be available via errorMessage().

  void setError(errorString)
    sets error and errorString to indicate an error occurred.

  scalar didErrorOccur(void)
    Returns the value of error.

  scalar errorMessage(void)
    Returns the value of errorString.

  void print(scalar)
    Adds the contents of the passed in string to the content string.

  scalar display(void)
    Returns the <card id=""...> content </card> for this object.

  NOTE:  All data fields are accessible by specifying the object
         and pointing to the data member to be modified on the
         left-hand side of the assignment.
         Ex.  $obj->variable($newValue); or $value = $obj->variable;

AUTHOR
James A. Pattie (mailto:htmlobject@pcxperience.com)

SEE ALSO
perl(1), HTMLObject::WAP(3)