diff options
author | wei <> | 2007-02-19 02:23:19 +0000 |
---|---|---|
committer | wei <> | 2007-02-19 02:23:19 +0000 |
commit | 826a0ceb950872bb311addd24c1a8da76a1cccc6 (patch) | |
tree | da833758be6a683a4cada41c417a522698705758 /framework/Data/ActiveRecord/TActiveRecordCriteria.php | |
parent | db1a9b1af8aee6d5967e96d3f8928d1576c45daf (diff) |
Add trace to active records and TDbCommand
Diffstat (limited to 'framework/Data/ActiveRecord/TActiveRecordCriteria.php')
-rw-r--r-- | framework/Data/ActiveRecord/TActiveRecordCriteria.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecordCriteria.php b/framework/Data/ActiveRecord/TActiveRecordCriteria.php index 968a2691..6adfe4ce 100644 --- a/framework/Data/ActiveRecord/TActiveRecordCriteria.php +++ b/framework/Data/ActiveRecord/TActiveRecordCriteria.php @@ -153,6 +153,11 @@ class TActiveRecordCriteria extends TComponent {
return $this->getCondition();
}
+
+ public function repr()
+ {
+ return var_export($this->getParameters()->toArray(),true);
+ }
}
?>
\ No newline at end of file |