31         $this->
setAr($activeRecord);
    37         $ilTemplate = 
new ilTemplate(__DIR__ . 
'/templates/dbupdate.txt', 
true, 
true);
    43         $ilTemplate->setVariable(
'STEP', $this->
getStep());
    44         $ilTemplate->setVariable(
'PRIMARY', $this->
getAr()->getArFieldList()->getPrimaryFieldName());
    46         foreach ($this->
getAr()->getArFieldList()->getFields() as $arField) {
    47             $ilTemplate->touchBlock(
'field');
    48             $ilTemplate->setVariable(
'FIELD_NAME', $arField->getName());
    49             foreach ($arField->getAttributesForConnector() as $name => $value) {
    50                 $ilTemplate->setCurrentBlock(
'attribute');
    52                 $ilTemplate->setVariable(
'VALUE', $value);
    53                 $ilTemplate->parseCurrentBlock();
    58             $ilTemplate->setCurrentBlock(
'attribute');
    60             $ilTemplate->parseCurrentBlock();
    63         header(
'Content-type: application/x-httpd-php');
    64         header(
"Content-Disposition: attachment; filename=\"dbupdate.php\"");
    65         echo $ilTemplate->get();
    71         $this->ar = $activeRecord;
 
static mapKey(string $key)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(ActiveRecord $activeRecord, int $step=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setAr(\ActiveRecord $activeRecord)
 
getConnectorContainerName()
Return the Name of your Connector Table 
 
generateDBUpdateForInstallation()