Changeset 23124 for branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products.php
- Timestamp:
- 2013/08/24 23:33:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products.php
r23034 r23124 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 74 74 * @return void 75 75 */ 76 function process()76 public function process() 77 77 { 78 78 $this->action(); … … 85 85 * @return void 86 86 */ 87 function action()87 public function action() 88 88 { 89 89 $objDb = new SC_Helper_DB_Ex(); … … 181 181 * パラメーター情報の初期化を行う. 182 182 * 183 * @param SC_FormParam $objFormParam SC_FormParam インスタンス184 * @return void 185 */ 186 function lfInitParam(&$objFormParam)183 * @param SC_FormParam $objFormParam SC_FormParam インスタンス 184 * @return void 185 */ 186 public function lfInitParam(&$objFormParam) 187 187 { 188 188 // POSTされる値 … … 212 212 * 入力内容のチェックを行う. 213 213 * 214 * @param SC_FormParam $objFormParam SC_FormParam インスタンス215 * @return void 216 */ 217 function lfCheckError(&$objFormParam)214 * @param SC_FormParam $objFormParam SC_FormParam インスタンス 215 * @return void 216 */ 217 public function lfCheckError(&$objFormParam) 218 218 { 219 219 $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); … … 226 226 227 227 // カテゴリIDをキー、カテゴリ名を値にする配列を返す。 228 function lfGetIDName($arrCatKey, $arrCatVal)228 public function lfGetIDName($arrCatKey, $arrCatVal) 229 229 { 230 230 $max = count($arrCatKey); … … 241 241 * 商品、子テーブル(商品規格)、お気に入り商品の削除 242 242 * 243 * @param string $where削除対象の WHERE 句244 * @param array$arrParam 削除対象の値245 * @return void 246 */ 247 function doDelete($where, $arrParam = array())243 * @param string $where 削除対象の WHERE 句 244 * @param array $arrParam 削除対象の値 245 * @return void 246 */ 247 public function doDelete($where, $arrParam = array()) 248 248 { 249 249 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 274 274 * 構築内容は, 引数の $where 及び $arrValues にそれぞれ追加される. 275 275 * 276 * @param string $key検索条件のキー277 * @param string $where構築する WHERE 句278 * @param array $arrValues構築するクエリパラメーター279 * @param SC_FormParam $objFormParam SC_FormParam インスタンス280 * @param SC_FormParam $objDbSC_Helper_DB_Ex インスタンス281 * @return void 282 */ 283 function buildQuery($key, &$where, &$arrValues, &$objFormParam, &$objDb)276 * @param string $key 検索条件のキー 277 * @param string $where 構築する WHERE 句 278 * @param array $arrValues 構築するクエリパラメーター 279 * @param SC_FormParam $objFormParam SC_FormParam インスタンス 280 * @param SC_FormParam $objDb SC_Helper_DB_Ex インスタンス 281 * @return void 282 */ 283 public function buildQuery($key, &$where, &$arrValues, &$objFormParam, &$objDb) 284 284 { 285 285 $dbFactory = SC_DB_DBFactory_Ex::getInstance(); … … 305 305 if ($tmp_where != '') { 306 306 $where.= ' AND product_id IN (SELECT product_id FROM dtb_product_categories WHERE ' . $tmp_where . ')'; 307 $arrValues = array_merge((array) $arrValues, (array)$tmp_Values);307 $arrValues = array_merge((array) $arrValues, (array) $tmp_Values); 308 308 } 309 309 break; … … 363 363 * 検索結果の行数を取得する. 364 364 * 365 * @param string $where検索条件の WHERE 句366 * @param array$arrValues 検索条件のパラメーター365 * @param string $where 検索条件の WHERE 句 366 * @param array $arrValues 検索条件のパラメーター 367 367 * @return integer 検索結果の行数 368 368 */ 369 function getNumberOfLines($where, $arrValues)369 public function getNumberOfLines($where, $arrValues) 370 370 { 371 371 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 377 377 * 商品を検索する. 378 378 * 379 * @param string $where検索条件の WHERE 句380 * @param array $arrValues検索条件のパラメーター381 * @param integer $limit表示件数382 * @param integer $offset開始件数383 * @param string $order検索結果の並び順384 * @param SC_Product $objProduct SC_Product インスタンス385 * @return array 商品の検索結果386 */ 387 function findProducts($where, $arrValues, $limit, $offset, $order, &$objProduct)379 * @param string $where 検索条件の WHERE 句 380 * @param array $arrValues 検索条件のパラメーター 381 * @param integer $limit 表示件数 382 * @param integer $offset 開始件数 383 * @param string $order 検索結果の並び順 384 * @param SC_Product $objProduct SC_Product インスタンス 385 * @return array 商品の検索結果 386 */ 387 public function findProducts($where, $arrValues, $limit, $offset, $order, &$objProduct) 388 388 { 389 389 $objQuery =& SC_Query_Ex::getSingletonInstance();
Note: See TracChangeset
for help on using the changeset viewer.