Jeff Busby wrote:
Not sure if I'm missing something here but is this method complete?
I guess you're missing something.
The 'testBetween' method is not for string length checking I believe.
From the code:
/**
* Returns value if it is greater than or equal to $min and less
* than or equal to $max, FALSE otherwise. If $inc is set to
* FALSE, then the value must be strictly greater than $min and
* strictly less than $max.
*
[..]
public function testBetween($key, $min, $max, $inc = TRUE)
:-)
--
Ole Bendik Kvisberg
Linpro AS