* @author Manuela v.d.Decken * @license http://www.gnu.org/licenses/gpl.html GPL License * @version 0.0.1 * @revision $Revision: 1 $ * @lastmodified $Date: 2014-11-30 00:00:00 +0100 (So, 30 Nov 2014) $ * @since File available since 30.11.2014 * @description defines a new instance of this addon */ if (! defined('WB_PATH')) { die('Cannot access this file directly'); } /* -------------------------------------------------------- */ // --- import needed objects --------------------------------- $oReg = WbAdapter::getInstance(); // get the instance of the active registry // --- import needed global vars ----------------------------- // here you can set/get basical settings for this instance $oAddonReg = new AddonRegistry($oReg, basename(__DIR__), array('instance'=>$oReg->InstanceId)); $oAddonReg->setEntry('Template', 'MyFirstOwnTemplate'); // --- end of file -------------------------------------------