Speaking of readability: Just `pri` as the constructor?
When having just a quick glance at code I want to know which part does what. Function names help, even if it is __construct.
And the @str title=null line above the class seems very odd.
And the @str title=null line above the class seems very odd.
And the @str title=null line above the class seems very odd.
This is great because you can indent code under it that's relevant to it, that would normally end up cluttering your function's narrative up with housekeeping for variables.
This is a much more pleasant way to deal with PHP. Check out the documentation, it is outstanding. http://code.google.com/p/php-snow/wiki/Class
I don't feel that it's more readable, or even easier to write, as "pri", though.