src/ShopBundle/objects/TShopCategoryTree/TShopCategoryTree.class.php
public function ResetCounter()
    {
        $this->iAllItemCount = 0;
        $this->iItemCount = 0;
        if (!is_null($this->oChildCategoryTreeList)) {
            $this->oChildCategoryTreeList->GoToStart();
            while ($oChildCategoryTree = $this->oChildCategoryTreeList->Next()) {
                $oChildCategoryTree->ResetCounter();
            }
        }
    }
public function ResetCounter()
    {
        $this->iAllItemCount = 0;
        $this->iItemCount = 0;
        if (!is_null($this->oChildCategoryTreeList)) {
            $this->oChildCategoryTreeList->GoToStart();
            while ($oChildCategoryTree = $this->oChildCategoryTreeList->Next()) {
                $oChildCategoryTree->ResetCounter();
            }
        }
    }
public function ResetCounter ( ) { $ this -> iAllItemCount = 0 ; $ this -> iItemCount = 0 ; if ( ! is_null ( $ this -> oChildCategoryTreeList ) ) { $ this -> oChildCategoryTreeList -> GoToStart ( ) ; while ( $ oChildCategoryTree = $ this -> oChildCategoryTreeList -> Next ( ) ) { $ oChildCategoryTree -> ResetCounter ( ) ; } } }
Resets all item count in all category trees.
Resets all item count in all category trees .