Monthly Archives: January 2010

You are browsing the site archives by month.

Only 1 person writing PHP shizzle.

If I may believe my Google Reader, there’s only a handful of people that’s actually writing something decent about PHP. And as you might expect a shitload of websites tends to refer to that one persons’ posts, clouding my RSS feed with a bunch of nonsense. I love sundays.

Type hinting for objects

In Spoon I fetch my form elements in this way that it’s impossible for the library to provide the correct type hinting. You can fix this yourself by doing:

/* @var $txtEmail SpoonTextField */
$txtEmail = $this->frm->getField(‘email’);