| 
    Stud.IP
    trunk Revision
    
   | 
  

Public Member Functions | |
| __construct () | |
| getMetaData ($url) | |
| readURL ($url, $modified_since=NULL) | |
| garbageCollect () | |
Data Fields | |
| const | GC_PROBABILITY = 2 | 
Model class for the Stud.IP media proxy.
| __construct | ( | ) | 
| garbageCollect | ( | ) | 
Remove old files from the media cache.


| getMetaData | ( | $url | ) | 
Retrieve meta data about a (possibly) cached media resource.


| readURL | ( | $url, | |
$modified_since = NULL  | 
        |||
| ) | 
Read URL and send data to the browser (similar to readfile()). Will cache the sent data if possible. An optional timestamp can be specified if the browser supplied an If-Modified-Since header.
| string | $url | URL to send | 
| int | $modified_since | test if resource is modified | 

| const GC_PROBABILITY = 2 |