Changeset 22567 for branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.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_MainEdit.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Design_MainEdit extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Design_MainEdit 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/main_edit.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(); … … 141 145 * @return void 142 146 */ 143 function destroy() { 147 function destroy() 148 { 144 149 parent::destroy(); 145 150 } … … 153 158 * @return void 154 159 */ 155 function lfInitParam(&$objFormParam) { 160 function lfInitParam(&$objFormParam) 161 { 156 162 $objFormParam->addParam('ページID', 'page_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 157 163 $objFormParam->addParam('端末種別ID', 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); … … 172 178 * @return array ページデータの配列 173 179 */ 174 function getTplMainpage($device_type_id, $page_id, &$objLayout) { 180 function getTplMainpage($device_type_id, $page_id, &$objLayout) 181 { 175 182 $arrPageData = $objLayout->getPageProperties($device_type_id, $page_id); 176 183 … … 196 203 * 失敗した場合 false 197 204 */ 198 function doRegister(&$objFormParam, &$objLayout) { 205 function doRegister(&$objFormParam, &$objLayout) 206 { 199 207 $filename = $objFormParam->getValue('filename'); 200 208 $arrParams['device_type_id'] = $objFormParam->getValue('device_type_id'); … … 251 259 * @return integer ページID 252 260 */ 253 function registerPage($arrParams, &$objLayout) { 261 function registerPage($arrParams, &$objLayout) 262 { 254 263 $objQuery =& SC_Query_Ex::getSingletonInstance(); 255 264 … … 295 304 * @return array エラーメッセージの配列 296 305 */ 297 function lfCheckError(&$objFormParam, &$arrErr) { 306 function lfCheckError(&$objFormParam, &$arrErr) 307 { 298 308 $arrParams = $objFormParam->getHashArray(); 299 309 $objErr = new SC_CheckError_Ex($arrParams); … … 344 354 * @return boolean 作成に成功した場合 true 345 355 */ 346 function createPHPFile($filename) { 356 function createPHPFile($filename) 357 { 347 358 $path = USER_REALDIR . $filename . '.php'; 348 359
Note: See TracChangeset
for help on using the changeset viewer.