diff options
-rw-r--r-- | classes/iterators/IsisFieldIterator.php (renamed from classes/IsisFieldIterator.php) | 0 | ||||
-rw-r--r-- | classes/iterators/IsisMethodIterator.php (renamed from classes/IsisMethodIterator.php) | 0 | ||||
-rw-r--r-- | classes/iterators/IsisNormalSubfieldFilterIterator.php (renamed from classes/IsisNormalSubfieldFilterIterator.php) | 0 | ||||
-rw-r--r-- | classes/iterators/IsisRowIterator.php (renamed from classes/IsisRowIterator.php) | 0 | ||||
-rw-r--r-- | classes/iterators/IsisSubfieldIterator.php (renamed from classes/IsisSubfieldIterator.php) | 0 | ||||
-rw-r--r-- | classes/iterators/IsisValueIterator.php (renamed from classes/IsisValueIterator.php) | 0 | ||||
-rw-r--r-- | index.php | 7 |
7 files changed, 6 insertions, 1 deletions
diff --git a/classes/IsisFieldIterator.php b/classes/iterators/IsisFieldIterator.php index 11ed979..11ed979 100644 --- a/classes/IsisFieldIterator.php +++ b/classes/iterators/IsisFieldIterator.php diff --git a/classes/IsisMethodIterator.php b/classes/iterators/IsisMethodIterator.php index 4e5871c..4e5871c 100644 --- a/classes/IsisMethodIterator.php +++ b/classes/iterators/IsisMethodIterator.php diff --git a/classes/IsisNormalSubfieldFilterIterator.php b/classes/iterators/IsisNormalSubfieldFilterIterator.php index 98494a6..98494a6 100644 --- a/classes/IsisNormalSubfieldFilterIterator.php +++ b/classes/iterators/IsisNormalSubfieldFilterIterator.php diff --git a/classes/IsisRowIterator.php b/classes/iterators/IsisRowIterator.php index 739db22..739db22 100644 --- a/classes/IsisRowIterator.php +++ b/classes/iterators/IsisRowIterator.php diff --git a/classes/IsisSubfieldIterator.php b/classes/iterators/IsisSubfieldIterator.php index 36d3d06..36d3d06 100644 --- a/classes/IsisSubfieldIterator.php +++ b/classes/iterators/IsisSubfieldIterator.php diff --git a/classes/IsisValueIterator.php b/classes/iterators/IsisValueIterator.php index f10125d..f10125d 100644 --- a/classes/IsisValueIterator.php +++ b/classes/iterators/IsisValueIterator.php @@ -11,7 +11,12 @@ require_once 'contrib/spyc/spyc.php'; // Autoloader. function cinisis_autoload($class) { - require_once 'classes/'. $class .'.php'; + if (strstr($class, 'Iterator')) { + require_once 'classes/iterators/'. $class .'.php'; + } + else { + require_once 'classes/'. $class .'.php'; + } } // Register autoloader. |