mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7068 - Update PHPDoc
This commit is contained in:
@@ -99,10 +99,13 @@ function apc_delete($key)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if APCu emulation key exists
|
* Checks if APCu emulation key exists
|
||||||
|
*
|
||||||
* @param string|string[] $keys A string, or an array of strings, that contain keys.
|
* @param string|string[] $keys A string, or an array of strings, that contain keys.
|
||||||
|
*
|
||||||
* @return bool|string[] Returns TRUE if the key exists, otherwise FALSE
|
* @return bool|string[] Returns TRUE if the key exists, otherwise FALSE
|
||||||
* Or if an array was passed to keys, then an array is returned that
|
* Or if an array was passed to keys, then an array is returned that
|
||||||
* contains all existing keys, or an empty array if none exist.
|
* contains all existing keys, or an empty array if none exist.
|
||||||
|
* @since 3.2.0 N°7068
|
||||||
*/
|
*/
|
||||||
function apc_exists($keys)
|
function apc_exists($keys)
|
||||||
{
|
{
|
||||||
@@ -209,6 +212,7 @@ class apcFile
|
|||||||
* Check if cache key exists
|
* Check if cache key exists
|
||||||
* @param $sKey
|
* @param $sKey
|
||||||
* @return bool
|
* @return bool
|
||||||
|
* @since 3.2.0 N°7068
|
||||||
*/
|
*/
|
||||||
static public function ExistsOneFile($sKey) {
|
static public function ExistsOneFile($sKey) {
|
||||||
return is_file(self::GetCacheFileName('-' . $sKey)) || is_file(self::GetCacheFileName($sKey));
|
return is_file(self::GetCacheFileName('-' . $sKey)) || is_file(self::GetCacheFileName($sKey));
|
||||||
|
|||||||
Reference in New Issue
Block a user