CORE POS - IS4C
The CORE POS front end
Public Member Functions | Public Attributes | List of all members
PromptForTare Class Reference
Inheritance diagram for PromptForTare:
Plugin

Public Member Functions

 plugin_enable ()
 
 plugin_disable ()
 
- Public Member Functions inherited from Plugin
 plugin_enable ()
 
 plugin_disable ()
 
 settingChange ()
 
 plugin_transaction_reset ()
 
 plugin_draw_icon ()
 
 plugin_url ()
 

Public Attributes

 $plugin_settings
 
 $plugin_description
 
- Public Attributes inherited from Plugin
 $plugin_settings
 
 $plugin_description = 'This author didn\'t provide anything. Shame!'
 

Additional Inherited Members

- Static Public Member Functions inherited from Plugin
static memberOf ($file)
 
static isEnabled ($plugin)
 
static pluginMap ($path="", $in=array())
 

Detailed Description

Plugin class

Plugins are collections of modules. Each collection should contain one module that subclasses 'Plugin'. This module provides meta-information about the plugin like settings and enable/disable hooks

Member Function Documentation

PromptForTare::plugin_disable ( )

Callback. Triggered when plugin is disabled

PromptForTare::plugin_enable ( )

Callback. Triggered when plugin is enabled

Member Data Documentation

PromptForTare::$plugin_description
Initial value:
= 'Prompts the user for tare weight on items. Only ask if there is no default
and if the user has not used the tare key to enter a value.'
PromptForTare::$plugin_settings
Initial value:
= array(
'DefaultTare' => array('default'=>0.01,'label'=>'Default Tare',
'description'=>'For locations where there may be legal requirements to enter a default tare.'),
)

Desired settings. These are automatically exposed on the 'Plugins' area of the install page and written to ini.php


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