Jump to:

23453 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Problem with "Has_one" or maybe FAQ!

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

Page: 1
Go to End
Author Topic: 557 Views
  • historiavk
    Avatar
    Community Member
    1 Post

    Problem with "Has_one" or maybe FAQ! Link to this post

    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 ...

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Problem with "Has_one" or maybe FAQ! Link to this post

    What does the object "Ckalm" look like?

    557 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.