Solstice::Controller::FormInput::DateTime - Allows the manipulation of a Solstice::DateTime model


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::Controller::FormInput::DateTime - Allows the manipulation of a Solstice::DateTime model

SYNOPSIS

Top

DESCRIPTION

Top

Superclass

Solstice::Controller::FormInput

Export

No symbols exported.

Methods

new($datetime)

Constructor.

getView()
update()
validate()

IDEA: add a way to set a callback function into this controller for validation. That would allow validation to be sensitive to the form context.

constrainValidDateTime()
constrainFutureDateTime()
constrainMinimumDateTime($minimum_date)
constrainMaximumDateTime($maximum_date)
commit()
revert()
hasDateChanged()

Returns TRUE if date persistence data differs from stored data.

setRequireFuture(bool)
getRequireFuture()
_getFullYear($str)

Convert a two-digit year string into a four-digit year string

Modules Used

Solstice::Controller.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 3155 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.