Author: david
Date: Thu Jul 26 14:34:57 2012
New Revision: 11988
Log:
Add __toString() method
Modified:
trunk/lib/model/QubitSetting.php
Modified: trunk/lib/model/QubitSetting.php
==============================================================================
--- trunk/lib/model/QubitSetting.php Thu Jul 26 14:34:26 2012 (r11987)
+++ trunk/lib/model/QubitSetting.php Thu Jul 26 14:34:57 2012 (r11988)
@@ -28,6 +28,11 @@
*/
class QubitSetting extends BaseSetting
{
+ public function __toString()
+ {
+ return (string) $this->value;
+ }
+
// wrapper convenience methods
public function isEditable()
{
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.