count checkbox, radio and input....
View Single Post
04-23-2009, 12:27 AM
Join Date: Sep 2007
You can return nothing like there, but! That means the render function will generate an error unless modified, but in that condition it would be wrong to change, as no inputs were found. Only the "if-browser-does-not-support-getElementsByTagName" you should return void and then check for void return in the Render function.
As for the "object literal" or closure object, its one of the things I would really like with real closures now in PHP 5.3, but lets hope they can be in 6.0 if someone makes a patch for it :)
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle