![]() Inside this Profiler there are 3 separate views that give you different glimpses into your site. If the value of the right-hand expression returns a value that can be iterated (arrays, objects, etc.), the captured variable name can be used as a tag pair to iterate the returned value immediately.Īntlers has an experimental new Profiler tab in the Debugbar that helps you see the performance impact of all of your template code. The left assignment operator has a super power not shared by the others. NameĪssigns the difference of $a and $b to $a.Īssigns the remainder of $a divided by $a to var. This is how you create variables as well as increment, decrement, or otherwise manipulate numerical variables. This means left operand gets set to the value of the expression on the right. You might immediately think that means "equal to", but stop right there. And since the cool kids are doing it, Antlers does math now too! Name Teenagers have been found in back rooms and back alleys doing math and nobody can seem to stop them. Future you will thank you, but don't expect a postcard. We recommend using a single space between braces and the inner expression, lowercase variable names, and underscores as word separators.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |