Author: david
Date: Tue Jan 10 13:02:00 2012
New Revision: 10620
Log:
Add getter/setter for maintenanceNotes
Modified:
trunk/plugins/sfIsaarPlugin/lib/qtIsaarCsv.class.php
Modified: trunk/plugins/sfIsaarPlugin/lib/qtIsaarCsv.class.php
==============================================================================
--- trunk/plugins/sfIsaarPlugin/lib/qtIsaarCsv.class.php Tue Jan 10
12:58:02 2012 (r10619)
+++ trunk/plugins/sfIsaarPlugin/lib/qtIsaarCsv.class.php Tue Jan 10
13:02:00 2012 (r10620)
@@ -66,7 +66,14 @@
{
if (in_array($name, self::$NAMES))
{
- return $this->resource->__get($name);
+ switch ($name)
+ {
+ case 'maintenanceNotes':
+ return $this->isaar->maintenanceNotes = $value;
+
+ default:
+ return $this->resource->__get($name);
+ }
}
}
@@ -74,7 +81,15 @@
{
if (in_array($name, self::$NAMES))
{
- $this->resource->__set($name, $value);
+ switch ($name)
+ {
+ case 'maintenanceNotes':
+ $this->isaar->maintenanceNotes = $value;
+ break;
+
+ default:
+ $this->resource->__set($name, $value);
+ }
}
return $this;
--
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.