Changes between Initial Version and Version 1 of Ticket #12009, comment 16
- Timestamp:
- 10/09/2012 08:40:36 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12009, comment 16
initial v1 3 3 Basically, instead of $in_footer = false, have $attr = false. 4 4 5 For backward compatibility, you could do if $attr == true, then $attr = array('in_footer'=>true).5 For backward compatibility, you could do if $attr === true, then $attr = array('in_footer'=>true). 6 6 7 7 Then, you can have $attr = an array of the various settings, including potential future ones, allowing you to define whether it's in the footer or not, defer or not, async or not, etc.