Public Member Functions | |
__construct () | |
setRequiredFields ($aRequiredFields) | |
getRequiredFields () | |
getBillingFields () | |
getDeliveryFields () | |
Private Member Functions | |
_filterFields ($aFields, $sPrefix) | |
Private Attributes | |
$_aDefaultRequiredFields | |
$_aRequiredFields = array() |
Defines and returns delivery and billing required fields.
Definition at line 6 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.__construct | ( | ) |
Sets default required fields either from config or from _aDefaultRequiredFields.
Definition at line 34 of file oxrequiredaddressfields.php.
oxRequiredAddressFields._filterFields | ( | $ | aFields, | |
$ | sPrefix | |||
) | [private] |
Removes delivery fields from fields list.
array | $aFields | |
string | $sPrefix |
Definition at line 96 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.getBillingFields | ( | ) |
Returns required fields for user address validation.
Definition at line 69 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.getDeliveryFields | ( | ) |
Returns required fields for delivery address validation.
Definition at line 81 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.getRequiredFields | ( | ) |
Returns all required fields.
Definition at line 59 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.setRequiredFields | ( | $ | aRequiredFields | ) |
Sets all required fields.
array | $aRequiredFields |
Definition at line 49 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.$_aDefaultRequiredFields [private] |
array( 'oxuser__oxfname', 'oxuser__oxlname', 'oxuser__oxstreetnr', 'oxuser__oxstreet', 'oxuser__oxzip', 'oxuser__oxcity' )
Definition at line 14 of file oxrequiredaddressfields.php.
oxRequiredAddressFields.$_aRequiredFields = array() [private] |
Definition at line 28 of file oxrequiredaddressfields.php.