\MarketplaceWebServiceProducts_Model

MarketplaceWebServiceProducts_Model - base class for all model classes

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
toQueryParameterArray()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(mixed  $data = null) 

Construct new model class

Parameters

mixed $data
  • DOMElement or Associative Array to construct from.

__get()

__get(string  $propertyName) 

Support for virtual properties getters.

Virtual property call example:

$action->Property

Direct getter(preferred):

$action->getProperty()

Parameters

string $propertyName

name of the property

__set()

__set(string  $propertyName,   $propertyValue) 

Support for virtual properties setters.

Virtual property call example:

$action->Property = 'ABC'

Direct setter (preferred):

$action->setProperty('ABC')

Parameters

string $propertyName

name of the property

$propertyValue

toQueryParameterArray()

toQueryParameterArray() : array

Convert to query parameters suitable for POSTing.

Returns

array —

of query parameters