downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Memcached::setOption> <Memcached::setMulti
[edit] Last updated: Fri, 17 May 2013

view this page in

Memcached::setMultiByKey

(PECL memcached >= 0.1.0)

Memcached::setMultiByKeyStore multiple items on a specific server

Açıklama

public bool Memcached::setMultiByKey ( string $server_key , array $items [, int $expiration ] )

Memcached::setMultiByKey() is functionally equivalent to Memcached::setMulti(), except that the free-form server_key can be used to map the keys from items to a specific server. This is useful if you need to keep a bunch of related keys on a certain server.

Değiştirgeler

server_key

Değerin saklanacağı sunucuyu betimleyen anahtar.

items

Sunucuda saklanacak ilişkisel dizi.

expiration

Zaman aşımı, öntanımlı 0'dır. Daha ayrıntılı bilgi için Zaman aşımı süreleri bölümüne bakınız.

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner. Gerekirse Memcached::getResultCode() kullanın.

Ayrıca Bakınız



add a note add a note User Contributed Notes Memcached::setMultiByKey - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites