The only reason it worked was because DB fetches calls to get$varname if
the dataobject has a variable with the specific name. However, it started
blurting out errors that the case must be correct (which would require
'geturl' to be the function name).
Since we probably want to replace DB sometime, we'll just override this
auto-fetching mechanism and use more explicitly defined functions.
$tn->height = intval($height);
$tn->insert();
}
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
}