<?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.Datamanage.Series.Update.Form
 * @author      netnee T.Otogawa <tomokazu.otogawa@netnee.jp>
 * @access      public
 */
class Admin_Datamanage_Series_Update_Form
{
    var $c_series;
    var $makercd;
    var $seriescd;
    var $makernm;
    var $name;
    var $kana;
    var $recommend;
    var $updcnt;
    var $data;
    
    var $title;
    var $pagename;
    var $actionnm;
    var $div;
    
    var $srcword;       //検索値
    var $srcdispnum;    // 表示件数
    var $from;          // ページ番号
    
    function execute()
    { 
        $log =& LogFactory::getLog();
        $log->debug("Admin_Datamanage_Series_Update_Formが実行されました", "Admin_Datamanage_Series_Update_Form#execute");
        
        $this->data = $this->c_series->selectKeyView($this->makercd,$this->seriescd);
        
        if (!isset($this->name) && !isset($this->kana)) {
            $this->name = $this->data["seriesnm"];
            $this->kana = $this->data["seriesnmkana"];
            $this->recommend = $this->data["recommenddiv"];
            $this->updcnt = $this->data["updcnt"];
        }
        
        return 'success';
    }
}
?>
