Class OrderConfigurationProvider

Class OrderConfigurationProvider

Methods summary

public __construct( CI_DB_query_builder $db )

OrderConfigurationProvider constructor.

public defaultOrderStatusId( void ) : integer

Returns the default order status id.

public defaultCustomerStatusId( void ) : integer

Returns the default customer status id.

public defaultGuestStatusId( void ) : integer

Returns the default guest status id.

protected _getConfigurationValue( string $configurationKey ) : integer

Returns the value of the given configuration key. The result will be cast to an integer.

Properties summary

protected $db : CI_DB_query_builder

		
protected $table : string
'configuration'
protected $keyField : string
'configuration_key'
protected $valueField : string
'configuration_value'