From 554cb012fa1589d3576ff14484fdb987ae42d974 Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 3 Jun 2008 17:21:07 +0000 Subject: Marcus Povey * Minor doc tweak git-svn-id: https://code.elgg.org/elgg/trunk@784 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/lib/database.php b/engine/lib/database.php index c1b7d7f50..aea310841 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -273,6 +273,9 @@ $this->right_field = sanitise_string($right_field); } + /** + * Return the SQL without the link operator. + */ public function toStringNoLink() { return "{$this->left_table }.{$this->left_field} {$this->operator} {$this->right_table}.{$this->right_field}"; @@ -314,6 +317,9 @@ $this->value = "'".sanitise_string($value)."'"; } + /** + * Return the SQL without the link operator. + */ public function toStringNoLink() { return "{$this->left_table }.{$this->left_field} {$this->operator} {$this->value}"; -- cgit v1.2.3