src/ShopBundle/objects/TCMSTableEditor/TCMSTableEditorShopCategory.class.php
protected function UpdateInheritableProperties($oOwningCategory, $oCategory)
    {
        $activeValue = '1';
        if (false === $oOwningCategory->fieldActive || false === $oCategory->parentCategoriesAreActive()) {
            $activeValue = '0';
        }
        $oTableEditor = TTools::GetTableEditorManager($this->oTableConf->fieldName, $oCategory->id);
        $oTableEditor->AllowEditByAll($this->bAllowEditByAll);
        $oTableEditor->SaveField('tree_active', $activeValue, false);
    }
protected function UpdateInheritableProperties($oOwningCategory, $oCategory)
    {
        $activeValue = '1';
        if (false === $oOwningCategory->fieldActive || false === $oCategory->parentCategoriesAreActive()) {
            $activeValue = '0';
        }
        $oTableEditor = TTools::GetTableEditorManager($this->oTableConf->fieldName, $oCategory->id);
        $oTableEditor->AllowEditByAll($this->bAllowEditByAll);
        $oTableEditor->SaveField('tree_active', $activeValue, false);
    }
protected function UpdateInheritableProperties ( $ oOwningCategory , $ oCategory ) { $ activeValue = '1' ; if ( false === $ oOwningCategory -> fieldActive || false === $ oCategory -> parentCategoriesAreActive ( ) ) { $ activeValue = '0' ; } $ oTableEditor = TTools :: GetTableEditorManager ( $ this -> oTableConf -> fieldName , $ oCategory -> id ) ; $ oTableEditor -> AllowEditByAll ( $ this -> bAllowEditByAll ) ; $ oTableEditor -> SaveField ( 'tree_active' , $ activeValue , false ) ; }
update recursive properties in oCategory based on oOwningCategory.

@param TdbShopCategory $oOwningCategory
@param TdbShopCategory $oCategory
update recursive properties in oCategory based on oOwningCategory .