Yes, nice work, i've test this and its working correct. 
Add this direct to the http://area51.phpbb.com/docs/31x/coding-guidelines.html for more clearness.