This article documents the usage of the Cpanel::Fileman::getedittype function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::Fileman::getedittype
Outputs the type of file to be edited.
<?cp Fileman::getedittype(%,type) dir=/home/user/public_html/,file=index.html ?>
This will output the type of the file index.html so that the appropriate editor can be used.
Copyright 2007 cPanel Inc.