Return the CHARSET which should be set in the HTTP header sent
to the downloader.
public getCharset ( ) : string | ||
return | string |
<dd><?php echo $object->getMimeType(); ?> </dd> <dt><?php putGS('Size'); ?> :</dt> <dd><?php echo MediaList::FormatFileSize($object->getSizeInBytes()); ?> </dd> <?php if ($object->getCharset()) { ?> <dt><?php putGS('Charset'); ?> :</dt> <dd><?php echo $object->getCharset(); ?> </dd> <?php } ?> </dl>
<div class="wrapper"><div class="main-content-wrapper"> <h2><?php echo $object->getFileName(); ?></h2> <p class="dates"><?php putGS('Created'); ?>: <?php echo $object->getTimeCreated(); ?>, <?php putGS('Last modified'); ?>: <?php echo $object->getLastModified(); ?></p> <?php echo new MediaPlayer($object->getAttachmentUrl() . '?g_show_in_browser=1', $object->getMimeType()); ?> <dl class="attachment"> <dt><?php putGS('Type'); ?>:</dt> <dd><?php echo $object->getMimeType(); ?></dd> <dt><?php putGS('Size'); ?>:</dt> <dd><?php echo MediaList::FormatFileSize($object->getSizeInBytes()); ?></dd> <?php if ($object->getCharset()) { ?> <dt><?php putGS('Charset'); ?>:</dt> <dd><?php echo $object->getCharset(); ?></dd> <?php } ?> </dl> <form name="edit" method="POST" action="do_edit-attachment.php"> <?php echo SecurityToken::FormParameter(); ?> <input type="hidden" name="f_attachment_id" value="<?php echo $object->getAttachmentId(); ?>" /> <div class="ui-widget-content big-block block-shadow padded-strong"> <fieldset class="plain"> <legend><?php putGS('Change attachment information'); ?></legend>