Changeset 22567 for branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Design extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Design extends LC_Page_Admin_Ex 35 { 35 36 36 37 // }}} … … 42 43 * @return void 43 44 */ 44 function init() { 45 function init() 46 { 45 47 parent::init(); 46 48 $this->tpl_mainpage = 'design/index.tpl'; … … 59 61 * @return void 60 62 */ 61 function process() { 63 function process() 64 { 62 65 $this->action(); 63 66 $this->sendResponse(); … … 69 72 * @return void 70 73 */ 71 function action() { 74 function action() 75 { 72 76 73 77 $objLayout = new SC_Helper_PageLayout_Ex(); … … 148 152 * @return void 149 153 */ 150 function destroy() { 154 function destroy() 155 { 151 156 parent::destroy(); 152 157 } … … 159 164 * @return void 160 165 */ 161 function lfInitParam(&$objFormParam, $bloc_cnt = 0) { 166 function lfInitParam(&$objFormParam, $bloc_cnt = 0) 167 { 162 168 $objFormParam->addParam('ページID', 'page_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 163 169 $objFormParam->addParam('端末種別ID', 'device_type_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); … … 181 187 * @return array レイアウト情報の配列 182 188 */ 183 function getLayout($device_type_id, $page_id, &$objLayout) { 189 function getLayout($device_type_id, $page_id, &$objLayout) 190 { 184 191 $arrResults = array(); 185 192 $i = 0; … … 212 219 * @return void 213 220 */ 214 function copyBloc(&$arrDest, $arrFrom, $cnt) { 221 function copyBloc(&$arrDest, $arrFrom, $cnt) 222 { 215 223 $arrDest[$cnt]['target_id'] = $this->arrTarget[$arrFrom['target_id']]; 216 224 $arrDest[$cnt]['bloc_id'] = $arrFrom['bloc_id']; … … 227 235 * @return bool 存在する場合 true 228 236 */ 229 function existsBloc($arrBloc, $arrToBlocs) { 237 function existsBloc($arrBloc, $arrToBlocs) 238 { 230 239 foreach ($arrToBlocs as $arrToBloc) { 231 240 if ($arrBloc['bloc_id'] === $arrToBloc['bloc_id']) { … … 243 252 * @return string プレビューを行う tpl_mainpage ファイル名 244 253 */ 245 function savePreviewData($page_id, &$objLayout) { 254 function savePreviewData($page_id, &$objLayout) 255 { 246 256 $arrPageData = $objLayout->getPageProperties(DEVICE_TYPE_PC, $page_id); 247 257 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 258 268 * @return void 259 269 */ 260 function placingBlocs(&$objFormParam, $is_preview = false) { 270 function placingBlocs(&$objFormParam, $is_preview = false) 271 { 261 272 $page_id = $is_preview ? 0 : $objFormParam->getValue('page_id'); 262 273 $device_type_id = $objFormParam->getValue('device_type_id');
Note: See TracChangeset
for help on using the changeset viewer.