mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
commit
c753d820fe
@ -466,7 +466,7 @@ The `<% with %>` tag lets you change into a new scope. Consider the following ex
|
|||||||
This is functionalty the same as the following:
|
This is functionalty the same as the following:
|
||||||
|
|
||||||
:::ss
|
:::ss
|
||||||
Hello, $CurrentMember.FirstName, welcome back. Yout current balance is $CurrentMember.Balance
|
Hello, $CurrentMember.FirstName, welcome back. Your current balance is $CurrentMember.Balance
|
||||||
|
|
||||||
Notice that the first example is much tidier, as it removes the repeated use of the `$CurrentMember` accessor.
|
Notice that the first example is much tidier, as it removes the repeated use of the `$CurrentMember` accessor.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user