<?php
/**
 * @copyright ONE/DEPO Project
 * @license   PHP License 3.01 <http://www.php.net/license/3_01.txt>
 */


/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
 * メールマガジン更新確認
 *
 * @package     Admin.Mailmanage.Mailmagazine.Check
 * @author      netnee <mail@example.com>
 * @access      public
 */
class Admin_Mailmanage_Mailmagazine_Check
{
    var $session;
    
    var $mailcd;
    var $mailtitle;
    var $mailbody;
    var $senddate;
    var $sendstate;
    var $target;
    var $updcnt;
    
    var $title;
    var $actionnm;
    var $pagename;
    
    function execute()
    {
        $postdata = array("mailcd"      =>$this->mailcd,
                          "mailtitle"   =>$this->mailtitle, 
                          "mailbody"    =>$this->mailbody, 
                          "senddate"    =>$this->senddate,
                          "sendstate"   =>$this->sendstate,
                          "target"      =>$this->target,
                          "updcnt"      =>$this->updcnt);
        
        $this->session->removeParameter("mailmag");
        $this->session->setParameter("mailmag", $postdata);
        
        return 'success';
    }

}
?>
