I guess my myopia has set in again, thanks for clarifying that Ole.

Regarding your comment Gavin, I think the only thing that would have stopped my short sightedness here would have been a few more use case scenarios in the manual or docs.

I've only been using this component for a few days now, but I do have a couple of suggestions, when I have a few minutes I'll post them in the comments section.

Cheers.



Ole Bendik Kvisberg wrote:
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)


:-)



--
Jeff Busby
[EMAIL PROTECTED]

Tenbelowzero, Inc.
Empowering Business to Harness the Power of Content

323 Kerr Street, Suite 203, Oakville, ON L6K 3B6
tel: 905.337.0657  fax: 905.337.1479   http://www.tenbelowzero.com


begin:vcard
fn:Jeff Busby
n:Busby;Jeff
org:Tenbelowero Inc
adr:Suite 203;;323 Kerr St;Oakville;Ont;L6K3B6;Canada
email;internet:[EMAIL PROTECTED]
title:CTO
tel;work:905.337.0657
tel;fax:905.337.1479
tel;cell:905.407.4359
x-mozilla-html:FALSE
url:http://www.tenbelowzero.com
version:2.1
end:vcard

Reply via email to