Changeset 23124 for branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents.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.php
r22926 r23124 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 63 63 * @return void 64 64 */ 65 function process()65 public function process() 66 66 { 67 67 $this->action(); … … 74 74 * @return void 75 75 */ 76 function action()76 public function action() 77 77 { 78 78 $objNews = new SC_Helper_News_Ex(); … … 91 91 if (!SC_Utils_Ex::isBlank($this->arrErr['news_id'])) { 92 92 trigger_error('', E_USER_ERROR); 93 93 94 return; 94 95 } … … 161 162 /** 162 163 * 入力されたパラメーターのエラーチェックを行う。 163 * @param Object $objFormParam164 * @return Array エラー内容165 */ 166 function lfCheckError(&$objFormParam)164 * @param Object $objFormParam 165 * @return Array エラー内容 166 */ 167 public function lfCheckError(&$objFormParam) 167 168 { 168 169 $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); … … 177 178 * @param Object $objFormParam 178 179 */ 179 function lfInitParam(&$objFormParam)180 public function lfInitParam(&$objFormParam) 180 181 { 181 182 $objFormParam->addParam('news_id', 'news_id'); … … 192 193 * 登録処理を実行. 193 194 * 194 * @param integer$news_id195 * @param array$sqlval196 * @param object$objNews195 * @param integer $news_id 196 * @param array $sqlval 197 * @param object $objNews 197 198 * @return multiple 198 199 */ 199 function doRegist($news_id, $sqlval, SC_Helper_News_Ex $objNews)200 public function doRegist($news_id, $sqlval, SC_Helper_News_Ex $objNews) 200 201 { 201 202 $sqlval['news_id'] = $news_id; … … 210 211 /** 211 212 * データの登録日を返す。 212 * @param Array$arrPost POSTのグローバル変数213 * @param Array $arrPost POSTのグローバル変数 213 214 * @return string 登録日を示す文字列 214 215 */ 215 function getRegistDate($arrPost)216 public function getRegistDate($arrPost) 216 217 { 217 218 $registDate = $arrPost['year'] .'/'. $arrPost['month'] .'/'. $arrPost['day']; … … 222 223 /** 223 224 * チェックボックスの値が空の時は無効な値として1を格納する 224 * @param int $link_method225 * @param int $link_method 225 226 * @return int 226 227 */ 227 function checkLinkMethod($link_method)228 public function checkLinkMethod($link_method) 228 229 { 229 230 if (strlen($link_method) == 0) { … … 238 239 * @param String $news_date 239 240 */ 240 function splitNewsDate($news_date)241 public function splitNewsDate($news_date) 241 242 { 242 243 return explode('-', $news_date); … … 245 246 /** 246 247 * POSTされたランクの値を取得する 247 * @param Object $objFormParam248 * @param Object $objFormParam 248 249 * @param Integer $news_id 249 250 */ 250 function getPostRank($news_id)251 public function getPostRank($news_id) 251 252 { 252 253 if (strlen($news_id) > 0 && is_numeric($news_id) == true) { 253 254 $key = 'pos-' . $news_id; 254 255 $input_pos = $_POST[$key]; 256 255 257 return $input_pos; 256 258 }
Note: See TracChangeset
for help on using the changeset viewer.