PHP Class JSONStore, gitblog
With the restriction that the JSON object in the database must be an array
(vector or map) since this interface is built upon key-value pairs. Keys
must be strings, integers or floats. Values can be of any type.
Afficher le fichier
Open project: rsms/gitblog
Class Usage Examples
Méthodes publiques
Protected Properties
Свойство |
Type |
Description |
|
$originalData |
|
For keeping track of modifications done or not |
|
Méthodes publiques
Méthodes protégées
Method Details
__construct()
public méthode
public __construct ( $file = '/dev/null', $skeleton_file = null, $createmode = 432, $autocommit = true, $pretty_output = true ) |
__toString()
public méthode
encodeData()
public méthode
public get ( $key = null, $default = null ) |
loadString()
public méthode
offsetExists()
public méthode
offsetGet()
public méthode
offsetSet()
public méthode
offsetUnset()
public méthode
parseData()
public méthode
public set ( $key, $value = null ) |
throwJSONError()
public méthode
txReadData()
protected méthode
txWriteData()
protected méthode
Property Details
$autocommit public_oe property
$originalData protected_oe property
For keeping track of modifications done or not
$pretty_output public_oe property