\JKeychain
Keychain Class
Synopsis
class JKeychain
extends JRegistry
{
- // Inherited members from JRegistry
- protected $data;
- protected $instances;
- // methods
- public boolean createPassphraseFile()
- public mixed deleteValue()
- public boolean loadKeychain()
- public boolean saveKeychain()
- protected string getPassphraseFromFile()
- // Inherited methods from JRegistry
- public void __construct()
- public JRegistry __clone()
- public string __toString()
- public jsonSerialize()
- public mixed def()
- public boolean exists()
- public mixed get()
- public static JRegistry getInstance()
- public boolean loadArray()
- public boolean loadObject()
- public boolean loadFile()
- public boolean loadString()
- public boolean merge()
- public mixed set()
- public array toArray()
- public toObject()
- public string toString()
- protected void bindData()
- protected array asArray()
Hierarchy
Extends
Members
Methods
protected
- getPassphraseFromFile() — Get the passphrase for this keychain
public
- createPassphraseFile() — Create a passphrase file
- deleteValue() — Delete a registry value (very simple method)
- loadKeychain() — Load a keychain file into this object.
- saveKeychain() — Save this keychain to a file.
Inherited from JRegistry
protected
- asArray() — Method to recursively convert an object of data to an array.
- bindData() — Method to recursively bind data to a parent object.
public
- __clone() — Magic function to clone the registry object.
- __toString() — Magic function to render this object as a string using default args of toString method.
- def() — Sets a default value if not already assigned.
- exists() — Check if a registry path exists.
- get() — Get a registry value.
- getInstance() — Returns a reference to a global JRegistry object, only creating it if it doesn't already exist.
- jsonSerialize() — Implementation for the JsonSerializable interface.
- loadArray() — Load a associative array of values into the default namespace
- loadFile() — Load the contents of a file into the registry
- loadObject() — Load the public variables of the object into the default namespace.
- loadString() — Load a string into the registry
- merge() — Merge a JRegistry object into this one
- set() — Set a registry value.
- toArray() — Transforms a namespace to an array
- toObject() — Transforms a namespace to an object
- toString() — Get a namespace in a given string format