|
|
|
|
File: [Development] / old-advokit-installer / AddAction.class.php
(download)
/
(as text)
Revision: 1.1.1.1 (vendor branch), Sat Jun 5 04:22:12 2004 UTC (6 years, 3 months ago) by travislow Branch: advokit-installer, MAIN CVS Tags: start, HEAD Changes since 1.1: +0 -0 lines Initial import of AdvoKit into voter2voter cvs ... I hope you committed your changes. :-) |
<?
#======================================================================
# Action class for adding things to the system (typically to a database).
# The major difference from BaseAction is that request parameters are
# put directly back into the template engine, in case of redisplay.
#
# (c) 2003, Dawnstar - http://dawnstar.com - info@dawnstar.com
#======================================================================
class AddAction extends BaseAction
{
#.................................................. AddAction
#
# Constructor. Pass in the context for the current
# request. Save off request parameters in case
# originating display is redisplayed (e.g. the
# browser "back" button).
#
function AddAction( &$context )
{
parent::BaseAction( $context );
$this->okaytorepost = NULL;
$context->ustate->setData( $this->person_id, 0, $context->ustate->getValue( $this->person_id, 0, '', '', 'lastdisplay' ), '', 'prevparms', $context->request->getParms() );
}
}
?>
| cvsadmin@voter2voter.org | CVS Snapshots (updated daily) |