Ignore:
Timestamp:
2013/08/24 23:33:52 (11 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents.php

    r22926 r23124  
    3838     * @return void 
    3939     */ 
    40     function init() 
     40    public function init() 
    4141    { 
    4242        parent::init(); 
     
    6363     * @return void 
    6464     */ 
    65     function process() 
     65    public function process() 
    6666    { 
    6767        $this->action(); 
     
    7474     * @return void 
    7575     */ 
    76     function action() 
     76    public function action() 
    7777    { 
    7878        $objNews = new SC_Helper_News_Ex(); 
     
    9191                if (!SC_Utils_Ex::isBlank($this->arrErr['news_id'])) { 
    9292                    trigger_error('', E_USER_ERROR); 
     93 
    9394                    return; 
    9495                } 
     
    161162    /** 
    162163     * 入力されたパラメーターのエラーチェックを行う。 
    163      * @param Object $objFormParam 
    164      * @return Array エラー内容 
    165      */ 
    166     function lfCheckError(&$objFormParam) 
     164     * @param  Object $objFormParam 
     165     * @return Array  エラー内容 
     166     */ 
     167    public function lfCheckError(&$objFormParam) 
    167168    { 
    168169        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
     
    177178     * @param Object $objFormParam 
    178179     */ 
    179     function lfInitParam(&$objFormParam) 
     180    public function lfInitParam(&$objFormParam) 
    180181    { 
    181182        $objFormParam->addParam('news_id', 'news_id'); 
     
    192193     * 登録処理を実行. 
    193194     * 
    194      * @param integer $news_id 
    195      * @param array $sqlval 
    196      * @param object $objNews 
     195     * @param  integer $news_id 
     196     * @param  array    $sqlval 
     197     * @param  object  $objNews 
    197198     * @return multiple 
    198199     */ 
    199     function doRegist($news_id, $sqlval, SC_Helper_News_Ex $objNews) 
     200    public function doRegist($news_id, $sqlval, SC_Helper_News_Ex $objNews) 
    200201    { 
    201202        $sqlval['news_id'] = $news_id; 
     
    210211    /** 
    211212     * データの登録日を返す。 
    212      * @param Array $arrPost POSTのグローバル変数 
     213     * @param  Array $arrPost POSTのグローバル変数 
    213214     * @return string 登録日を示す文字列 
    214215     */ 
    215     function getRegistDate($arrPost) 
     216    public function getRegistDate($arrPost) 
    216217    { 
    217218        $registDate = $arrPost['year'] .'/'. $arrPost['month'] .'/'. $arrPost['day']; 
     
    222223    /** 
    223224     * チェックボックスの値が空の時は無効な値として1を格納する 
    224      * @param int $link_method 
     225     * @param  int $link_method 
    225226     * @return int 
    226227     */ 
    227     function checkLinkMethod($link_method) 
     228    public function checkLinkMethod($link_method) 
    228229    { 
    229230        if (strlen($link_method) == 0) { 
     
    238239     * @param String $news_date 
    239240     */ 
    240     function splitNewsDate($news_date) 
     241    public function splitNewsDate($news_date) 
    241242    { 
    242243        return explode('-', $news_date); 
     
    245246    /** 
    246247     * POSTされたランクの値を取得する 
    247      * @param Object $objFormParam 
     248     * @param Object  $objFormParam 
    248249     * @param Integer $news_id 
    249250     */ 
    250     function getPostRank($news_id) 
     251    public function getPostRank($news_id) 
    251252    { 
    252253        if (strlen($news_id) > 0 && is_numeric($news_id) == true) { 
    253254            $key = 'pos-' . $news_id; 
    254255            $input_pos = $_POST[$key]; 
     256 
    255257            return $input_pos; 
    256258        } 
Note: See TracChangeset for help on using the changeset viewer.