public function __construct($name)
 {
     global $TYPO3_DB, $BE_USER;
     parent::__construct($name);
     $TYPO3_DB->debugOutput = TRUE;
     $this->apiObj = new tx_templavoila_api();
     $this->workspaceIdAtStart = $BE_USER->workspace;
     $BE_USER->setWorkspace(0);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $TYPO3_DB->debugOutput = TRUE;
     $this->oApi = new tx_ameosformidable();
 }