Inconsistent - In capital letters!

MrFreeze

Member
example 1:
Code:
{{ bb_code($user.Profile.signature, 'signature', $user) }}
Only the 2nd element is capitalized here! ".Profile"

example 2
Code:
<xf:if is="$xf.visitor.Option.content_show_signature AND $user.Profile.signature">
Only the 3nd element is capitalized here! ".Option"


Why times the 2nd or times the 3rd time?
How can one know this arbitrariness?

Why are you doing this? Why not make every element lowercase???
 
By convention, in entities, capital letters represent relationships to other tables. This makes it clearer what that means. This is a reasonably common concept across programming languages (such as classes in JS starting with capital letters).

You may wish to review the entity definitions to see what I mean specifically.
 
  • Like
Reactions: Bob
Top Bottom