public function validate_pmo_level(Module_PM $module, $arg) { return GWF_Validator::validateInt($module, 'pmo_level', $arg); }
public function validate_level($m, $arg) { return GWF_Validator::validateInt($m, 'level', $arg, '-2000000000', '2000000000', true); }
public function validate_level(Module_Download $m, $arg) { return GWF_Validator::validateInt($m, 'level', $arg, 0, 3999999999, '0'); }
public function validate_wf_score(Module_WeChall $m, $arg) { return GWF_Validator::validateInt($m, 'wf_score', $arg, 0, 1000000, true); }
public function validate_site_powarg(Module_WeChall $m, $arg) { return GWF_Validator::validateInt($m, 'site_powarg', $arg, 0, 10000, true); }
public function validate_level(Module_Votes $m, $arg) { return GWF_Validator::validateInt($m, 'level', $arg, 0, PHP_INT_MAX, '0'); }
public function validate_fun(Module_WeChall $m, $arg) { return GWF_Validator::validateInt($m, 'fun', $arg, 0, 10, true); }
private function validateNumber(Module_Profile $m, $key, $arg, $max) { $arg = str_replace(' ', '', $arg); return GWF_Validator::validateInt($m, $key, $arg, '0', bcpow('10', "{$max}"), true); }
public function validate_bpm(Module_Slaytags $m, $arg) { return GWF_Validator::validateInt($m, 'bpm', $arg, 0, 255); }
public function validate_port(Module_WeChall $m, $arg) { return GWF_Validator::validateInt($m, 'port', $arg, 1, 1024, true); }
public static function validate_minlevel(Module_Usergroups $m, $v) { return GWF_Validator::validateInt($m, 'minlevel', $v, 0, PHP_INT_MAX, true); }