From 1c7744d7b0298723bcc2783663b60cd8a2c0e67b Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 27 Jul 2010 10:52:00 -0300 Subject: Moving join_subfields and main_field_name to CinisisDb --- classes/IsisConnector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/IsisConnector.php') diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php index 4d9683f..4539669 100644 --- a/classes/IsisConnector.php +++ b/classes/IsisConnector.php @@ -59,7 +59,7 @@ class IsisConnector { */ public function getMainItemName($field) { $key = $this->getFieldKey($field); - return $this->isis->db->main_field_name($key); + return CinisisDb::main_field_name($this->format, $key); } /** @@ -69,7 +69,7 @@ class IsisConnector { * Boolean. */ public function joinSubfields() { - if ($this->isis->db->join_subfields()) { + if (CinisisDb::join_subfields($this->format)) { return TRUE; } -- cgit v1.2.3