GXCoreLoader

Implements \GXCoreLoaderInterface

Class GXCoreLoader

category

System

package

Loaders

subpackage

GXCoreLoader

Methods

Class Constructor

__construct(\GXCoreLoaderSettingsInterface $gxCoreLoaderSettings) 

Arguments

$gxCoreLoaderSettings

\GXCoreLoaderSettingsInterface

Get an addon value service factory.

_getAddonValueServiceFactory() : \AddonValueServiceFactory

Get a category service factory.

_getCategoryServiceFactory() : \CategoryServiceFactory

Get a customer service factory object.

_getCustomerServiceFactory() : \CustomerServiceFactory

Get an email factory object.

_getEmailFactory() : \EmailFactory

Response

\EmailFactory

Returns the invoice service factory to create objects of the invoice service.

_getInvoiceServiceFactory() : \InvoiceServiceFactory

Get an order service factory object.

_getOrderServiceFactory() : \AbstractOrderServiceFactory

Get a product service factory

_getProductServiceFactory() : \ProductServiceFactory

Method depends on CodeIgniter database library

getDatabaseQueryBuilder() : \CI_DB_query_builder
todo

check connection errors

escape special characters in mysqli connection string (AT)

use GXDatabaseAccessorInterface

Response

\CI_DB_query_builder

Get the requested server object.

getService(string $serviceName) : \AddressBookServiceInterface|\CountryServiceInterface|\CustomerServiceInterface
throws
todo

Delegate to GXServiceFactory

Arguments

$serviceName

string

Response

\AddressBookServiceInterface|\CountryServiceInterface|\CustomerServiceInterface

Properties

Contains the loader settings.

gxCoreLoaderSettings : \GXCoreLoaderSettingsInterface

Database Layer Object

ciDatabaseQueryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

Factory for OrderService Objects

orderServiceFactory : \AbstractOrderServiceFactory

Factory to create objects of the customer service.

customerServiceFactory : \CustomerServiceFactory

Factory to create objects of the email service.

emailFactory : \EmailFactory
var

Type(s)

\EmailFactory

Factory to create objects of the category service.

categoryServiceFactory : \CategoryServiceFactory

Factory to create objects of the product service.

productServiceFactory : \ProductServiceFactory

Factory to create objects of the addon value service.

addonValueServiceFactory : \AddonValueServiceFactory

Factory to create objects of the invoice service.

invoiceServiceFactory : \InvoiceServiceFactory