Controller
in package
Magento class.
Table of Contents
- $config : Config
- Config.
- $connector : mixed
- Connector with magento.
- __construct() : mixed
- Constructor. Connect with magento and authorize.
- getConnector() : object
- Returns connector.
- synchronizeCategories() : void
- Synchronize categories for products.
- synchronizeCurrencies() : void
- Synchronize currencies for products.
- synchronizeCustomers() : void
- Synchronize orders.
- synchronizeInvoices() : void
- Synchronize products.
- synchronizeOrders() : void
- Synchronize orders.
- synchronizeProducts() : void
- Synchronize products.
- updateStock() : void
- Update inventory stock in all magento.
Properties
$config
Config.
public
Config
$config
$connector
Connector with magento.
public
mixed
$connector
Methods
__construct()
Constructor. Connect with magento and authorize.
public
__construct(int $serverId) : mixed
Parameters
- $serverId : int
Return values
mixed —getConnector()
Returns connector.
public
getConnector() : object
Return values
object —synchronizeCategories()
Synchronize categories for products.
public
synchronizeCategories() : void
Return values
void —synchronizeCurrencies()
Synchronize currencies for products.
public
synchronizeCurrencies() : void
Return values
void —synchronizeCustomers()
Synchronize orders.
public
synchronizeCustomers() : void
Tags
Return values
void —synchronizeInvoices()
Synchronize products.
public
synchronizeInvoices() : void
Tags
Return values
void —synchronizeOrders()
Synchronize orders.
public
synchronizeOrders() : void
Tags
Return values
void —synchronizeProducts()
Synchronize products.
public
synchronizeProducts() : void
Return values
void —updateStock()
Update inventory stock in all magento.
public
static updateStock(int $storageId, int $product) : void
Parameters
- $storageId : int
- $product : int