Example #1
0
<?php 
$ilDB->manipulate("UPDATE settings " . "SET value = " . $ilDB->quote(1370, "text") . " WHERE module = " . $ilDB->quote("blga", "text") . " AND keyword = " . $ilDB->quote("banner_width", "text") . " AND value = " . $ilDB->quote(880, "text"));
$ilDB->manipulate("UPDATE settings " . "SET value = " . $ilDB->quote(1370, "text") . " WHERE module = " . $ilDB->quote("prfa", "text") . " AND keyword = " . $ilDB->quote("banner_width", "text") . " AND value = " . $ilDB->quote(880, "text"));
?>
<#4441>
<?php 
include_once './Services/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php';
$tgt_ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('copy');
if ($tgt_ops_id) {
    $feed_type_id = ilDBUpdateNewObjectType::getObjectTypeId('feed');
    if ($feed_type_id) {
        // add "copy" to (external) feed
        ilDBUpdateNewObjectType::addRBACOperation($feed_type_id, $tgt_ops_id);
        // clone settings from "write" to "copy"
        $src_ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('write');
        ilDBUpdateNewObjectType::cloneOperation('feed', $src_ops_id, $tgt_ops_id);
    }
}
?>
<#4442>
<?php 
$ilCtrlStructureReader->getStructure();
?>
<#4443>
<?php 
$ilCtrlStructureReader->getStructure();
?>
<#4444>
<?php 
$ilCtrlStructureReader->getStructure();
?>