mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 22:28:37 +02:00
Count, not Length
This commit is contained in:
parent
62608a7772
commit
c2105db6d0
@ -410,7 +410,7 @@ have to repeat it on each reference of a property.
|
||||
properties of the collection itself, instead of iterating over it. For example:
|
||||
|
||||
:::ss
|
||||
$Children.Length
|
||||
$Children.Count
|
||||
|
||||
returns the number of items in the $Children collection.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user