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.
Exibir arquivo
Open project: rsms/gitblog
Class Usage Examples
Public Properties
Protected Properties
Property |
Type |
Description |
|
$originalData |
|
For keeping track of modifications done or not |
|
Public Methods
Protected Methods
Method Details
__construct()
public method
public __construct ( $file = '/dev/null', $skeleton_file = null, $createmode = 432, $autocommit = true, $pretty_output = true ) |
__toString()
public method
encodeData()
public method
public get ( $key = null, $default = null ) |
loadString()
public method
offsetExists()
public method
offsetGet()
public method
offsetSet()
public method
offsetUnset()
public method
parseData()
public method
public set ( $key, $value = null ) |
throwJSONError()
public method
txReadData()
protected method
txWriteData()
protected method
Property Details
$autocommit public_oe property
$originalData protected_oe property
For keeping track of modifications done or not
$pretty_output public_oe property