setArticleNumber() 공개 메소드

Set the Article number.
public setArticleNumber ( integer $p_value ) : boolean
$p_value integer
리턴 boolean
예제 #1
0
			        parent.$.fancybox.message = '<?php 
                putGS('You can not schedule opposing events at the same time');
                ?>
';
			        parent.$.fancybox.close();
			    } catch (e) {
			    }
			    </script>
			    <?php 
                exit;
            }
        }
    }
    $articlePublishObj = new ArticlePublish();
    $articlePublishObj->create();
    $articlePublishObj->setArticleNumber($tmpArticle->getArticleNumber());
    $articlePublishObj->setLanguageId($tmpArticle->getLanguageId());
    $articlePublishObj->setActionTime($publishTime);
    if ($f_publish_action == "P" || $f_publish_action == "U") {
        $articlePublishObj->setPublishAction($f_publish_action);
    }
    if ($f_front_page_action == "S" || $f_front_page_action == "R") {
        $articlePublishObj->setFrontPageAction($f_front_page_action);
    }
    if ($f_section_page_action == "S" || $f_section_page_action == "R") {
        $articlePublishObj->setSectionPageAction($f_section_page_action);
    }
    Log::ArticleMessage($tmpArticle, getGS('Scheduled action added'), $g_user->getUserId(), 37);
}
if ($f_mode == "multi") {
    $args = $_REQUEST;