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.

General Questions /

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

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

Problem with "Has_one" or maybe FAQ!


Reply


2 Posts   634 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?