ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilObjObjectFolder.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
27 {
32  public function __construct(int $id, bool $call_by_reference = true)
33  {
34  $this->type = "objf";
36  }
37 
38 
45  public function delete(): bool
46  {
47  // DISABLED
48  return false;
49 
50  // always call parent delete function first!!
51  if (!parent::delete()) {
52  return false;
53  }
54 
55  // put here objectfolder specific stuff
56 
57  // always call parent delete function at the end!!
58  return true;
59  }
60 }
__construct(VocabulariesInterface $vocabularies)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
bool $call_by_reference
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(int $id, bool $call_by_reference=true)