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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   949 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?