function _swftools_tf in SWF Tools 6
Same name and namespace in other branches
- 5 swftools.module \_swftools_tf()
- 6.3 swftools.module \_swftools_tf()
- 6.2 swftools.module \_swftools_tf()
Returns 'true' or 'false' for javascript based on 0,1,TRUE,FALSE etc
6 calls to _swftools_tf()
- swftools_swftools_embed in ./
swftools.module - Implementation of swftools_embed hook Returns the markup for the page. This method generates standards compliant HTML
- _flowplayer_flashvars in flowplayer/
flowplayer.module - This function is called from flowplayer_swftools_flashvars() which is called from swf() It will return the default flashvar configuration, just prior to any overrides passed into swf(). We start with the settings defined on admin/swf/wijering which…
- _imagerotator_flashvars in imagerotator/
imagerotator.module - This function is called from imagerotator_swftools_flashvars() which is called from swf() It will return the default flashvar configuration, just prior to any overrides passed into swf(). We start with the settings defined on…
- _swftools_params in ./
swftools.module - These are the default params.
- _wijering4_flashvars in wijering4/
wijering4.module - This function is called from wijering4_swftools_flashvars() which is called from swf() It will return the default flashvar configuration, just prior to any overrides passed into swf(). We start with the settings defined on admin/swf/wijering which are…
File
- ./
swftools.module, line 521
Code
function _swftools_tf($bool) {
// String 'false' is treated as TRUE in PHP logic, so force to FALSE
if (strtolower($bool) == 'false') {
$bool = FALSE;
}
// Return 'true' or 'false' now we are sure of result
return $bool ? 'true' : 'false';
}