UNB Components Code Reference

UnbMessageRevision::IsFileDataAvailable method

Determines whether attachment file data is available.

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

Parameters

searchMode  –  optional, default: 0

(int) Specifies where to find the data.
* 0: Find the data whereever it is, look in the database first.
* 2: Only read from the database, return false if it's not there.

Return value

true if data is attached to this revision and available, false otherwise.

Exceptions thrown

UnbDatabaseException No description available.
UnbSecurityException 

If the message revision was requested with NoContent mode.

Member of class: UnbMessageRevision

Implementation file: messagerevision.class.php, line 1340

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