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