API - XOOPS 2.5.11 Beta 2
By monxoops.fr
ArrayStorage Class Reference
Inheritance diagram for ArrayStorage:
Collaboration diagram for ArrayStorage:

Public Member Functions

 save ($name, $data)
 
 fetch ($name)
 
 exists ($name)
 
 delete ($name)
 
 save ($name, $data)
 
 fetch ($name)
 
 exists ($name)
 
 delete ($name)
 

Member Function Documentation

◆ delete()

delete (   $name)

Delete a key

Parameters
string$namekey name
Returns
boolean true if key deleted, otherwise false

Implements StorageInterface.

◆ exists()

exists (   $name)

Fetch key data by name

Parameters
string$namekey name
Returns
boolean true if key exists, otherwise false

Implements StorageInterface.

◆ fetch()

fetch (   $name)

Fetch key data by name

Parameters
string$namekey name
Returns
string|false key data (possibly serialized) or false on error

Implements StorageInterface.

◆ save()

save (   $name,
  $data 
)

Save key data by name

Parameters
string$namekey name
string$datakey data, serialized to string if required
Returns
boolean true if key saved, otherwise false

Implements StorageInterface.


The documentation for this class was generated from the following file: