public function __construct($registry) { parent::__construct($registry); $this->model = App::getModel('layoutbox'); $this->categories = App::getModel('category')->getChildCategories(); $this->categoryActive = 0; }
public function __construct($registry) { parent::__construct($registry); $this->registry->xajaxInterface->registerFunction(array('DeleteCategory', $this->model, 'deleteContentCategory')); $this->registry->xajaxInterface->registerFunction(array('AddCategory', $this->model, 'addEmptyCategory')); $this->registry->xajaxInterface->registerFunction(array('ChangeCategoryOrder', $this->model, 'changeCategoryOrder')); }
public function __construct($registry) { parent::__construct($registry); $this->registry->xajaxInterface->registerFunction(array('DeleteCategory', $this->model, 'deleteCategory')); $this->registry->xajaxInterface->registerFunction(array('AddCategory', $this->model, 'addEmptyCategory')); $this->registry->xajaxInterface->registerFunction(array('ChangeCategoryOrder', $this->model, 'changeCategoryOrder')); $this->registry->xajax->registerFunction(array('DuplicateCategory', $this->model, 'duplicateCategory')); $this->registry->xajaxInterface->registerFunction(array('doAJAXCreateSeoCategory', App::getModel('seo'), 'doAJAXCreateSeoCategory')); $this->registry->xajax->registerFunction(array('doAJAXRefreshSeoCategory', App::getModel('seo'), 'doAJAXRefreshSeoCategory')); }
public function __construct($registry) { parent::__construct($registry); $this->registry->xajaxInterface->registerFunction(array('LoadCategoryChildren', $this->model, 'loadCategoryChildren')); $this->registry->xajax->registerFunction(array('doDeleteProduct', $this->model, 'doAJAXDeleteProduct')); $this->registry->xajax->registerFunction(array('LoadAllProduct', $this->model, 'getProductForAjax')); $this->registry->xajax->registerFunction(array('GetNameSuggestions', $this->model, 'getNamesForAjax')); $this->registry->xajaxInterface->registerFunction(array('doUpdateProduct', $this->model, 'doAJAXUpdateProduct')); $this->registry->xajaxInterface->registerFunction(array('doAJAXCreateSeo', App::getModel('seo'), 'doAJAXCreateSeo')); $this->registry->xajaxInterface->registerFunction(array('AddProducer', App::getModel('producer'), 'addEmptyProducer')); $this->registry->xajaxInterface->registerFunction(array('AddDeliverer', App::getModel('deliverer'), 'addEmptyDeliverer')); $this->registry->xajaxInterface->registerFunction(array('AddVat', App::getModel('vat'), 'addEmptyVat')); $this->registry->xajaxInterface->registerFunction(array('AddProductStatus', App::getModel('product'), 'addEmptyProductStatus')); $this->registry->xajaxInterface->registerFunction(array('AddUnitMeasure', App::getModel('unitmeasure'), 'addEmptyUnitMeasure')); }
public function __construct($registry) { parent::__construct($registry); $this->model = App::getModel('order'); $this->layer = $this->registry->loader->getCurrentLayer(); }
public function __construct($registry) { parent::__construct($registry); $this->layer = $this->registry->loader->getCurrentLayer(); }
public function __construct($registry) { parent::__construct($registry); $this->model = App::getModel('clientnewsletter'); }
public function __construct($registry) { parent::__construct($registry); $this->model = App::getModel('controllerseo'); $this->formModel = App::getFormModel('controllerseo'); }