vpx_shared_boolstr2bool($str)Converts a string boolean ('TRUE', 'true', 'FALSE', 'false') to a normal boolean value TRUE/FALSE
string $str
boolean
vpx_shared/vpx_shared.module, line 1081
<?php
function vpx_shared_boolstr2bool($str) {
if (is_bool($str)) {
return $str;
}
$str = trim(drupal_strtolower($str));
assert($str == 'true' || $str == 'false' || $str == '');
return $str == 'true';
}
?> | This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License | ![]() |
The current recommended MediaMosa version is 3.2.2. Release notes are available in MediaMosa Trac.
