Function geoif
Allows inline test for value. Can test constants but not undefined variables.
Package: Geolib
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Located at geoFunctions.php
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Located at geoFunctions.php
mixed |
$var |
Variable to be tested for value |
mixed |
$result1 = true |
Value to be returned if test is passed |
mixed |
$result2 = null |
Value to be returns if test fails |
mixed
|
Result of test |