19 declare(strict_types=1);
    34         $this->
user = $DIC->user();
    35         $this->
access = $DIC->access();
    41             array(
"permission" => 
"read", 
"cmd" => 
"preview", 
"lang_var" => 
"show", 
"default" => 
true),
    42             array(
"permission" => 
"write", 
"cmd" => 
"render", 
"lang_var" => 
"edit"),
    43             array(
"permission" => 
"contribute", 
"cmd" => 
"render", 
"lang_var" => 
"edit"),
    44             array(
"permission" => 
"write", 
"cmd" => 
"edit", 
"lang_var" => 
"settings"),
    45             array(
"permission" => 
"write", 
"cmd" => 
"export", 
"lang_var" => 
"export_html")
    53         $ilAccess = $DIC->access();
    55         $t_arr = explode(
"_", $target);
    57         if (substr($target, -3) === 
"wsp") {
    61         if ($t_arr[0] !== 
"blog" || ((
int) $t_arr[1]) <= 0) {
    66         if ($ilAccess->checkAccess(
"read", 
"", (
int) $t_arr[1]) ||
    67             $ilAccess->checkAccess(
"visible", 
"", (
int) $t_arr[1])) {
    77         if (preg_match(
"/\\/blog_([\\d]*)\\//uim", $ilWACPath->
getPath(), 
$results)) {
    85             $node_id = $tree->lookupNodeId((
int) $obj_id);
    88                 if ($access_handler->checkAccessOfUser($tree, $ilUser->getId(), 
"read", 
"view", $node_id, 
"blog")) {
    96                     if ($ilAccess->checkAccessOfUser($ilUser->getId(), 
"read", 
"view", 
$ref_id, 
"blog", (
int) $obj_id)) {
   110         $setting = $DIC->settings();
   111         $notes = $DIC->notes();
   113         if ($setting->get(
"disable_comments")) {
   116         if (!$privacy->enabledCommentsExport()) {
   119         if (!$notes->domain()->commentsActive($blog_id)) {
 
static _checkGoto(string $target)
 
static _getAllReferences(int $id)
get all reference ids for object ID 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
canBeDelivered(ilWACPath $ilWACPath)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static isCommentsExportPossible(int $blog_id)
 
static hasAccess(int $a_node_id, bool $a_is_portfolio=false)