aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-03-29 18:24:09 -0300
committerSilvio <silvio@devlet.com.br>2010-03-29 18:24:09 -0300
commite9f4a62b8be6094444ffea4be8e545394ab3e16c (patch)
tree3dbeee5af54b3392004d546245184956908d358a
parent16032707c55df72fe3260150707eb6f3b488de03 (diff)
downloadcinisis-e9f4a62b8be6094444ffea4be8e545394ab3e16c.tar.gz
cinisis-e9f4a62b8be6094444ffea4be8e545394ab3e16c.tar.bz2
Minor changes
-rw-r--r--isis.php6
-rw-r--r--test.php7
2 files changed, 10 insertions, 3 deletions
diff --git a/isis.php b/isis.php
index 9c8bbc2..4dd0ee2 100644
--- a/isis.php
+++ b/isis.php
@@ -109,3 +109,9 @@ class MaleteDb implements IsisDb {
return $data;
}
}
+
+/**
+ * PHP-Isis implementation of IsisDb.
+ */
+class PhpIsis implements IsisDb {
+}
diff --git a/test.php b/test.php
index 294edca..18be0c0 100644
--- a/test.php
+++ b/test.php
@@ -185,13 +185,14 @@ include('contrib/spyc/spyc.php');
<h3>Testing pecl-isis</h3>
<?php
- //$db = isis_open('db/anu10/anu10');
- $db = isis_open('db/tupi/tupi');
+ $db = isis_open('db/anu10/anu10');
+ //$db = isis_open('db/tupi/tupi');
print_r(isis_last_mfn($db));
echo '<table>';
$result = isis_search('$', $db);
+ /*
while ($record = isis_fetch_flat_array($result) ) {
print (" <tr><td colspan=\"2\">MFN: $record[mfn]</td></tr>\n");
for ($i=0; $i<count($record)-1; ++$i) { //-1 porque el mfn es +1
@@ -202,7 +203,7 @@ include('contrib/spyc/spyc.php');
" </tr>\n");
}
}
-
+ */
echo '</table>';
?>
</body></html>