diff options
author | Silvio <silvio@devlet.com.br> | 2010-07-15 18:15:21 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-07-15 18:15:21 -0300 |
commit | d9f864a13f9216b7ee78a85c53d3184220eb01c3 (patch) | |
tree | 803d9f3095a58cd638b596781eb54d6369a97708 | |
parent | 995ab5bad89603d40b7d9d60fef4bb8bae1dc9d3 (diff) | |
download | cinisis-d9f864a13f9216b7ee78a85c53d3184220eb01c3.tar.gz cinisis-d9f864a13f9216b7ee78a85c53d3184220eb01c3.tar.bz2 |
Moving iterators to their own folder
-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. |