public function multiLoad($ids, $doNotTestCacheValidity = false)
    {
        if (!is_array($ids)) {
            \Zend_Cache::throwException('multiLoad() expects parameter 1 to be array, ' . gettype($ids) . ' given');
        }
        if ($doNotTestCacheValidity) {
            $this->_log("\Zend_Cache_Backend_Memcached::load() : \$doNotTestCacheValidity=true is unsupported by the Memcached backend");
        }
        $tmp = $this->_getHandle()->get($ids);
        foreach ($tmp as $k => $v) {
            if (is_array($v)) {
                $tmp[$k] = $v[0];
            }
        }
        return $tmp;
    }
public function multiLoad($ids, $doNotTestCacheValidity = false)
    {
        if (!is_array($ids)) {
            \Zend_Cache::throwException('multiLoad() expects parameter 1 to be array, ' . gettype($ids) . ' given');
        }
        if ($doNotTestCacheValidity) {
            $this->_log("\Zend_Cache_Backend_Memcached::load() : \$doNotTestCacheValidity=true is unsupported by the Memcached backend");
        }
        $tmp = $this->_getHandle()->get($ids);
        foreach ($tmp as $k => $v) {
            if (is_array($v)) {
                $tmp[$k] = $v[0];
            }
        }
        return $tmp;
    }
public function multiLoad ( $ ids , $ doNotTestCacheValidity = false ) { if ( ! is_array ( $ ids ) ) { \ Zend_Cache :: throwException ( 'multiLoad() expects parameter 1 to be array, ' . gettype ( $ ids ) . ' given' ) ; } if ( $ doNotTestCacheValidity ) { $ this -> _log ( "\Zend_Cache_Backend_Memcached::load() : \$doNotTestCacheValidity=true is unsupported by the Memcached backend" ) ; } $ tmp = $ this -> _getHandle ( ) -> get ( $ ids ) ; foreach ( $ tmp as $ k => $ v ) { if ( is_array ( $ v ) ) { $ tmp [ $ k ] = $ v [ 0 ] ; } } return $ tmp ; }
Loads an array of items from the memcached.
Extends \Zend_Cache_Backend_Memcached with support of multi-get feature.

@param array $ids                    A list of IDs to be loaded.
@param bool $doNotTestCacheValidity  See parent method.
@return array                        An array of values for each ID.
Loads an array of items from the memcached . Extends \ Zend_Cache_Backend_Memcached with support of multi - get feature .