You can add public methods to a DataObject using the extension mechanism, for example:
class MyMemberExtension extends DataExtension
{
public function getHashId()
{
return sha1($this->owner->ID);
}
}
When applied to the Member class, the example above would return...