hostel management system - DSpace at CUSAT - Cochin University ...
hostel management system - DSpace at CUSAT - Cochin University ...
hostel management system - DSpace at CUSAT - Cochin University ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hostel Mangement System<br />
. You have to put th<strong>at</strong> outside of the pre-defined options of the specific mime-transform, as the last value<br />
of the set. Use the form<strong>at</strong> “‘; charset=XXX’”. If you use a transform, for which you can specify 2<br />
options and you want to append a character set, enter “‘first parameter’,’second<br />
parameter’,’charset=us-ascii’”. You can, however use the defaults for the parameters: “‘’,’’,’charset=us-<br />
ascii’”.<br />
File structure<br />
All mimetypes and their transform<strong>at</strong>ions are defined through single files in the directory ‘libraries/<br />
transform<strong>at</strong>ions/’.They are stored in files to ease up customiz<strong>at</strong>ion and easy adding of new transform<strong>at</strong>ions.<br />
Because the user cannot enter own mimetypes, it is kept sure th<strong>at</strong> transform<strong>at</strong>ions always work. It<br />
makes no sense to apply a transform<strong>at</strong>ion to a mimetype, the transform-function doesn’t know to handle.<br />
One can, however, use empty mime-types and global transform<strong>at</strong>ions which should work for many<br />
mimetypes. You can also use transforms on a different mimetype they where built for, but pay <strong>at</strong>tention to<br />
option usage as well as wh<strong>at</strong> the transform<strong>at</strong>ion does to your field.There is a basic file called ‘global.inc.php’.<br />
This function can be included by any other transform function and provides some basic functions.<br />
There are 5 possible file names:<br />
1.A mimetype+subtype transform:[mimetype]_[subtype]__[transform].inc.php.Please note th<strong>at</strong><br />
mimetype and subtype are separ<strong>at</strong>ed via ‘_’, which shall not be contained in their names.The transform<br />
function filename may contain only characters which cause no problems in the file <strong>system</strong> as well as the<br />
PHP function naming convention.Thetransform function will the be called<br />
PMA_transform_[mimetype]_[subtype]__[transform]()’.<br />
Division of computer Engineering, SOE 63