19 declare(strict_types=1);
    31     public function init(): void
    33         $this->copy_enabled = 
true;
    34         $this->delete_enabled = 
true;
    35         $this->cut_enabled = 
true;
    36         $this->subscribe_enabled = 
true;
    37         $this->link_enabled = 
true; 
    38         $this->info_screen_enabled = 
true;
    40         $this->gui_class_name = 
"ilobjbloggui";
    51         $permissions = array();
    53             if ($item[
"lang_var"] === 
"edit" && $item[
"granted"]) {
    54                 $permissions[$item[
"permission"]] = $idx;
    57         if (count($permissions) === 2) {
    58             unset(
$commands[$permissions[
"contribute"]]);
    75             && (
bool) $this->
settings->get(
'item_cmd_asynch')) {
    77             $cmd = 
"forwardExport";
    81             parent::insertCommand($href, $text, $frame, $img, $cmd, $onclick);
    86         $chksum = md5($href . $text);
    88             !in_array($chksum, $this->prevent_duplicate_commands)) {
    90                 $this->prevent_duplicate_commands[] = $chksum;
    93             $prevent_background_click = 
false;
    96                 $comment_export_helper = new \ILIAS\Notes\Export\ExportHelperGUI();
    97                 $this->
lng->loadLanguageModule(
"note");
    98                 $this->comment_modal = $comment_export_helper->getCommentIncludeModalDialog(
   100                     $this->
lng->txt(
"note_html_export_include_comments"),
   104                 $signal = $this->comment_modal->getShowSignal()->getId();
   117                 $action = $this->
ui->factory()
   122                     $action = $this->
ui->factory()->link()->standard($text, $href)->withOpenInNewViewport(
true);
   125                 $action = $action->withAdditionalOnLoadCode(
function (
$id) use ($onclick, $signal): 
string {
   126                     return "$('#$id').click(( function() { $(document).trigger('" . $signal . 
"', {'id': '" . $signal . 
"','triggerer':$(this), 'options': JSON.parse('[]')}); return false;})());";
   128                 $this->current_actions[] = $action;
 This describes commonalities between the different modals. 
 
static isCommentsExportPossible(int $blog_id)
 
insertCommand(string $href, string $text, string $frame="", string $img="", string $cmd="", string $onclick="")
 
getLinkTargetByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
Returns a link target for the given information. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
getCommandLink(string $cmd)
Get command link url.