blob: 049531bbfa831ba306b4cd00b2f22fbd31f8169f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* @file
* Contains the numeric argument validator plugin.
*/
/**
* Validate whether an argument is numeric or not.
*
* @ingroup views_argument_validate_plugins
*/
class views_plugin_argument_validate_numeric extends views_plugin_argument_validate {
function validate_argument($argument) {
return is_numeric($argument);
}
}
|