UNB Components Code Reference

UnbMessageRevision::GetFileDataPath method

Gets the name of the attachment file on disk.

public function UnbMessageRevision::GetFileDataPath ($nonExistent = false);

Parameters

nonExistent  –  optional, default: false

(bool) true to return non-existent file name, useful when the file shall be created

Return value

The name of the attached file, or null if there is no file attached.

Remarks

This method only returns a file name if the file exists. It is not verified that the attached data exists in the database otherwise. If the constructed file name does not exist, it will not be returned.

Exceptions thrown

UnbDatabaseException No description available.

Member of class: UnbMessageRevision

Implementation file: messagerevision.class.php, line 1261

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.