commit 35944a561fa3853a6db7309bb32a8fc52b475110 parent 7153e829e5b61db43c85aa6780b39cf9578193f3 Author: dankert <devnull@localhost> Date: Sun, 21 Feb 2010 17:44:31 +0100 Fehlende Implementierungen für Elementtyp \"linkinfo\" nachgeholt. Diffstat:
objectClasses/Value.class.php | | | 14 | ++++++++++---- |
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/objectClasses/Value.class.php b/objectClasses/Value.class.php @@ -846,7 +846,7 @@ SQL $inhalt = $linkedObject->name; break; - case 'desc': + case 'description': $inhalt = $linkedObject->description; break; @@ -911,15 +911,21 @@ SQL break; case 'mime-type': - $inhalt = ""; + if ( $linkedObject->isFile ) + { + $f = new File( $objectid ); + $f->load(); + $inhalt = $f->mimeType(); + unset($f); + } break; case 'filename': - $inhalt = ""; + $inhalt = $linkedObject->filename(); break; case 'full_filename': - $inhalt = ""; + $inhalt = $linkedObject->full_filename(); break; default: