\AdminStockManagementControllerCore

Summary

Methods
Properties
Constants
__construct()
initPageHeaderToolbar()
renderList()
renderForm()
postProcess()
initToolbar()
init()
renderDetails()
getList()
initContent()
displayAddstockLink()
displayRemovestockLink()
displayTransferstockLink()
initProcess()
No public properties found
No constants found
skipActionByStock()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

initPageHeaderToolbar()

initPageHeaderToolbar() 

renderList()

renderList() 

AdminController::renderList() override

renderForm()

renderForm() 

AdminController::renderForm() override

postProcess()

postProcess() 

AdminController::postProcess() override

initToolbar()

initToolbar() 

assign default action in toolbar_btn smarty var, if they are not set.

uses override to specifically add, modify or remove items

init()

init() 

AdminController::init() override

renderDetails()

renderDetails() 

getList()

getList(  $id_lang,   $order_by = null,   $order_way = null,   $start,   $limit = null,   $id_lang_shop = false) 

AdminController::getList() override

Parameters

$id_lang
$order_by
$order_way
$start
$limit
$id_lang_shop

initContent()

initContent() 

AdminController::initContent() override

displayAddstockLink()

displayAddstockLink(string  $token = null, integer  $id) : string

Display addstock action link

Parameters

string $token

the token to add to the link

integer $id

the identifier to add to the link

Returns

string

displayRemovestockLink()

displayRemovestockLink(string  $token = null, integer  $id) : string

Display removestock action link

Parameters

string $token

the token to add to the link

integer $id

the identifier to add to the link

Returns

string

displayTransferstockLink()

displayTransferstockLink(string  $token = null, integer  $id) : string

Display transferstock action link

Parameters

string $token

the token to add to the link

integer $id

the identifier to add to the link

Returns

string

initProcess()

initProcess() 

skipActionByStock()

skipActionByStock(array  $item,   $is_product_variation = false) 

Check stock for a given product or product attribute and manage available actions in consequence

Parameters

array $item

reference to the current item

$is_product_variation