- First implementation of documents

- small cleanup to remove a global Config variable (and removed some deprecated utils:: functions)
- removed the 'DocumentVersion' object since previous versions are now tracked as normal change objects.

SVN:trunk[220]
This commit is contained in:
Denis Flaven
2009-12-31 09:08:09 +00:00
parent 9247b326c8
commit 966d4820ca
16 changed files with 403 additions and 132 deletions

View File

@@ -1233,7 +1233,20 @@ class AttributeBlob extends AttributeDefinition
public function GetAsHTML($value)
{
return $value->GetAsHTML();
if (is_object($value))
{
return $value->GetAsHTML();
}
}
public function GetAsCSV($sValue, $sSeparator = ';', $sSepEscape = ',')
{
return ''; // Not exportable in CSV !
}
public function GetAsXML($value)
{
return ''; // Not exportable in XML, or as CDATA + some subtags ??
}
}