Public Member Functions | Public Attributes

MarketForm Class Reference

Form for adding/editing a market region entry. More...

List of all members.

Public Member Functions

 execute ()
 fetch (&$request)
getMarket ()
getMonograph ()
 initData ()
 MarketForm ($monograph, $market)
 readInputData ()
 setMarket ($market)
 setMonograph ($monograph)

Public Attributes

 $_market
 $_monograph

Detailed Description

Form for adding/editing a market region entry.

Definition at line 17 of file MarketForm.inc.php.


Member Function Documentation

MarketForm.execute (  ) 

Save the entry

See also:
Form.execute()

Definition at line 209 of file MarketForm.inc.php.

References getMarket(), and getMonograph().

MarketForm.fetch ( &$  request  ) 

Fetch the form.

See also:
Form.fetch()

Definition at line 105 of file MarketForm.inc.php.

References getMarket(), and getMonograph().

& MarketForm.getMarket (  ) 

Get the entry

Returns:
Market

Definition at line 46 of file MarketForm.inc.php.

Referenced by execute(), fetch(), and initData().

& MarketForm.getMonograph (  ) 

Get the Monograph

Returns:
Monograph

Definition at line 62 of file MarketForm.inc.php.

Referenced by execute(), and fetch().

MarketForm.initData (  ) 

Initialize form data from the market entry.

Definition at line 81 of file MarketForm.inc.php.

References getMarket().

MarketForm.MarketForm ( monograph,
market 
)

Constructor.

Definition at line 27 of file MarketForm.inc.php.

References setMarket(), and setMonograph().

MarketForm.readInputData (  ) 

Assign form data to user-submitted data.

See also:
Form.readInputData()

Definition at line 183 of file MarketForm.inc.php.

MarketForm.setMarket ( market  ) 

Set the entry

Parameters:
@market Market

Definition at line 54 of file MarketForm.inc.php.

Referenced by MarketForm().

MarketForm.setMonograph ( monograph  ) 

Set the Monograph

Parameters:
Monograph 

Definition at line 70 of file MarketForm.inc.php.

Referenced by MarketForm().


Member Data Documentation

MarketForm.$_market

Market the entry being edited

Definition at line 22 of file MarketForm.inc.php.

MarketForm.$_monograph

The monograph associated with the format being edited

Definition at line 19 of file MarketForm.inc.php.


The documentation for this class was generated from the following file: