ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjTalkTemplate.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21final class ilObjTalkTemplate extends ilContainer
22{
23 public const string 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}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
Class ilContainer.
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)
create()
note: title, description and type should be set when this function is called
__construct(int $id=0, bool $a_call_by_reference=true)
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
setType(string $type)
string $type
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc