- Timestamp:
- 2013/01/22 19:39:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_PageLayout.php
r22206 r22305 168 168 $this->setBlocPathTo($device_type_id, $arrBlocs); 169 169 } 170 171 //全ページ設定と各ページのブロックの重複を削除 172 foreach ($arrBlocs as $index => $arrBloc) { 173 if($arrBloc['anywhere'] == 1){ 174 $arrUniqBlocIds[] = $arrBloc['bloc_id']; 175 } 176 } 177 foreach ($arrBlocs as $bloc_index => $arrBlocData) { 178 if(in_array($arrBlocData['bloc_id'], $arrUniqBlocIds) && $arrBlocData['anywhere'] == 0){ 179 unset($arrBlocs[$bloc_index]); 180 } 181 } 170 182 return $arrBlocs; 171 183 }
Note: See TracChangeset
for help on using the changeset viewer.