UNB Components Code Reference

UnbMessageRevision::GetFileDataLength method

Gets the length of an attachment file in bytes.

public function UnbMessageRevision::GetFileDataLength ($searchMode = 0);

Parameters

searchMode  –  optional, default: 0
(int) Specifies how to read the data.
* 0: Find the data whereever it is, look in the database first.
* 1: Find the data whereever it is, look in the filesystem first.

Return value

the size of the attached file in bytes, or 0 if there is no file attached.

Exceptions thrown

UnbDatabaseException No description available.

Member of class: UnbMessageRevision

Implementation file: messagerevision.class.php, line 1231

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.