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