ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
IteratorAggregateStub Class Reference

This class is used in tests for the length filter. More...

+ Inheritance diagram for IteratorAggregateStub:
+ Collaboration diagram for IteratorAggregateStub:

Public Member Functions

 __construct (array $data)
 
 getIterator ()
 

Private Attributes

 $data
 

Detailed Description

This class is used in tests for the length filter.

Definition at line 314 of file IntegrationTest.php.

Constructor & Destructor Documentation

◆ __construct()

IteratorAggregateStub::__construct ( array  $data)

Definition at line 318 of file IntegrationTest.php.

319 {
320 $this->data = $data;
321 }
$this data['403_header']

References $data, and data.

Member Function Documentation

◆ getIterator()

IteratorAggregateStub::getIterator ( )

Definition at line 323 of file IntegrationTest.php.

324 {
325 return new ArrayIterator($this->data);
326 }

References data.

Field Documentation

◆ $data

IteratorAggregateStub::$data
private

Definition at line 316 of file IntegrationTest.php.

Referenced by __construct().


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