Comments: on this page. Click to read or post your own.
EcommerceRole is a DataObjectDecorator for the member class to allow additional member fields for the module. It has a base set of contact fields that can be statically called anywhere in the system using singleton('Member')->getEcommerceFields(); The OrderForm and MemberForm class uses this call.
Located in /ecommerce/code/model/EcommerceRole.php (line 11)
Object | --Extension | --DataObjectDecorator | --EcommerceRole
Inherited from DataObjectDecorator
DataObjectDecorator::$decoratable_statics
Inherited from Extension
Extension::$allowed_actions
Extension::$owner
Inherited from Object
Object::$builtInMethods
Object::$class
Object::$classConstructed
Object::$extensions
Object::$extension_instances
Object::$extraMethods
Object::$extraStatics
Object::$statics
Object::$static_cached
Create a new member from the given data or merge with the built-in fields.
Find the member country, if the member doesn't exist then return the Geoip visitor country based on their IP address.
Give the two letter code to resolve the title of the country.
Define extra database fields for this extension.
Return the member fields to be shown on order forms.
For orders made by existing members, this will be called on that memeber. For new orders, this will be called on the singleton object.
Add fields to the member popup box in the CMS.
Inherited From DataObjectDecorator
DataObjectDecorator::augmentDatabase()
DataObjectDecorator::augmentSQL()
DataObjectDecorator::augmentWrite()
DataObjectDecorator::extraDBFields()
DataObjectDecorator::loadExtraDBFields()
DataObjectDecorator::updateCMSFields()
DataObjectDecorator::updateFormFields()
DataObjectDecorator::updateSummaryFields()
DataObjectDecorator::updateSummaryFieldsExcludeExtra()
Inherited From Extension
Extension::setOwner()
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()
Documentation generated on Sun, 19 Oct 2008 06:40:33 +1300 by phpDocumentor 1.3.2