## iPhorm_SuccessHandler_Mysql

Description

Located in /iPhorm/SuccessHandler/Mysql.php (line 3)

    iPhorm_SuccessHandler_Abstract
       |
       --iPhorm_SuccessHandler_Mysql

Variable Summary
string $_dbname
mixed $_fieldMap
iPhorm $_form
string $_host
string $_password
string $_table
string $_username
Method Summary
void run ()
void setConfig ( $config)
void setFieldMap ( $fieldMap)
void setForm (iPhorm $form)
Variables
string $_dbname (line 31)

Mysql database name

- access: protected

mixed $_fieldMap = array() (line 45)

A mapping of element names to table field names

- access: protected

iPhorm $_form (line 52)

The form

- access: protected

Redefinition of:

iPhorm_SuccessHandler_Abstract::$_form
  The form

string $_host = 'localhost' (line 10)

Mysql host

- access: protected

string $_password (line 24)

Mysql password

- access: protected

string $_table (line 38)

Mysql table name

- access: protected

string $_username (line 17)

Mysql username

- access: protected

#### Inherited Variables

Inherited from iPhorm_SuccessHandler_Abstract

> iPhorm_SuccessHandler_Abstract::$_charset

Methods
run (line 67)

Insert the submitted form into the specified Mysql database.

- access: public

void run ()
setConfig (line 127)

Sets the database configuration settings

- access: public

void setConfig ( $config)

- array $config

setFieldMap (line 152)

Set the field map, which maps a form element name to a database table field name.

- access: public

void setFieldMap ( $fieldMap)

- array $fieldMap

setForm (line 59)

Set the form

- access: public

void setForm (iPhorm $form)

- iPhorm $form

Redefinition of:

iPhorm_SuccessHandler_Abstract::setForm()
  Set the form

#### Inherited Methods

Inherited From iPhorm_SuccessHandler_Abstract

> iPhorm_SuccessHandler_Abstract::__construct()
> iPhorm_SuccessHandler_Abstract::getForm()
> iPhorm_SuccessHandler_Abstract::setForm()

Documentation generated on Thu, 24 Feb 2011 22:19:38 +0000 by phpDocumentor 1.4.3