OXID eShop CE  4.9.5
 All Classes Files Functions Variables Pages
attribute_category.php
Go to the documentation of this file.
1 <?php
2 
10 {
11 
18  public function render()
19  {
21 
22  $soxId = $this->_aViewData["oxid"] = $this->getEditObjectId();
23 
24  $aListAllIn = array();
25  if ($soxId != "-1" && isset($soxId)) {
26  // load object
27  $oAttr = oxNew("oxattribute");
28  $oAttr->load($soxId);
29  $this->_aViewData["edit"] = $oAttr;
30  }
31 
32  if (oxRegistry::getConfig()->getRequestParameter("aoc")) {
33  $oAttributeCategoryAjax = oxNew('attribute_category_ajax');
34  $this->_aViewData['oxajax'] = $oAttributeCategoryAjax->getColumns();
35 
36  return "popups/attribute_category.tpl";
37  }
38 
39  return "attribute_category.tpl";
40  }
41 }