protected function register_file_handler($extension, $module, $message) {
        $extension = strtolower($extension);

        $add = new stdClass;
        $add->extension = $extension;
        $add->module = $module;
        $add->message = $message;

        $this->filehandlers[] = $add;
    }
protected function register_file_handler($extension, $module, $message) {
        $extension = strtolower($extension);

        $add = new stdClass;
        $add->extension = $extension;
        $add->module = $module;
        $add->message = $message;

        $this->filehandlers[] = $add;
    }
protected function register_file_handler ( $ extension , $ module , $ message ) { $ extension = strtolower ( $ extension ) ; $ add = new stdClass ; $ add -> extension = $ extension ; $ add -> module = $ module ; $ add -> message = $ message ; $ this -> filehandlers [ ] = $ add ; }
Used to declare that a particular module will handle a particular type
of dropped file

@param string $extension The file extension to handle ('*' for all types)
@param string $module The name of the module to handle this type
@param string $message The message to show the user if more than one handler is registered
for a type and the user needs to make a choice between them
Used to declare that a particular module will handle a particular type of dropped file