\MyAppDonationFactory

Creates a new donation Requires data to be passed by $_POST

Summary

Methods
Properties
Constants
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
validateFields()
No private properties found
N/A

Methods

create()

create() : \PP\Models\Donation

Creates a new donation object Requires data to be passed through $_POST

Returns

\PP\Models\Donation

the donation object

validateFields()

validateFields() : \MyApp\void;

Validates Fields sent from front-end Relies heavily on $_POST

Throws

\Exception

on update error or invalid security options

Returns

\MyApp\void;