Changeset 664 for trunk/bin/module_maker/sql.cli.php
- Timestamp:
- Feb 2, 2019 5:49:25 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/sql.cli.php
r612 r664 202 202 echo "// Instantiate a sorting object with the default sort and order. Add SQL for each column.\n"; 203 203 echo "\$so = new SortOrder('$db_tbl.$primary_key', 'DESC');\n"; 204 echo "///\$so->asc_widget = sprintf('<i class=\"fa fa-arrow-up fa-fw\" title=\"%s\"></i>', _(\"Ascending\"));\n"; 205 echo "///\$so->desc_widget = sprintf('<i class=\"fa fa-arrow-down fa-fw\" title=\"%s\"></i>', _(\"Descending\"));\n"; 204 206 echo "\$so->setColumn('$db_tbl.$primary_key', '$db_tbl.$primary_key ASC', '$db_tbl.$primary_key DESC');\n"; 205 207 foreach ($c as $k=>$v) {
Note: See TracChangeset
for help on using the changeset viewer.