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