function video_format_right in Video 7
Same name and namespace in other branches
- 6.5 video_widget.inc \video_format_right()
- 6.4 video_widget.inc \video_format_right()
1 call to video_format_right()
File
- ./
video.module, line 643
Code
function video_format_right($value) {
$format = explode("x", $value);
if (!isset($format[0]) || !is_numeric(trim($format[0]))) {
return FALSE;
}
if (!isset($format[1]) || !is_numeric(trim($format[1]))) {
return FALSE;
}
return TRUE;
}