UNB Components Code Reference

UnbDatabase::AsBool method

Interprets a mixed value returned from the database as boolean.

public static function UnbDatabase::AsBool ($s);

Parameters

s

(any) Raw value

Return value

(bool) A boolean interpretation of that value.

Member of class: UnbDatabase

Implementation file: database.class.php, line 1218

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