HTML::TurboForm::Element::Html - HTML::TurboForm::Element::Html documentation


HTML-TurboForm documentation Contained in the HTML-TurboForm distribution.

Index


Code Index:

HTML::TurboForm::Element::Html

Top

Representation class for Html element .

DESCRIPTION

Top

Straight forward so no need for much documentation. See HTML::TurboForm doku for mopre details.

METHODS

Top

render

Arguments: $options

returns HTML Code. This element is needed if you want to insert plain HTML Code in a certain Position in a form.

AUTHOR

Top

Thorsten Domsch, tdomsch@gmx.de


HTML-TurboForm documentation Contained in the HTML-TurboForm distribution.

package HTML::TurboForm::Element::Html;
use warnings;
use strict;
use base qw(HTML::TurboForm::Element);
__PACKAGE__->mk_accessors( qw/ pure / );

sub render {
  my ($self, $options, $view)=@_;
  if ($view) { $self->{view}=$view; }

  return $self->{text} if ($self->{pure});
  return $self->vor($options).$self->{text}.$self->nach;
}

sub get_dbix{
    my ($self)=@_;
    return 0;
}

1;


__END__