Ok here is an example!
Lets say that awb has a new file added caled plugins.php
This file contains 2 Unencrypted empty functions
the $vars is an array with example current keyword,Processposition, and tabledata like tableid of current keyword.
plugins.php
function BeforeProcess($vars){
}
function AfterProcess($vars){
}
within those 2 functions we can pass own code like this for example:
function BeforeProcess($vars){
include 'plugins/myplugin.php';
$firstplugin = new PluginClass($vars);
$firstplugin->Start();
}
in a plugins dir we create a file called myplugin.php that contins this
class PluginClass{
protected $CurrentKw,$Process,$TableId;
function __construct($vars) {
$this->Process = $vars[0];
$this->CurrentKw = $vars[1];
$this->TableId = $vars[2];
}
function Start(){
}
function Start2(){
}
}
Ofcourse we don't limit ourselfes to use classes since we can include our plugins and execute a function instead or just plain code.
Hope that clearifies my thoughts.
//MoonWolf