\KeychainManager
Keychain Manager
Synopsis
class KeychainManager
extends JApplicationCli
{
- // Inherited members from JApplicationCli
- protected JRegistry $config;
- protected JApplicationCli $instance;
- // Inherited members from JApplicationBase
- protected JEventDispatcher $dispatcher;
- protected JUser $identity;
- public JInput $input;
- // methods
- public void execute()
- protected void loadKeychain()
- protected void saveKeychain()
- protected void initPassphraseFile()
- protected void create()
- protected void change()
- protected void read()
- private string dumpVar()
- protected void delete()
- protected void listEntries()
- protected void displayHelp()
- // Inherited methods from JApplicationCli
- public void __construct()
- public mixed get()
- public static JApplicationCli getInstance()
- public void execute()
- public JApplicationCli loadConfiguration()
- public JApplicationCli out()
- public string in()
- public mixed set()
- protected mixed fetchConfigurationData()
- protected void doExecute()
- // Inherited methods from JApplicationBase
- public void close()
- public mixed getIdentity()
- public JApplicationBase registerEvent()
- public array triggerEvent()
- public JApplicationBase loadDispatcher()
- public JApplicationBase loadIdentity()
Hierarchy
Extends
Members
protected
- $config — JRegistry
- $dispatcher
—
JEventDispatcher
The application dispatcher object. - $identity
—
JUser
The application identity object. - $instance — JApplicationCli
- $keychain — JKeychain
- $updated — boolean
public
- $input
—
JInput
The application input object.
Methods
private
- dumpVar() — Get the string from var_dump
protected
- change() — Change an existing entry to a new value or create an entry if missing.
- create() — Create a new entry
- delete() — Delete an entry from the keychain
- displayHelp() — Display the help information
- initPassphraseFile() — Initialise a new passphrase file.
- listEntries() — List entries in the keychain
- loadKeychain() — Load the keychain from a file.
- read() — Read an entry from the keychain
- saveKeychain() — Save this keychain to a file.
public
- execute() — Execute the application
Inherited from JApplicationCli
protected
- doExecute() — Method to run the application routines. Most likely you will want to instantiate a controller and execute it, or perform some sort of task directly.
- fetchConfigurationData() — Method to load a PHP configuration class file based on convention and return the instantiated data object. You will extend this method in child classes to provide configuration data from whatever data source is relevant for your specific application.
public
- execute() — Execute the application.
- get() — Returns a property of the object or the default value if the property is not set.
- getInstance() — Returns a reference to the global JApplicationCli object, only creating it if it doesn't already exist.
- in() — Get a value from standard input.
- loadConfiguration() — Load an object or array into the application configuration object.
- out() — Write a string to standard output.
- set() — Modifies a property of the object, creating it if it does not already exist.
Inherited from JApplicationBase
public
- close() — Method to close the application.
- getIdentity() — Get the application identity.
- loadDispatcher() — Allows the application to load a custom or default dispatcher.
- loadIdentity() — Allows the application to load a custom or default identity.
- registerEvent() — Registers a handler to a particular event group.
- triggerEvent() — Calls all handlers associated with an event group.