Inheritance diagram for tx_commerce_pi3:

Public Member Functions | |
| init ($conf) | |
| main ($content, $conf) | |
| renderSteps ($content) | |
| getBillingAddress ($withTitle=1) | |
| getDeliveryAddress () | |
| handlePayment ($paymentObj=NULL) | |
| getListing ($template=false) | |
| finishIt ($paymentObj=NULL) | |
| FinishItRenderGoodBadMarker ($markerArray) | |
| checkStock () | |
| getBasketSum ($type= 'WEB') | |
| getAddress ($addressType) | |
| validateAddress ($addressType) | |
| checkUserName ($username) | |
| getPaymentData () | |
| getPaymentType ($id=false) | |
| getInputForm ($config, $step, $parseList=true) | |
| handleAddress ($type) | |
| getField ($value, $type, $field) | |
| getInputField ($fieldName, $fieldConfig, $fieldValue, $step) | |
| getSingleInputField ($fieldName, $fieldConfig, $step) | |
| getSelectInputField ($fieldName, $fieldConfig, $fieldValue= '', $step= '') | |
| getCheckboxInputField ($fieldName, $fieldConfig, $fieldValue= '', $step= '') | |
| parseFieldList ($fieldConfig) | |
| canMakeCheckout () | |
| sendUserMail ($orderUid, $orderData) | |
| sendAdminMail ($orderUid, $orderData) | |
| generateMail ($orderUid, $orderData, $userMarker=array()) | |
| parseRawData ($data=array(), $TS) | |
Public Attributes | |
| $prefixId = 'tx_commerce_pi3' | |
| $scriptRelPath = 'pi3/class.tx_commerce_pi3.php' | |
| $extKey = 'commerce' | |
| $imgFolder = '' | |
| $templateCode = '' | |
| $dbFieldData = array() | |
| $formError = array() | |
| $staticInfo | |
| $currentStep = '' | |
| $orderId | |
| $currency = '' | |
| $debug = FALSE | |
| $userMailOK | |
| $adminMailOK | |
| $finishItOK = true | |
| $CheckOutsteps = array() | |
|
|
Returns wether a checkout is allowed or not. It can return different types of results. Possible keywords are:
|
|
|
check if all Articles of Basket are in stock |
|
|
|
|
|
Finishing Page from Checkout
Real finishing starts here ! Hook for generating The OrderId Dertermine the Sysfolder, wher to place all datasests Default (if bo hook us used, the Commerce default folder) : Change to ISO3 field in static currency to get rid of relation to uid Those could be changed in new static_currencies Versions in the future Send the emails Do the output |
|
|
Fills the MarkerArray with the correct markers, regarding the success of the order currently a dummy, will bi filed in future with more error codes
|
|
||||||||||||||||
|
Generates one Mail
Hook for processing Marker Array Inspired by tt_news
|
|
|
Returns a string that contains the address data of the specified type. The type can be 'billing' or 'delivery'.
|
|
|
This method returns an general overview about the basket content. It contains
|
|
|
Creates a form for collection the billing address data. Build pre selcted Radio Boxes Hook for processing Marker Array Inspired by tt_news
|
|
||||||||||||||||||||
|
Returns a checkbox
|
|
|
Creates a form for collection the delivery address data. Hook for processing Marker Array Inspired by tt_news
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
Returns a single input form field. |
|
||||||||||||||||
|
Creates a form from a table where the fields can prefilled, configured via TypoScript. |
|
|
Method to list the content of the basket including all articles, sums and addresses.
Hook for processing Marker Array Inspired by tt_news
|
|
|
|
|
|
Returns the payment type. The type is extracted from the basket object. The type is stored in the basket as a special article.
|
|
||||||||||||||||||||
|
Returns a selectbox |
|
||||||||||||||||
|
Returns a single textfield |
|
|
Hook for processing feUserData
|
|
|
This method handles all the stuff concerning the payment.
|
|
|
Init Method, autmatically called $this->main
Reimplemented from tx_commerce_pibase. |
|
||||||||||||
|
Main Method, automatically called by TYPO3 wher inserting the plugin
Hook for handling own steps and information
|
|
|
Creates a list of array keys where the last character is removed from it but only if the last character is a dot (.) |
|
||||||||||||
|
parses raw data array from db and replace keys with matching values (select fields) like country in address data
|
|
|
This method renders the step layout into the checkout process It replaces the subpart ##CHECKOUT_STEPS###
|
|
||||||||||||
|
Sends Admin Mail
Convert Text to charset Check if user Mail is set |
|
||||||||||||
|
Sends the Information Mail to the user
Check for no injection codes
Convert Text to charset |
|
|
Checks if an address in the SESSION is valid |
|
|
|
|
|
|
|
|
Reimplemented from tx_commerce_pibase. |
|
|
|
|
|
|
|
|
If set to TRUE some debug message will be printed. |
|
|
Reimplemented from tx_commerce_pibase. |
|
|
|
|
|
|
|
|
Reimplemented from tx_commerce_pibase. |
|
|
Order ID of the Order Is generated by HOOK generateOrderId if available, otherwise is generated by uniqid |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4