MemcacheService::CallProfile  (since version 2.0)
Syntax
mixed CallProfile (  string $profileName , string $methodName [, array $arguments = null ] )
Parameters
profileName
The profile name to activate for this single call.
methodName
The memcache service method name to call.
arguments
The arguments to call with the memcache service method.
Description
Calls an memcache service method with the given profile. This method can be used for an single method call of the memcache service.

Note:
For calling multiple cache service methods you should use Begin and End for lower overhead.
Return
mixed Returns the result of the called memcache service method.
See also
Examples
<?php

  
// set the memecache lifetime to 24 hours
  
$result MemcacheService::CallProfile('memcache_profile''SetCacheLifetime', array(86400));

?>

Last change 10/13/2009




Administration