Is that possible? (I tried on first tutorial with Page.php for starting point)
I'm using phpEclipse with DBG(ubuntu box), and it write on the begining complaining that it can't find SiteTree class. Witch is logical since it is not included in file.
Should I choose some other .php file from core folder maybe? Stack trace would be grat.