Skip to content

Commit 81971e7

Browse files
author
Nicolas Van Eenaeme
committedNov 6, 2013
updated memcached documentation
1 parent 7f52206 commit 81971e7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed
 

‎memcached-api.php

+14-14
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ class Memcached {
185185

186186
public function __construct( $persistent_id = '', $on_new_object_cb = null ) {}
187187

188-
public function get( $key, $cache_cb = null, &$cas_token = null ) {}
188+
public function get( $key, $cache_cb = null, &$cas_token = null, &$udf_flags = null ) {}
189189

190-
public function getByKey( $server_key, $key, $cache_cb = null, &$cas_token = null ) {}
190+
public function getByKey( $server_key, $key, $cache_cb = null, &$cas_token = null, &$udf_flags = null ) {}
191191

192-
public function getMulti( array $keys, &$cas_tokens = null, $flags = 0 ) {}
192+
public function getMulti( array $keys, &$cas_tokens = null, $flags = 0, &$udf_flags = null ) {}
193193

194-
public function getMultiByKey( $server_key, array $keys, &$cas_tokens = null, $flags = 0 ) {}
194+
public function getMultiByKey( $server_key, array $keys, &$cas_tokens = null, $flags = 0, &$udf_flags = null ) {}
195195

196196
public function getDelayed( array $keys, $with_cas = null, $value_cb = null ) {}
197197

@@ -201,25 +201,25 @@ public function fetch( ) {}
201201

202202
public function fetchAll( ) {}
203203

204-
public function set( $key, $value, $expiration = 0 ) {}
204+
public function set( $key, $value, $expiration = 0, $udf_flags = 0 ) {}
205205

206206
public function touch( $key, $expiration = 0 ) {}
207207

208208
public function touchbyKey( $key, $expiration = 0 ) {}
209209

210-
public function setByKey( $server_key, $key, $value, $expiration = 0 ) {}
210+
public function setByKey( $server_key, $key, $value, $expiration = 0, $udf_flags = 0 ) {}
211211

212-
public function setMulti( array $items, $expiration = 0 ) {}
212+
public function setMulti( array $items, $expiration = 0, $udf_flags = 0 ) {}
213213

214-
public function setMultiByKey( $server_key, array $items, $expiration = 0 ) {}
214+
public function setMultiByKey( $server_key, array $items, $expiration = 0, $udf_flags = 0 ) {}
215215

216-
public function cas( $token, $key, $value, $expiration = 0 ) {}
216+
public function cas( $token, $key, $value, $expiration = 0, $udf_flags = 0 ) {}
217217

218-
public function casByKey( $token, $server_key, $key, $value, $expiration = 0 ) {}
218+
public function casByKey( $token, $server_key, $key, $value, $expiration = 0, $udf_flags = 0 ) {}
219219

220-
public function add( $key, $value, $expiration = 0 ) {}
220+
public function add( $key, $value, $expiration = 0, $udf_flags = 0 ) {}
221221

222-
public function addByKey( $server_key, $key, $value, $expiration = 0 ) {}
222+
public function addByKey( $server_key, $key, $value, $expiration = 0, $udf_flags = 0 ) {}
223223

224224
public function append( $key, $value ) {}
225225

@@ -229,9 +229,9 @@ public function prepend( $key, $value ) {}
229229

230230
public function prependByKey( $server_key, $key, $value ) {}
231231

232-
public function replace( $key, $value, $expiration = 0 ) {}
232+
public function replace( $key, $value, $expiration = 0, $udf_flags = 0 ) {}
233233

234-
public function replaceByKey( $server_key, $key, $value, $expiration = 0 ) {}
234+
public function replaceByKey( $server_key, $key, $value, $expiration = 0, $udf_flags = 0 ) {}
235235

236236
public function delete( $key, $time = 0 ) {}
237237

0 commit comments

Comments
 (0)
Please sign in to comment.