<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFDUMP</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="説明">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFDUMP</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">説明</span>
<p>
cfdump タグを使用して、ほとんどすべての種類の ColdFusion オブジェクトの要素、変数、値を取得します。このタグはデバッグの際に役立ちます。変数、オブジェクト、コンポーネント、ユーザー定義の関数など、単純な要素または複雑な要素の内容を表示することができます。
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">カテゴリ</span>
<p>
デバッグタグ、変数操作タグ
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">シンタックス</span><pre>&lt;cfdump
   var = &quot;#variable#&quot;
   expand = &quot;yes&quot;、&quot;no&quot; 
   label = &quot;text&quot;
   top = &quot;number of rows or levels&quot;&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">関連項目</span>
<p>
cfcookie、cfparam、cfsavecontent、cfschedule、cfset、cftimer、cfwddx
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">ヒストリ</span><ul>

<li>ColdFusion&#160;MX&#160;7: top 属性が追加されました。</li>

<li>ColdFusion MX&#160;6.1: COM オブジェクトをダンプする機能が追加されました。こにより、オブジェクトのメソッドと Get プロパティおよび Put プロパティについての TypeInfo 情報が表示されます。</li>
</ul>

<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">使用方法</span>
<p>
展開/縮小機能は、XML ドキュメントのオブジェクト、構造体、配列などの大きな構造体を操作するときに役に立ちます。
</p>

<p>
構造体を表示するには、次のようなコードを使用します。ここで、myDoc は XmlDocument タイプの変数です。
</p>
<pre>&lt;cfif IsXmlDoc(mydoc) is &quot;yes&quot;&gt;
   &lt;cfdump var=&quot;#mydoc#&quot;&gt;
&lt;/cfif&gt;
</pre>
<p>
このタグの出力は、データタイプに応じて色分けされます。
</p>

<p>
テーブルのセルが空の場合は、このタグにより &quot;[empty string]&quot; が表示されます。
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">例</span><pre>&lt;!--- この例は、このタグを使用して CGI スコープを構造体として表示する方法を示しています。 ---&gt;

&lt;cfdump var=&quot;#cgi#&quot;&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="VAR">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VAR</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">必須</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>表示する変数です。変数名をシャープ記号 (#) で囲みます。 </p>
<p>次の種類の変数を使用すると、有意義な cfdump 表示を生成できます。 </p><ul>

<li>配列</li>

<li>CFC</li>

<li>COM オブジェクト</li>

<li>Java オブジェクト</li>

<li>単純</li>

<li>クエリー</li>

<li>構造体</li>

<li>UDF</li>

<li>wddx</li>

<li>xml</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="EXPAND">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">EXPAND</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "yes"

<ul>

<li>yes: Internet Explorer および Mozilla で、ビューを展開します。 </li>

<li>no: 展開したビューを縮小します。</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="LABEL">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">LABEL</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>文字列です。ダンプ出力用のヘッダを指定します。</p>

  </td>
  </tr>
  </table>
</div>
<div id="TOP">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">TOP</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">オプション</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "9999"


<p>表示する行の数です。構造体の場合、この値は表示するネストレベルの数です。</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
