Comments: on this page. Click to read or post your own.

Class OrderForm

Description

Order form that allows a user to purchase their order items on the

Located in /ecommerce/code/forms/OrderForm.php (line 11)

Object
   |
   --ViewableData
      |
      --RequestHandlingData
         |
         --Form
            |
            --OrderForm
Method Summary
OrderForm __construct ( $controller,  $name)
void processOrder ( $data,  $form)
void useDifferentShippingAddress ( $data,  $form)
void useMemberShippingAddress ( $data,  $form)
Variables
Methods
Constructor __construct (line 13)
OrderForm __construct ( $controller,  $name)
  • $controller
  • $name

Redefinition of:
Form::__construct()
Create a new form, with the given fields an action buttons.
beforeProcessing (line 110)

Disable the validator when the action clicked is to use a different shipping address or use the member shipping address.

void beforeProcessing ()
processOrder (line 136)

Processes the order information from the Shopping cart, creates or merges the member from the database, and then processes the payment.

This function concerns only the current order

void processOrder ( $data,  $form)
  • $data
  • $form
useDifferentShippingAddress (line 118)
void useDifferentShippingAddress ( $data,  $form)
  • $data
  • $form
useMemberShippingAddress (line 126)
void useMemberShippingAddress ( $data,  $form)
  • $data
  • $form

Inherited Methods

Inherited From Form

Form::__construct()
Form::Actions()
Form::addErrorMessage()
Form::buttonClicked()
Form::callfieldmethod()
Form::clearMessage()
Form::Controller()
Form::current_action()
Form::dataFieldByName()
Form::debug()
Form::defaultAction()
Form::disableDefaultAction()
Form::disableSecurityToken()
Form::disable_all_security_tokens()
Form::FieldMap()
Form::Fields()
Form::forAjaxTemplate()
Form::FormAction()
Form::FormAttributes()
Form::FormEncType()
Form::formHtmlContent()
Form::FormHttpMethod()
Form::FormMethod()
Form::FormName()
Form::forTemplate()
Form::getData()
Form::getExtraFields()
Form::getMessageFromSession()
Form::getRecord()
Form::getValidator()
Form::handleField()
Form::HiddenFields()
Form::httpSubmission()
Form::loadDataFrom()
Form::loadNonBlankDataFrom()
Form::makeReadonly()
Form::Message()
Form::messageForForm()
Form::MessageType()
Form::Name()
Form::renderWithoutActionButton()
Form::resetData()
Form::resetField()
Form::resetValidation()
Form::saveInto()
Form::securityTokenEnabled()
Form::sessionMessage()
Form::setActions()
Form::setButtonClicked()
Form::setFields()
Form::setFormAction()
Form::setFormMethod()
Form::setHTMLID()
Form::setMessage()
Form::setTarget()
Form::setValidator()
Form::set_current_action()
Form::single_field_required()
Form::testAjaxSubmission()
Form::testSubmission()
Form::transform()
Form::transformTo()
Form::unsetActionByName()
Form::unsetAllActions()
Form::unsetDataFieldByName()
Form::unsetFieldFromTab()
Form::unsetValidator()
Form::validate()

Inherited From RequestHandlingData

RequestHandlingData::checkAccessAction()
RequestHandlingData::getRequest()
RequestHandlingData::handleRequest()
RequestHandlingData::httpError()

Inherited From ViewableData

ViewableData::ATT_val()
ViewableData::BaseHref()
ViewableData::buildCastingHelperCache()
ViewableData::cachedCall()
ViewableData::castingHelper()
ViewableData::castingHelperPair()
ViewableData::castingObjectCreator()
ViewableData::castingObjectCreatorPair()
ViewableData::CSSClasses()
ViewableData::CurrentMember()
ViewableData::CurrentPage()
ViewableData::customise()
ViewableData::Debug()
ViewableData::defineMethods()
ViewableData::escapeTypeForField()
ViewableData::Even()
ViewableData::EvenOdd()
ViewableData::First()
ViewableData::FirstLast()
ViewableData::getField()
ViewableData::getIterator()
ViewableData::getXMLValues()
ViewableData::hasField()
ViewableData::HasPerm()
ViewableData::hasValue()
ViewableData::i18nLocale()
ViewableData::IsAjax()
ViewableData::iteratorProperties()
ViewableData::JS_val()
ViewableData::Last()
ViewableData::Me()
ViewableData::Middle()
ViewableData::MiddleString()
ViewableData::obj()
ViewableData::Odd()
ViewableData::Pos()
ViewableData::RAW_val()
ViewableData::renderWith()
ViewableData::SecurityID()
ViewableData::setCustomisedObj()
ViewableData::setField()
ViewableData::SQL_val()
ViewableData::ThemeDir()
ViewableData::Top()
ViewableData::TotalItems()
ViewableData::val()
ViewableData::XML_val()
ViewableData::__get()
ViewableData::__isset()
ViewableData::__set()

Inherited From Object

Object::__construct()
Object::addMethodsFrom()
Object::addStaticVars()
Object::addWrapperMethod()
Object::add_extension()
Object::allMethodNames()
Object::buildMethodList()
Object::cacheToFile()
Object::cacheToFileWithArgs()
Object::create()
Object::createMethod()
Object::defineMethods()
Object::exists()
Object::extend()
Object::extInstance()
Object::getCustomClass()
Object::hasExtension()
Object::hasMethod()
Object::invokeWithExtensions()
Object::is_a()
Object::loadCache()
Object::parentClass()
Object::sanitiseCachename()
Object::saveCache()
Object::set_stat()
Object::set_uninherited()
Object::stat()
Object::strong_create()
Object::uninherited()
Object::useCustomClass()
Object::__call()
Object::__toString()
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:43:47 +1300 by phpDocumentor 1.3.2