Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.doc.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Uku-Kaarel Jo~esaar  >  finfo  >  readme.doc.txt  >  Download  
File: readme.doc.txt
Role: Documentation
Content type: text/plain
Description: About implementation specific features
Class: finfo
Determine the type of files analyzing its contents
Author: By
Last change:
Date: 2012-03-16 17:39
Size: 667 bytes
 

Contents

Class file image Download
class.finfo.php
---------------


 public $no_magic    <-- built in magic 
 public $flags       <-- finfo flags
 public $magic_file  <-- path to magic file
 
    Extra methods are not implmented in php's own 'finfo'
    .....................................................

    Set or overwrite/override magic file description
    set_magicDescription($key, $array);
 
    mime_class/sub_type
    get_mime_class()
    get_mime_subtype();
    
    Returns true if mime class is "text", also returns true on XML, CSS, JS, RTF, PHP.
    isTextualData();
 
 
 
 ----------------------------------------------------------------
 About me: http://ukj.pri.ee ukj@ukj.pri.ee