3 declare(strict_types=1);
    23         return hash(
"sha256", self::class);
    28         return "Delete rbac operation and rbac template for type $this->type and id $this->ops_id";
    45         $db = $environment->
getResource(Environment::RESOURCE_DATABASE);
    50             "DELETE FROM rbac_ta" . PHP_EOL
    51             . 
"WHERE typ_id = " . $db->quote($type_id, 
"integer") . PHP_EOL
    52             . 
"AND ops_id = " . $db->quote($this->ops_id, 
"integer") . PHP_EOL
    55         $db->manipulate($sql);
    58             "DELETE FROM rbac_templates" . PHP_EOL
    59             . 
"WHERE type = " . $db->quote($this->type, 
"text") . PHP_EOL
    60             . 
"AND ops_id = " . $db->quote($this->ops_id, 
"integer") . PHP_EOL
    63         $db->manipulate($sql);
 achieve(Environment $environment)
 
getPreconditions(Environment $environment)
 
__construct(string $type, int $ops_id)
 
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
isApplicable(Environment $environment)
 
An environment holds resources to be used in the setup process. 
 
static _getObjectTypeIdByTitle(string $type, \ilDBInterface $ilDB=null)