Class OrderConfigurationProvider
Class OrderConfigurationProvider
Methods summary
public
__construct( CI_DB_query_builder $db )
OrderConfigurationProvider constructor.
OrderConfigurationProvider constructor.
Parameters
public
defaultOrderStatusId( void )
: integer
Returns the default order status id.
Returns the default order status id.
Returns
integer
public
defaultCustomerStatusId( void )
: integer
Returns the default customer status id.
Returns the default customer status id.
Returns
integer
public
defaultGuestStatusId( void )
: integer
Returns the default guest status id.
Returns the default guest status id.
Returns
integer
protected
_getConfigurationValue( string $configurationKey )
: integer
Returns the value of the given configuration key.
The result will be cast to an integer.
Returns the value of the given configuration key.
The result will be cast to an integer.
Parameters
$configurationKey
- Key of expected configuration value.
Returns
integer
Properties summary
protected
$db
: CI_DB_query_builder
protected
$table
: string
'configuration'
protected
$keyField
: string
'configuration_key'