ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
ILIAS\MetaData\Elements\Scaffolds\ScaffoldableInterface Interface Reference
+ Inheritance diagram for ILIAS\MetaData\Elements\Scaffolds\ScaffoldableInterface:
+ Collaboration diagram for ILIAS\MetaData\Elements\Scaffolds\ScaffoldableInterface:

Public Member Functions

 addScaffoldsToSubElements (ScaffoldProviderInterface $scaffold_provider)
 Scaffolds are used to mark where elements could potentially be created. More...
 
 addScaffoldToSubElements (ScaffoldProviderInterface $scaffold_provider, string $name)
 If possible, adds a scaffold with the given name to this element's sub-elements, and returns it. More...
 

Detailed Description

Definition at line 26 of file ScaffoldableInterface.php.

Member Function Documentation

◆ addScaffoldsToSubElements()

ILIAS\MetaData\Elements\Scaffolds\ScaffoldableInterface::addScaffoldsToSubElements ( ScaffoldProviderInterface  $scaffold_provider)

Scaffolds are used to mark where elements could potentially be created.

Adds all possible scaffolds to this element's sub-elements. Scaffolds are added such that the order of elements as suggested by the structure is preserved.

Implemented in ILIAS\MetaData\Elements\Element, and ILIAS\MetaData\Elements\NullElement.

◆ addScaffoldToSubElements()

ILIAS\MetaData\Elements\Scaffolds\ScaffoldableInterface::addScaffoldToSubElements ( ScaffoldProviderInterface  $scaffold_provider,
string  $name 
)

If possible, adds a scaffold with the given name to this element's sub-elements, and returns it.

Scaffolds are added such that the order of elements as suggested by the structure is preserved.

Returns
ElementInterface[]

Implemented in ILIAS\MetaData\Elements\Element, and ILIAS\MetaData\Elements\NullElement.

Referenced by ILIAS\MetaData\Manipulator\Manipulator\addAndMarkScaffoldByStep(), ILIAS\MetaData\XML\Reader\Standard\Legacy\addScaffoldAndMark(), ILIAS\MetaData\XML\Reader\Standard\StructurallyCoupled\prepareAddingLangStringFromXML(), and ILIAS\MetaData\XML\Reader\Standard\StructurallyCoupled\read().

+ Here is the caller graph for this function:

The documentation for this interface was generated from the following file: