form::open_multipart PHP Method

open_multipart() public static method

public static open_multipart ( $action, $attributes = [] )
    public static function open_multipart($action, $attributes = array())
    {
        $attributes['enctype'] = 'multipart/form-data';
        return static::open($action, $attributes);
    }

Usage Example

コード例 #1
0
ファイル: bulk_edit.php プロジェクト: plusjade/plusjade
<style type="text/css">
  table th {background:#222; color:#fff; font-weight:normal; text-align:center;}
  table td {border:1px solid #ccc;}
  table td input {width:115px !important;}
</style>

<span class="on_close two">close-2</span>

<?php 
echo form::open_multipart("edit_showroom/bulk_edit?pid={$this->pid}", array('class' => 'custom_ajaxForm'));
?>

  <div id="common_tool_header" class="buttons">
    <button type="submit" class="jade_positive" accesskey="enter">Save Changes</button>
    <div id="common_title">Bulk Edit Showroom Items</div>
  </div>  

  <div class="common_full_panel">
    <div class="common_half_left" style="width:620px; height:400px; overflow:auto; background:#fff">
      
    </div>
    
    <div class="common_half_right" style="width:110px;">
      <br/><br/><b>Category</b>
      <div id="category_wrapper">
        <?php 
echo $categories;
?>
      </div>
    </div>
All Usage Examples Of form::open_multipart