19 January 2011 at 5:27am
Yes DataObject::get is the most common way to get info from the database... here is the doc http://api.silverstripe.org/trunk/sapphire/model/DataObject.html#methodget
Although SS are in the process of moving all the docs at the moment so I don't know how long the link will be valid for!
I'm often sceptical when people say they cannot find help... I click Help in the menu above, click documentation and then search "DataObject" or select something from the menu - like DataModel - http://doc.silverstripe.org/sapphire/en/topics/datamodel
19 January 2011 at 6:01am
Thanks for the reply swaiba. I've actually been trying to work my way through the documents you have supplied. I think its just my 'newbieness' as I'm having a hard time with them and didn't realise that they will infact give me the answer I'm looking for.