Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Ecommerce_Checkout_Edit_Fns Class Reference
Inheritance diagram for Ecommerce_Checkout_Edit_Fns:
Page_Edit_Fns Asset_Edit_Fns MySource_Object

Public Member Functions

 paintDeliveryMethod (&$asset, &$o, $prefix)
 
 processDeliveryMethod (&$asset, &$o, $prefix)
 
 paintContextScreens (&$asset, &$o, $prefix)
 
 paintFlatCharges (&$asset, &$o, $prefix)
 
 processFlatCharges (&$asset, &$o, $prefix)
 
 paintTaxableCountries (&$asset, &$o, $prefix)
 
 processTaxableCountries (&$asset, &$o, $prefix)
 
 _paintCountrySelectBox ($wa, $name, $selected, $size=9, $multiple=TRUE)
 
 _processCountrySelectBox (&$asset, $prefix, $name)
 
 paintQuantitySource (&$asset, &$o, $prefix)
 
 processQuantitySource (&$asset, &$o, $prefix)
 
 paintItemWeightSource (&$asset, &$o, $prefix)
 
 processItemWeightSource (&$asset, &$o, $prefix)
 
 _paintFieldSelector (&$asset, $selector)
 
 _processFieldSelector (&$asset, $selector)
 
 paintCountryDeliveryWeightFees (&$asset, &$o, $prefix)
 
 processCountryDeliveryWeightFees (&$asset, &$o, $prefix)
 
 paintInternationalDeliveryFeeExempt (&$asset, &$o, $prefix)
 
 processInternationalDeliveryFeeExempt (&$asset, &$o, $prefix)
 
 paintConditionalDeliveryFee (&$asset, &$o, $prefix)
 
 processConditionalDeliveryFee (&$asset, &$o, $prefix)
 
 paintCustomiseReceipt (&$asset, &$o, $prefix)
 
 processCustomiseReceipt (&$asset, &$o, $prefix)
 
 paintAllActions ($asset, Backend_Outputter $o, $prefix)
 
 processAllActions ($asset, Backend_Outputter $o, $prefix)
 
 paintNewAction ($asset, Backend_Outputter $o, $prefix)
 
 processNewAction ($asset, Backend_Outputter $o, $prefix)
 
 paintSelectedAction ($asset, Backend_Outputter $o, $prefix)
 
 _paintAssetTypeChooser ($field_name, $selected_type_code)
 
 processSelectedAction ($asset, Backend_Outputter $o, $prefix)
 
- Public Member Functions inherited from Page_Edit_Fns
 __construct ()
 
- Public Member Functions inherited from Asset_Edit_Fns
 Asset_Edit_Fns ()
 
 paintPaths (&$asset, &$o, $prefix)
 
 paintEditRemapURLs (&$asset, &$o, $prefix)
 
 processPaths (&$asset, &$o, $prefix)
 
 processEditRemapURLs (&$asset, &$o, $prefix)
 
 paintURLs (&$asset, &$o, $prefix)
 
 paintAddRemapURLs (&$asset, &$o, $prefix)
 
 processAddRemapURLs (&$asset, &$o, $prefix)
 
 isWorkflowComplete (&$asset)
 
 paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE)
 
 processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE)
 
 isSearchInstalled (&$asset, $prefix)
 
 isBeingCreated (&$asset)
 
 isNotBeingCreated (&$asset)
 
 paintAutomaticRemapSetting (&$asset, &$o, $prefix)
 
 paintCreateLink (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Protected Member Functions

 _makeValidActionName ($asset, $base_name)
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 31 of file ecommerce_checkout_edit_fns.inc.

Member Function Documentation

_makeValidActionName (   $asset,
  $base_name 
)
protected

Make an action name valid by adding a numeric index to it if a duplicate

Returns the base name if no duplicate name is found, or tries "Base Name 2", "Base Name 3", and so on, until a unique name is found, and returns the first unique name it finds.

Parameters
$assetThe form whose interface we are painting
string$base_nameBase name to use
Returns
boolean

Definition at line 1434 of file ecommerce_checkout_edit_fns.inc.

_paintAssetTypeChooser (   $field_name,
  $selected_type_code 
)

Paints the interface for choosing an asset type.

Only non-system assets and instantiable assets and their ancestors are printed

Parameters
string$field_namethe name to use for the combo box
string$selected_type_codethe type_code that should be currently selected
Returns
void private

Definition at line 1330 of file ecommerce_checkout_edit_fns.inc.

_paintCountrySelectBox (   $wa,
  $name,
  $selected,
  $size = 9,
  $multiple = TRUE 
)

Paint country select box

Parameters
boolean$waWhether the asset has write access
string$nameThe name of the field
array$selectedCountries selected by default
int$sizeSize of box
boolean$multipleWhether to allow multiple selections or not

public

Definition at line 317 of file ecommerce_checkout_edit_fns.inc.

_paintFieldSelector ( $asset,
  $selector 
)

Paints selector for a metadata field or an asset attribute

Parameters
objectAsset &$asset the asset whose interface we are painting
string$selectorname of the selector to paint for
Returns
boolean public

Definition at line 447 of file ecommerce_checkout_edit_fns.inc.

_processCountrySelectBox ( $asset,
  $prefix,
  $name 
)

Process country select box

Parameters
object&$assetThe asset in which we are saving these attributes
string$prefixThe asset's prefix
string$nameThe name of this attribute
Returns
boolean public

Definition at line 357 of file ecommerce_checkout_edit_fns.inc.

_processFieldSelector ( $asset,
  $selector 
)

Processes selector for a metadata field or an asset attribute

Parameters
objectAsset &$asset the asset whose interface we are painting
string$selectorname of the selector to process for
Returns
boolean public

Definition at line 496 of file ecommerce_checkout_edit_fns.inc.

paintAllActions (   $asset,
Backend_Outputter  $o,
  $prefix 
)

Paints the interface for printing all existing actions

Parameters
object$assetThe form whose interface we are painting
object$othe outputter class
string$prefixprefix for form elements
Returns
boolean

Definition at line 1011 of file ecommerce_checkout_edit_fns.inc.

paintConditionalDeliveryFee ( $asset,
$o,
  $prefix 
)

Paints interface to add additional, conditional delivery fees

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 776 of file ecommerce_checkout_edit_fns.inc.

paintContextScreens ( $asset,
$o,
  $prefix 
)

Paint links to the context screens

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 159 of file ecommerce_checkout_edit_fns.inc.

paintCountryDeliveryWeightFees ( $asset,
$o,
  $prefix 
)

Paints interface for specifying country delivery weight fees

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 540 of file ecommerce_checkout_edit_fns.inc.

paintCustomiseReceipt ( $asset,
$o,
  $prefix 
)

Paint the option to customise the receipt

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 957 of file ecommerce_checkout_edit_fns.inc.

paintDeliveryMethod ( $asset,
$o,
  $prefix 
)

Paints the delivery method selection box

Parameters
objectListing_Engine &$asset asset being painted
objectBackend_Outputter &$o backend outputter
string$prefixprefix for the html doc element name
Returns
boolean public

Definition at line 45 of file ecommerce_checkout_edit_fns.inc.

paintFlatCharges ( $asset,
$o,
  $prefix 
)

Paint Flat Charges

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 222 of file ecommerce_checkout_edit_fns.inc.

paintInternationalDeliveryFeeExempt ( $asset,
$o,
  $prefix 
)

Paints country select box for international delivery fees

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 738 of file ecommerce_checkout_edit_fns.inc.

paintItemWeightSource ( $asset,
$o,
  $prefix 
)

Paints selectors for a metadata field or an asset attribute

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 414 of file ecommerce_checkout_edit_fns.inc.

paintNewAction (   $asset,
Backend_Outputter  $o,
  $prefix 
)

Paints the interface for creating a new action

Parameters
object$assetThe form whose interface we are painting
object$othe outputter class
string$prefixprefix for form elements
Returns
boolean

Definition at line 1158 of file ecommerce_checkout_edit_fns.inc.

paintQuantitySource ( $asset,
$o,
  $prefix 
)

Paints selectors for a metadata field or an asset attribute

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 380 of file ecommerce_checkout_edit_fns.inc.

paintSelectedAction (   $asset,
Backend_Outputter  $o,
  $prefix 
)

Paints the interface for the selected submission action

Parameters
object$assetThe form whose interface we are painting
object$othe outputter class
string$prefixprefix for form elements
Returns
boolean

Definition at line 1263 of file ecommerce_checkout_edit_fns.inc.

paintTaxableCountries ( $asset,
$o,
  $prefix 
)

Paint select box of countries

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 278 of file ecommerce_checkout_edit_fns.inc.

processAllActions (   $asset,
Backend_Outputter  $o,
  $prefix 
)

Performs processing for the actions table

Parameters
object$assetThe form whose interface we are painting
object$othe outputter class
string$prefixprefix for form elements
Returns
boolean

Definition at line 1100 of file ecommerce_checkout_edit_fns.inc.

processConditionalDeliveryFee ( $asset,
$o,
  $prefix 
)

Processes interface to add additional, conditional delivery fees

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 911 of file ecommerce_checkout_edit_fns.inc.

processCountryDeliveryWeightFees ( $asset,
$o,
  $prefix 
)

Processes interface for specifying country delivery weight fees

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 703 of file ecommerce_checkout_edit_fns.inc.

processCustomiseReceipt ( $asset,
$o,
  $prefix 
)

Process the option to customise the receipt

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 986 of file ecommerce_checkout_edit_fns.inc.

processDeliveryMethod ( $asset,
$o,
  $prefix 
)

Processes the value input from delivery method selection box

Parameters
objectListing_Engine &$asset asset being painted
objectBackend_Outputter &$o backend outputter
string$prefixprefix for the html doc element name
Returns
void public

Definition at line 92 of file ecommerce_checkout_edit_fns.inc.

processFlatCharges ( $asset,
$o,
  $prefix 
)

Process Flat Charges

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 249 of file ecommerce_checkout_edit_fns.inc.

processInternationalDeliveryFeeExempt ( $asset,
$o,
  $prefix 
)

Processes country select box for international delivery fees

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 758 of file ecommerce_checkout_edit_fns.inc.

processItemWeightSource ( $asset,
$o,
  $prefix 
)

Processes selector for a metadata field or an asset attribute

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 431 of file ecommerce_checkout_edit_fns.inc.

processNewAction (   $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the creation of a new action

Parameters
object$assetThe form whose interface we are painting
object$othe outputter class
string$prefixprefix for form elements
Returns
boolean

Definition at line 1196 of file ecommerce_checkout_edit_fns.inc.

processQuantitySource ( $asset,
$o,
  $prefix 
)

Processes selector for a metadata field or an asset attribute

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 397 of file ecommerce_checkout_edit_fns.inc.

processSelectedAction (   $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the interface for the selected action

Parameters
object$assetThe form whose interface we are painting
object$othe outputter class
string$prefixprefix for form elements
Returns
boolean

Definition at line 1368 of file ecommerce_checkout_edit_fns.inc.

processTaxableCountries ( $asset,
$o,
  $prefix 
)

Process select box of countries

Parameters
objectAsset &$asset the asset whose interface we are painting
objectBackend_Outputter &$o the outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 298 of file ecommerce_checkout_edit_fns.inc.


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