private function rebuildUidCache()
    {
        $this->hasItemWithoutUid = false;

        /** @var \Tx_Oelib_Model $item */
        foreach ($this as $item) {
            if ($item->hasUid()) {
                $uid = $item->getUid();
                $this->uids[$uid] = $uid;
            } else {
                $this->hasItemWithoutUid = true;
            }
        }
    }
private function rebuildUidCache()
    {
        $this->hasItemWithoutUid = false;

        /** @var \Tx_Oelib_Model $item */
        foreach ($this as $item) {
            if ($item->hasUid()) {
                $uid = $item->getUid();
                $this->uids[$uid] = $uid;
            } else {
                $this->hasItemWithoutUid = true;
            }
        }
    }
private function rebuildUidCache ( ) { $ this -> hasItemWithoutUid = false ; /** @var \Tx_Oelib_Model $item */ foreach ( $ this as $ item ) { if ( $ item -> hasUid ( ) ) { $ uid = $ item -> getUid ( ) ; $ this -> uids [ $ uid ] = $ uid ; } else { $ this -> hasItemWithoutUid = true ; } } }
Rebuilds the UID cache.

@return void
Rebuilds the UID cache .