<?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     [[package名]]
 * @author      H.Watanabe <hiroshi.watanabe@netnee.jp>
 * @access      public
 */
class Admin_Itemmanage_Change_Struct_Insert_Form
{
    /**
     * [[機能説明]]
     *
     * @access  public
     */

    var $actionnm;
    var $view;
    var $itemupdate;
    var $from;

    var $result;
    var $mediaradio;
    var $SaleformRadio;

    var $itemdiv;
    var $jancode;
    var $hinban;
    var $itemtitle;
    var $release_date_start;
    var $release_date_end;
    var $publish_date_start;
    var $publish_date_end;
    var $maker_capital;
    var $maker_name;
    var $media;
    var $cast;
    var $situation;
    var $photo_situation;
    var $publish_situation;
    var $sort;
    var $genre_select;

    var $title;
    var $pagename;

    var $cd;
    var $structcd;
    var $itemnm;
    var $variationnm;
    var $jancd;
    var $isbncd;
    var $makeritemcd;
    var $salestartdate;
    var $makerprice;
    var $orderclosedate;
    var $saleformcd;
    var $rectime;
    var $mediacd;
    var $struct_comment;
    var $item_struct_updcnt;


    var $option01;
    var $option02;
    var $option03;
    var $option04;
    var $option05;
    var $option06;
    var $option07;
    var $option08;
    var $option09;
    var $option10;

    var $download;

    function execute()
    {
        $log =& LogFactory::getLog();
        $log->debug("Admin_Itemmanage_Change_Struct_Insert_Formが実行されました", "Admin_Itemmanage_Change_Struct_Insert_Form#execute");

        $this->result = $this->view->getOneItemOneStruct();
           if (!isset($this->itemnm))
        {
            $this->itemnm         = $this->result["itemnm"];
        }

        return 'form_success';
    }
    function getOption() {
        return $this->itemupdate->getOptionList(200,300);
    }
}
?>
