- Timestamp:
- 2013/03/06 23:09:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_PageLayout.php
r22567 r22610 138 138 function getBlocs($device_type_id = DEVICE_TYPE_PC, $where = '', $arrParams = array(), $has_realpath = true) 139 139 { 140 $objQuery =& SC_Query_Ex::getSingletonInstance(); 141 $where = 'device_type_id = ? ' . (SC_Utils_Ex::isBlank($where) ? $where : 'AND ' . $where); 142 $arrParams = array_merge(array($device_type_id), $arrParams); 143 $objQuery->setOrder('bloc_id'); 144 $arrBlocs = $objQuery->select('*', 'dtb_bloc', $where, $arrParams); 140 $objBloc = new SC_Helper_Bloc_Ex($device_type_id); 141 $arrBlocs = $objBloc->getWhere($where, $arrParams); 145 142 if ($has_realpath) { 146 143 $this->setBlocPathTo($device_type_id, $arrBlocs);
Note: See TracChangeset
for help on using the changeset viewer.
