aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-03 17:21:07 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-03 17:21:07 +0000
commit554cb012fa1589d3576ff14484fdb987ae42d974 (patch)
tree9a16202ce34d17e1a638e1e17f4dbfb4ac182679 /engine
parent3d452274c612a19916e5a322bc5beaa93382ae78 (diff)
downloadelgg-554cb012fa1589d3576ff14484fdb987ae42d974.tar.gz
elgg-554cb012fa1589d3576ff14484fdb987ae42d974.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Minor doc tweak git-svn-id: https://code.elgg.org/elgg/trunk@784 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/database.php6
1 files changed, 6 insertions, 0 deletions
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}";