Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Problem with "Has_one" or maybe FAQ!


Go to End


2 Posts   785 Views

Avatar
historiavk

Community Member, 1 Post

5 June 2009 at 8:55am

Hey look I have the following code:

class Burning extends DataObject {
	static $db = array(
		'Nummers' => 'Varchar',
		'Hellsibing' => 'Varchar'
	);
	static $has_one = array(
		'Ckalm'      => 'Ckalm',
	);
}

and well, I want the truth in the "Has_one" could generate a selectbox HTML, as they can choose the data ...
I hope a help ...

Avatar
Hamish

Community Member, 712 Posts

5 June 2009 at 4:04pm

What does the object "Ckalm" look like?