Changeset 22567 for branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ClassCategory.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/products/LC_Page_Admin_Products_ClassCategory.php
r22206 r22567 32 32 * @version $Id:LC_Page_Admin_Products_ClassCategory.php 15532 2007-08-31 14:39:46Z nanasess $ 33 33 */ 34 class LC_Page_Admin_Products_ClassCategory extends LC_Page_Admin_Ex { 34 class LC_Page_Admin_Products_ClassCategory 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 = 'products/classcategory.tpl'; … … 56 58 * @return void 57 59 */ 58 function process() { 60 function process() 61 { 59 62 $this->action(); 60 63 $this->sendResponse(); … … 66 69 * @return void 67 70 */ 68 function action() { 71 function action() 72 { 69 73 70 74 $objFormParam = new SC_FormParam_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', 'class_id', INT_LEN, 'n', array('NUM_CHECK')); 156 162 $objFormParam->addParam('規格分類名', 'name', STEXT_LEN, 'KVa', array('EXIST_CHECK' ,'SPTAB_CHECK' ,'MAX_LENGTH_CHECK')); … … 164 170 * @return array 規格分類情報 165 171 */ 166 function lfGetClassCat($class_id) { 172 function lfGetClassCat($class_id) 173 { 167 174 $objQuery =& SC_Query_Ex::getSingletonInstance(); 168 175 … … 179 186 * @return string 規格名 180 187 */ 181 function lfGetClassName($class_id) { 188 function lfGetClassName($class_id) 189 { 182 190 $objQuery =& SC_Query_Ex::getSingletonInstance(); 183 191 … … 193 201 * @return string 規格分類名 194 202 */ 195 function lfGetClassCatName($classcategory_id) { 203 function lfGetClassCatName($classcategory_id) 204 { 196 205 $objQuery =& SC_Query_Ex::getSingletonInstance(); 197 206 $where = 'classcategory_id = ?'; … … 206 215 * @return integer 更新件数 207 216 */ 208 function lfInsertClass($arrForm) { 217 function lfInsertClass($arrForm) 218 { 209 219 $objQuery =& SC_Query_Ex::getSingletonInstance(); 210 220 $objQuery->begin(); … … 234 244 * @return integer 更新件数 235 245 */ 236 function lfUpdateClass($arrForm) { 246 function lfUpdateClass($arrForm) 247 { 237 248 $objQuery =& SC_Query_Ex::getSingletonInstance(); 238 249 // UPDATEする値を作成する。 … … 251 262 * @return array エラー配列 252 263 */ 253 function lfCheckError(&$objFormParam) { 264 function lfCheckError(&$objFormParam) 265 { 254 266 $objQuery =& SC_Query_Ex::getSingletonInstance(); 255 267 $arrForm = $objFormParam->getHashArray(); … … 277 289 * @return boolean 新規商品追加の場合 true 278 290 */ 279 function lfCheckInsert($classcategory_id) { 291 function lfCheckInsert($classcategory_id) 292 { 280 293 //classcategory_id のあるなしで新規規格分類化かどうかを判定 281 294 if (empty($classcategory_id)) { … … 293 306 * @return void 294 307 */ 295 function lfDeleteClassCat($class_id, $classcategory_id) { 308 function lfDeleteClassCat($class_id, $classcategory_id) 309 { 296 310 $objDb = new SC_Helper_DB_Ex(); 297 311 $where = 'class_id = ' . SC_Utils_Ex::sfQuoteSmart($class_id); … … 305 319 * @return void 306 320 */ 307 function lfUpRank($class_id, $classcategory_id) { 321 function lfUpRank($class_id, $classcategory_id) 322 { 308 323 $objDb = new SC_Helper_DB_Ex(); 309 324 $where = 'class_id = ' . SC_Utils_Ex::sfQuoteSmart($class_id); … … 317 332 * @return void 318 333 */ 319 function lfDownRank($class_id, $classcategory_id) { 334 function lfDownRank($class_id, $classcategory_id) 335 { 320 336 $objDb = new SC_Helper_DB_Ex(); 321 337 $where = 'class_id = ' . SC_Utils_Ex::sfQuoteSmart($class_id);
Note: See TracChangeset
for help on using the changeset viewer.