ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCtrlIteratorInterface Interface Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 current ()
 
 key ()
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 33 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: