variable: Rework the variable replacement system
getVar() is now called first, then object properties and array properties are considered, and then getTag() is considered if none of the other options work. This allows for more predictable results using the variable replacement system, and allows ::getVar() to override every other means to use variables in email templates.
Showing
- include/class.dept.php 8 additions, 1 deletioninclude/class.dept.php
- include/class.format.php 0 additions, 3 deletionsinclude/class.format.php
- include/class.organization.php 0 additions, 3 deletionsinclude/class.organization.php
- include/class.team.php 8 additions, 7 deletionsinclude/class.team.php
- include/class.thread.php 0 additions, 5 deletionsinclude/class.thread.php
- include/class.ticket.php 0 additions, 4 deletionsinclude/class.ticket.php
- include/class.user.php 0 additions, 3 deletionsinclude/class.user.php
- include/class.variable.php 34 additions, 27 deletionsinclude/class.variable.php
Loading
Please register or sign in to comment