CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | List of all members
CoopCred Class Reference
Inheritance diagram for CoopCred:
FanniePlugin COREPOS\Fannie\API\FanniePlugin

Public Member Functions

 settingChange ()
 

Public Attributes

 $plugin_settings
 
 $plugin_description
 

Additional Inherited Members

- Static Public Member Functions inherited from COREPOS\Fannie\API\FanniePlugin
static memberOf ($file)
 
static isEnabled ($plugin)
 
static pluginMap ($path="", $in=array())
 

Detailed Description

Coop Cred - Debit accounts for members.

Member Data Documentation

CoopCred::$plugin_description
Initial value:
=
'Plugin for maintaining Coop Cred,
a system for endowing and managing debit accounts for members
for purchases at the Co-op.
<br /><b>N.B. At the moment it is necessary to create the database
<code>coop_cred</code> BEFORE you enable the plugin.</b>'
CoopCred::$plugin_settings
Initial value:
= array(
'CoopCredDatabase' => array(
'label'=>'Database',
'default'=>'coop_cred',
'description'=>'Database to store tables of plugin-specific
Coop Cred related info.
<br />Can be one of the default CORE databases or a separate one.
<br />The name of a new database should be all lower-case.
<br /><b>It must exist before the plugin is enabled.'
)
, 'CoopCredLaneDatabase' => array(
'label'=>'LaneDatabase',
'default'=>'coop_cred_lane',
'description'=>'Database on lanes to store tables of plugin-specific
Coop Cred related info.
<br />Can be one of the default CORE databases or a separate one.
<br />The name of a new database should be all lower-case.
<br />The name must not be the same as the Coop Cred Server Database.'
)
, 'CoopCredDropAllViews' => array(
'label'=>'Re-create Views',
'default' => False,
'description'=>'Erase (drop) each existing view and re-create it.
<br />This does not erase any existing data.'
)
)

Desired settings. These are automatically exposed on the 'Plugins' area of the install page and, upon enablement of the plugin, written to ini.php and from then on maintained there.


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