ILIAS  release_4-4 Revision
tmpDirectoyIterator Class Reference
+ Inheritance diagram for tmpDirectoyIterator:
+ Collaboration diagram for tmpDirectoyIterator:

Public Member Functions

 current ()
 
 valid ()
 
 rewind ()
 

Detailed Description

Definition at line 2270 of file class.ilSetup.php.

Member Function Documentation

◆ current()

tmpDirectoyIterator::current ( )

Definition at line 2272 of file class.ilSetup.php.

2273  {
2274  return parent::getFileName();
2275  }

◆ rewind()

tmpDirectoyIterator::rewind ( )

Definition at line 2295 of file class.ilSetup.php.

2296  {
2297  parent::rewind();
2298  }

◆ valid()

tmpDirectoyIterator::valid ( )

Definition at line 2277 of file class.ilSetup.php.

2278  {
2279  if(!parent::valid())
2280  {
2281  return false;
2282  }
2283  if($this->isFile() and substr(parent::getFileName(),-4) == '.xml')
2284  {
2285  return false;
2286  }
2287  if($this->isFile() and substr(parent::getFileName(),-8) != '_inserts')
2288  {
2289  return true;
2290  }
2291  parent::next();
2292  return $this->valid();
2293  }

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