Changeset 22567 for branches/version-2_12-dev/data/class/pages/admin/design/LC_Page_Admin_Design_CSS.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_CSS.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Design_CSS extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Design_CSS 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/css.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(); … … 142 146 * @return void 143 147 */ 144 function destroy() { 148 function destroy() 149 { 145 150 parent::destroy(); 146 151 } … … 152 157 * @return void 153 158 */ 154 function lfInitParam(&$objFormParam) { 159 function lfInitParam(&$objFormParam) 160 { 155 161 $objFormParam->addParam('端末種別ID', 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 156 162 $objFormParam->addParam('CSSファイル名', 'css_name', STEXT_LEN, 'a', array('MAX_LENGTH_CHECK')); … … 172 178 * @return boolean 登録が成功した場合 true; 失敗した場合 false 173 179 */ 174 function doRegister($css_dir, $css_name, $old_css_name, $css_path, $css_data) { 180 function doRegister($css_dir, $css_name, $old_css_name, $css_path, $css_data) 181 { 175 182 $objFileManager = new SC_Helper_FileManager_Ex(); 176 183 … … 196 203 * @return boolean 削除が成功した場合 true; 失敗した場合 false 197 204 */ 198 function doDelete($css_path) { 205 function doDelete($css_path) 206 { 199 207 if (!unlink($css_path)) { 200 208 $this->arrErr['err'] = '※ CSSの削除に失敗しました<br />'; … … 210 218 * @return array ファイルリスト 211 219 */ 212 function getCSSList($css_dir) { 220 function getCSSList($css_dir) 221 { 213 222 $objFileManager = new SC_Helper_FileManager_Ex(); 214 223 … … 231 240 * @return array エラーメッセージの配列 232 241 */ 233 function lfCheckError(&$objFormParam, &$arrErr) { 242 function lfCheckError(&$objFormParam, &$arrErr) 243 { 234 244 $arrParams = $objFormParam->getHashArray(); 235 245 $objErr = new SC_CheckError_Ex($arrParams); … … 266 276 * @return string CSSディレクトリ 267 277 */ 268 function getCSSDir($device_type_id) { 278 function getCSSDir($device_type_id) 279 { 269 280 return SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id, true) . 'css/'; 270 281 } … … 275 286 * @return boolean 276 287 */ 277 function checkPath($str) { 288 function checkPath($str) 289 { 278 290 // 含む場合はfalse 279 291 if (preg_match('|\./|', $str)) {
Note: See TracChangeset
for help on using the changeset viewer.