Jump to:

3397 Posts in 978 Topics by 854 members

Template Questions

SilverStripe Forums » Template Questions » Cointroller function inside control loop in template

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

Page: 1 2
Go to End
Author Topic: 3878 Views
  • spankmaster79
    Avatar
    Community Member
    46 Posts

    Re: Cointroller function inside control loop in template Link to this post

    Ok, so just putting the function in the right class and then checking properties over $this should do the trick.

    I need to parse a string and see if it contains something with preg_match. So by putting the function in the right place and then checking from PHP side will work I guess.

    3878 Views
Page: 1 2
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.