Solstice::Controller::FormInput - Superclass for all of the Solstice-provided convienience widgets


Solstice documentation Contained in the Solstice distribution.

Index


Code Index:

NAME

Top

Solstice::Controller::FormInput - Superclass for all of the Solstice-provided convienience widgets

SYNOPSIS

Top

DESCRIPTION

Top

A superclass for the Solstice FormInput controllers

Export

None by default.

Methods

new()
new($model)

Constructor.

setName($str)
getName()
setIsRequired($bool)
getIsRequired()

AUTHOR

Top

Educational Technology Development Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 25 $

SEE ALSO

Top

FCKEditor::Controller, FCKEditor::View::Editor, perl.

COPYRIGHT

Top


Solstice documentation Contained in the Solstice distribution.
package Solstice::Controller::FormInput;

# $Id: FormInput.pm 25 2006-01-14 00:50:12Z jlaney $

use strict;
use warnings;
use 5.006_000;

use base qw(Solstice::Controller);

use constant TRUE  => 1;
use constant FALSE => 0;

sub new {
    my $class = shift;
    return $class->SUPER::new(@_);
}

sub setName {
    my $self = shift;
    $self->{'_name'} = shift;
}

sub getName {
    my $self = shift;
    return $self->{'_name'};
}

sub setIsRequired {
    my $self = shift;
    $self->{'_is_required'} = shift;
}

sub getIsRequired {
    my $self = shift;
    return $self->{'_is_required'};
}


1;
__END__