public function findOneByCompoundKeyFromCache($value)
    {
        if ($value === '') {
            throw new \InvalidArgumentException('$value must not be empty.', 1331319992);
        }

        if (!isset($this->cacheByCompoundKey[$value])) {
            throw new \Tx_Oelib_Exception_NotFound();
        }

        return $this->cacheByCompoundKey[$value];
    }
public function findOneByCompoundKeyFromCache($value)
    {
        if ($value === '') {
            throw new \InvalidArgumentException('$value must not be empty.', 1331319992);
        }

        if (!isset($this->cacheByCompoundKey[$value])) {
            throw new \Tx_Oelib_Exception_NotFound();
        }

        return $this->cacheByCompoundKey[$value];
    }
public function findOneByCompoundKeyFromCache ( $ value ) { if ( $ value === '' ) { throw new \ InvalidArgumentException ( '$value must not be empty.' , 1331319992 ) ; } if ( ! isset ( $ this -> cacheByCompoundKey [ $ value ] ) ) { throw new \ Tx_Oelib_Exception_NotFound ( ) ; } return $ this -> cacheByCompoundKey [ $ value ] ; }
Looks up a model in the compound cache.

When this function reports "no match", the model could still exist in the
database, though.

@param string $value
the value for the compound key of the model to find, must not be empty

@throws \InvalidArgumentException
@throws \Tx_Oelib_Exception_NotFound if there is no match in the cache yet

@return \Tx_Oelib_Model the cached model
Looks up a model in the compound cache .