Changeset 23124 for branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.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/contents/LC_Page_Admin_Contents_Recommend.php
r22926 r23124 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 55 55 * @return void 56 56 */ 57 function process()57 public function process() 58 58 { 59 59 $this->action(); … … 66 66 * @return void 67 67 */ 68 function action()68 public function action() 69 69 { 70 70 $objFormParam = new SC_FormParam_Ex(); … … 133 133 * @param Object $objFormParam 134 134 */ 135 function lfInitParam(&$objFormParam)135 public function lfInitParam(&$objFormParam) 136 136 { 137 137 $objFormParam->addParam('おすすめ商品ID', 'best_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); … … 144 144 /** 145 145 * 入力されたパラメーターのエラーチェックを行う。 146 * @param Object $objFormParam147 * @return Array エラー内容148 */ 149 function lfCheckError(&$objFormParam)146 * @param Object $objFormParam 147 * @return Array エラー内容 148 */ 149 public function lfCheckError(&$objFormParam) 150 150 { 151 151 $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); … … 157 157 /** 158 158 * 既に登録されている内容を取得する 159 * @param Object $objRecommend160 * @return Array $arrReturnProducts データベースに登録されているおすすめ商品の配列161 */ 162 function getRecommendProducts(SC_Helper_BestProducts_Ex &$objRecommend)159 * @param Object $objRecommend 160 * @return Array $arrReturnProducts データベースに登録されているおすすめ商品の配列 161 */ 162 public function getRecommendProducts(SC_Helper_BestProducts_Ex &$objRecommend) 163 163 { 164 164 $arrList = $objRecommend->getList(); … … 185 185 /** 186 186 * おすすめ商品の新規登録を行う。 187 * @param Array $arrPostPOSTの値を格納した配列188 * @param Integer $member_id 登録した管理者を示すID189 * @param Object $objRecommend190 */ 191 function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend)187 * @param Array $arrPost POSTの値を格納した配列 188 * @param Integer $member_id 登録した管理者を示すID 189 * @param Object $objRecommend 190 */ 191 public function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend) 192 192 { 193 193 // 古いおすすめ商品のデータを削除する。 … … 205 205 /** 206 206 * データを削除する 207 * @param Array $arrPostPOSTの値を格納した配列208 * @param Object $objRecommend209 * @return void 210 */ 211 function deleteProduct($arrPost, SC_Helper_BestProducts_Ex &$objRecommend)207 * @param Array $arrPost POSTの値を格納した配列 208 * @param Object $objRecommend 209 * @return void 210 */ 211 public function deleteProduct($arrPost, SC_Helper_BestProducts_Ex &$objRecommend) 212 212 { 213 213 if ($arrPost['best_id']) { … … 222 222 /** 223 223 * 商品情報を取得する 224 * @param Integer $product_id 商品ID225 * @return Array $return 商品のデータを格納した配列226 */ 227 function getProduct($product_id)224 * @param Integer $product_id 商品ID 225 * @return Array $return 商品のデータを格納した配列 226 */ 227 public function getProduct($product_id) 228 228 { 229 229 $objProduct = new SC_Product_Ex(); … … 240 240 /** 241 241 * 商品のデータを表示用に処理する 242 * @param Array $arrPost POSTのデータを格納した配列242 * @param Array $arrPost POSTのデータを格納した配列 243 243 * @param Array $arrItems フロントに表示される商品の情報を格納した配列 244 244 */ 245 function setProducts($arrPost,$arrItems)245 public function setProducts($arrPost,$arrItems) 246 246 { 247 247 $arrProduct = $this->getProduct($arrPost['product_id']);
Note: See TracChangeset
for help on using the changeset viewer.