ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilCtrlIteratorInterface Interface Reference

Interface ilCtrlIteratorInterface. More...

+ Inheritance diagram for ilCtrlIteratorInterface:
+ Collaboration diagram for ilCtrlIteratorInterface:

Public Member Functions

 current ()
 
 key ()
 

Detailed Description

Interface ilCtrlIteratorInterface.

Author
Thibeau Fuhrer thf@s.nosp@m.tude.nosp@m.r-rai.nosp@m.mann.nosp@m..ch

This interface describes how an ilCtrl iterator must behave like. It extends the original Iterator interface but overrides the public functions current() and key(), as the Iterators must always return class-paths mapped to the object name.

This means, that Iterators implementing this interface have rather complex valid() methods, as they need to check if the current data and key provided by the source are strings.

Definition at line 17 of file interface.ilCtrlIteratorInterface.php.

Member Function Documentation

◆ current()

ilCtrlIteratorInterface::current ( )

Returns
string

Implemented in ilCtrlArrayIterator.

◆ key()

ilCtrlIteratorInterface::key ( )

Returns
string

Implemented in ilCtrlArrayIterator.


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