Jump to:

3433 Posts in 1058 Topics by 734 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Understanding parameters

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

Page: 1
Go to End
Author Topic: 974 Views
  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Understanding parameters Link to this post

    Hi, I'm used this modification of some code I found in the forum in a current site:

    return DataObject::get("Page","ShowInMenus = 1 AND ShowOnHomePage = 1", "", "",20);

    or even

    $fields->addFieldToTab('Root.Content.PageTeaser', new TextField('HomePageOrder', 'Home Page Order', '', 10));

    These works great, but the problem is I don't know where to find documentation of the parameters etc that can be used. I use addFieldToTab all the time, but still don't know if i am missing out on features because I don't know which parameters can be used

    Any pointers would be appreciated.

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Understanding parameters Link to this post

    The API Documentation has detailed documentation of every class.. might be a good place to look.

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