src/Common/Traits/Model/Nestable.php
public function update($mIds, array $aData = []): bool
    {
        $mResult = parent::update($mIds, $aData);
        if ($mResult) {
            $aIds = (array) $mIds;
            foreach ($aIds as $iId) {
                $this->saveBreadcrumbs($iId);
            }
            $this->saveOrder();
        }
        return $mResult;
    }
public function update($mIds, array $aData = []): bool
    {
        $mResult = parent::update($mIds, $aData);
        if ($mResult) {
            $aIds = (array) $mIds;
            foreach ($aIds as $iId) {
                $this->saveBreadcrumbs($iId);
            }
            $this->saveOrder();
        }
        return $mResult;
    }
public function update ( $ mIds , array $ aData = [ ] ) : bool { $ mResult = parent :: update ( $ mIds , $ aData ) ; if ( $ mResult ) { $ aIds = ( array ) $ mIds ; foreach ( $ aIds as $ iId ) { $ this -> saveBreadcrumbs ( $ iId ) ; } $ this -> saveOrder ( ) ; } return $ mResult ; }
Generates breadcrumbs after updating an object

@param array|integer $mIds  The ID(s) to update
@param array         $aData Data to update the items with¬

@return mixed
Generates breadcrumbs after updating an object