string guessMIME(
string
$path)
|
|
Guesses the MIME type of the given file.
This method uses the 'file' program to guess the MIME type of the specified file.
Tags:
Parameters:
void __get(
string
$field)
|
|
Magic method to access proeprties.
Class declarations are loaded dynamically when the corresponding property of gallery is requested. This works because all methods in libgallery access tables through a reference to a gallery object. The getter method then sets the property inside gallery, so future requests do not lead to a call of __get, but return the (now existing) property. Tricky, eh? ;)
Parameters: