/** * Construct config tab */ public function __construct() { parent::__construct(); $this->loadConfiguration(); $this->Factory = new Factory(SessionAccountHandler::getId()); $this->ExampleContext = new Dataset\Context($this->getExampleTraining(), SessionAccountHandler::getId()); }
/** * Add a tab * @param ConfigTab $Tab */ public function addTab(ConfigTab $Tab) { $this->Tabs[$Tab->getKey()] = $Tab; }