ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilObjTalkTemplate.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 final class ilObjTalkTemplate extends ilContainer
22 {
23  public const TYPE = 'talt';
24 
25  public function __construct(int $id = 0, bool $a_call_by_reference = true)
26  {
27  $this->setType(self::TYPE);
28  parent::__construct($id, $a_call_by_reference);
29  }
30 
31  public function create(): int
32  {
33  parent::create();
35  return $this->getId();
36  }
37 
38  public static function _exists(int $id, bool $reference = false, ?string $type = null): bool
39  {
40  return parent::_exists($id, $reference, self::TYPE);
41  }
42 }
string $type
setType(string $type)
__construct(VocabulariesInterface $vocabularies)
static _exists(int $id, bool $reference=false, ?string $type=null)
__construct(int $id=0, bool $a_call_by_reference=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23