Changeset 4387 for trunk/include/functions.inc.php
- Timestamp:
- Nov 29, 2009, 3:06:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r4367 r4387 33 33 34 34 //----------------------------------------------------------- generic functions 35 function get_extra_fiels($order_by_fields) 36 { 37 $fields = str_ireplace(array(' order by ', ' desc', ' asc'), 38 array('', '', ''), 39 $order_by_fields 40 ); 41 if (!empty($fields)) 42 { 43 $fields = ','.$fields; 44 } 45 return $fields; 46 } 35 47 36 48 // The function get_moment returns a float value coresponding to the number
Note: See TracChangeset
for help on using the changeset viewer.