John Drago > Apache2-ASP-1.56_1 > Apache2::ASP::Tag

Download:
Apache2-ASP-1.56_1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View Bugs
Report a bug
Source   Latest Release: Apache2-ASP-1.59

NAME ^

EXPERIMENTAL STATUS ^

NOTE: This module and the entire tag model for Apache2::ASP is very experimental at this point. Do not use tags in your production code because they will change in a future release.

SYNOPSIS ^

  package My::Bold;
  
  # Your tag should subclass Apache2::ASP::Tag:
  use base 'Apache2::ASP::Tag';
  
  # Declare these variables if you want access to them:
  use vars qw(
    $Session  $Server
    $Request  $Response
    $Config   $Application
    $Form
  );
  
  # You must define this method:
  sub render
  {
    my ($s, $args, $innerHTML) = @_;
    
    return "<b>" . $innerHTML . "</b>";
  }# end render()
  
  1;# return true:

DESCRIPTION ^

PUBLIC METHODS ^

new( )

Returns a blessed hashref-based object.

ABSTRACT METHODS ^

render( $args, $innerHTML )

Should return a string.