aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-06-11 11:06:58 -0300
committerSilvio <silvio@devlet.com.br>2010-06-11 11:06:58 -0300
commit8498bc6c29eab8dc9b0aa679fa1101f31ca0c7c7 (patch)
treec5d2ccfc8e910aedc4792b9fe31db90caad686ae
parentd81cd89f09c5a91c0e28a2cd6006b89e9cca9566 (diff)
downloadcinisis-8498bc6c29eab8dc9b0aa679fa1101f31ca0c7c7.tar.gz
cinisis-8498bc6c29eab8dc9b0aa679fa1101f31ca0c7c7.tar.bz2
Using 'fetch' as default backend retrieval method on BiblioIsis
-rw-r--r--classes/BiblioIsisDb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php
index 0e3d9bd..8285978 100644
--- a/classes/BiblioIsisDb.php
+++ b/classes/BiblioIsisDb.php
@@ -102,7 +102,7 @@ class BiblioIsisDb implements IsisDb {
*
* @see IsisDb::read()
*/
- public function read($id, $method = 'to_hash') {
+ public function read($id, $method = 'fetch') {
// Database query.
$results = $this->backend($method, $id);
@@ -169,7 +169,7 @@ class BiblioIsisDb implements IsisDb {
* @return
* Tagged database result.
*/
- function tag($results, $method = 'to_hash') {
+ function tag($results, $method = 'fetch') {
foreach ($results as $key => $value) {
// Key '000' used to hold MFN.
if ($key != '000') {