| PHP Class Variable | Example | Details |
| $PluginVersion="xxx"; | var $PluginVersion="1.0"; | Enter a string to identify the version number you want to assign to the module |
| $PluginName="xxx"; | $PluginName="securepage"; | Display string used by the plugin module 'Manage Utility' to identify the module you have created YOU CAN NOT HAVE SPACES IN THIS NAME
|
| $PluginDescription="xxx"; | $PluginDescription="Secure page module"; | Future USE, but a friendly name for the PLUGIN |
| $PluginContainer="xxx"; | $PluginContainer="securepage"; | The actual folder name |
| $MenuModule=Y; | $MenuModule=Y; | Boolean Y or N - to include information on the ADMIN menu bar}
|
| $EngineModule=Y; | $EngineModule=Y; | Boolean Y or N - to include information to be included in the fpengine.php module |
| var $Systype=array("null"); | $Systype=array(searchresults=>'Search Engine Results',searchbox=>'Site Search Engine Box'); | Defines additional entity types - MUST BE UNIQUE NAMES - Prefix with Plugin name
Array Structure
| System Type (database use) | Description (used by the Drop Down) |
|
| var $SepTable=Y; | var $SepTable=Y; | Boolean Y or N - Tells installer to look for a table to insert |
| var $NewTables=""; | var $NewTables="CREATE TABLE searchcache ( cacheid int(15) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL, url varchar(255) NOT NULL default '', body text NOT NULL, PRIMARY KEY (cacheid), FULLTEXT KEY mainindex (title,description,body) ) "; | SQL statement for the table structure (triggered by the variable above)
MUST BE A VALID SQL STATEMENT |
| var $UpdateTables=""; | "ALTER TABLE menu ADD previousimg varchar(255) NOT NULL default '', ADD nextimg varchar(255) NOT NULL default '', ADD previousinact varchar(255) NOT NULL default '', ADD nextinact varchar(255) NOT NULL default '', ADD bulletimg varchar(255) NOT NULL default '', ADD returntext varchar(64) NOT NULL default '''); | SQL statement for the table structure (triggered by the variable above)
MUST BE A VALID SQL STATEMENT Note the updates must be in sequence - if you have version 5.0 released but the client is still on an old release you must carry the update out in stages until you get to the right version.
IF YOU DON'T DO THIS YOU WILL CORRUPT YOUR DATABASE |