Accents with Gnome

February 29th, 2008

Need to search for José González in Rhythmbox? Just found out about Sígur Rós?–Með Blóðnasir anyone? Had an essay on þe grammatical structures of Old English?
Being a native English speaker, I previously managed using the ‘Insert Symbol’ dialog, however lately I can’t seem to escape accents and letter forms. You too can be pretentious while […]

Code Igniter: Active Record and Private Class Variables

October 6th, 2007

In the Code Igniter Models documentation it details the Active Record insert, which builds the insert around your class variables, allowing you to do this:

$this->title = $_POST[’title’];
$this->content = $_POST[’content’];
$this->date = time();
$this->db->insert(’entries’, $this);

However there’s a bug: it doesn’t distinguish against private class variables, leaving you with errors like this:

error, no fields […]

Code Igniter: Model Constructor Arguments?

October 1st, 2007

After a month of use, I’m still a big fan of Code Igniter; it’s a lightweight PHP framework that hasn’t got in my way, which is a big factor regarding how long things last. I particular like its flexibility regarding handling URLs, as it doesn’t force you to use its default segment-based approach, providing direct […]