ext.html.svn-base

来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 945 行 · 第 1/4 页

SVN-BASE
945
字号
prototype, and are therefore shared between all instances of the new class.</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Function</code><div class="sub-desc">The subclass constructor.</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-fly"></a>
            <b>fly</b>(&nbsp;<code>String/HTMLElement el</code>, <span class="optional" title="Optional">[<code>String named</code>]</span>&nbsp;) : Element            <div class="mdesc">
                        <div class="short">&lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a...</div>
            <div class="long">
                &lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -the dom node can be overwritten by other code.Shorthand of <a ext:cls="Ext.Element" ext:member="fly" href="output/Ext.Element.html#fly">Ext.Element.fly</a>    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The dom node or id</div></li><li><code>named</code> : String<div class="sub-desc">(optional) Allows for creation of named reusable flyweights toprevent conflicts (e.g. internally Ext uses "_internal")</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Element</code><div class="sub-desc">The shared Element object</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-get"></a>
            <b>get</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Element            <div class="mdesc">
                        <div class="short">Static method to retrieve Element objects. Uses simple caching to consistently return the same object.Automatically ...</div>
            <div class="long">
                Static method to retrieve Element objects. Uses simple caching to consistently return the same object.Automatically fixes if an object was recreated with the same id via AJAX or DOM.Shorthand of <a ext:cls="Ext.Element" ext:member="get" href="output/Ext.Element.html#get">Ext.Element.get</a>    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>el</code> : Mixed<div class="sub-desc">The id of the node, a DOM Node or an existing Element.</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Element</code><div class="sub-desc">The Element object</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-getBody"></a>
            <b>getBody</b>() : Ext.Element            <div class="mdesc">
                        <div class="short">Returns the current document body as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
            <div class="long">
                Returns the current document body as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li>None.</li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Ext.Element</code><div class="sub-desc">The document body</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-getCmp"></a>
            <b>getCmp</b>(&nbsp;<code>String id</code>&nbsp;) : Ext.Component            <div class="mdesc">
                        <div class="short">Shorthand for <a ext:cls="Ext.ComponentMgr" ext:member="get" href="output/Ext.ComponentMgr.html#get">Ext.ComponentMgr.get</a></div>
            <div class="long">
                Shorthand for <a ext:cls="Ext.ComponentMgr" ext:member="get" href="output/Ext.ComponentMgr.html#get">Ext.ComponentMgr.get</a>    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>id</code> : String<div class="sub-desc"></div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Ext.Component</code></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-getDoc"></a>
            <b>getDoc</b>() : Ext.Element            <div class="mdesc">
                        <div class="short">Returns the current HTML document object as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
            <div class="long">
                Returns the current HTML document object as an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li>None.</li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Ext.Element</code><div class="sub-desc">The document</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-getDom"></a>
            <b>getDom</b>(&nbsp;<code>Mixed el</code>&nbsp;) : HTMLElement            <div class="mdesc">
                        <div class="short">Return the dom node for the passed string (id), dom node, or Ext.Element</div>
            <div class="long">
                Return the dom node for the passed string (id), dom node, or Ext.Element    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>el</code> : Mixed<div class="sub-desc"></div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>HTMLElement</code></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-id"></a>
            <b>id</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed el</code>]</span>, <span class="optional" title="Optional">[<code>String prefix</code>]</span>&nbsp;) : String            <div class="mdesc">
                        <div class="short">Generates unique ids. If the element already has an id, it is unchanged</div>
            <div class="long">
                Generates unique ids. If the element already has an id, it is unchanged    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>el</code> : Mixed<div class="sub-desc">(optional) The element to generate an id for</div></li><li><code>prefix</code> : String<div class="sub-desc">(optional) Id prefix (defaults "ext-gen")</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>String</code><div class="sub-desc">The generated Id.</div></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-isArray"></a>
            <b>isArray</b>(&nbsp;<code>Object The</code>&nbsp;) : Boolean            <div class="mdesc">
                        <div class="short">Returns true if the passed object is a JavaScript array, otherwise false.</div>
            <div class="long">
                Returns true if the passed object is a JavaScript array, otherwise false.    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>The</code> : Object<div class="sub-desc">object to test</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Boolean</code></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-isDate"></a>
            <b>isDate</b>(&nbsp;<code>Object The</code>&nbsp;) : Boolean            <div class="mdesc">
                        <div class="short">Returns true if the passed object is a JavaScript date object, otherwise false.</div>
            <div class="long">
                Returns true if the passed object is a JavaScript date object, otherwise false.    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>The</code> : Object<div class="sub-desc">object to test</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Boolean</code></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-isEmpty"></a>
            <b>isEmpty</b>(&nbsp;<code>Mixed value</code>, <span class="optional" title="Optional">[<code>Boolean allowBlank</code>]</span>&nbsp;) : Boolean            <div class="mdesc">
                        <div class="short">Returns true if the passed value is null, undefined or an empty string (optional).</div>
            <div class="long">
                Returns true if the passed value is null, undefined or an empty string (optional).    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li><li><code>allowBlank</code> : Boolean<div class="sub-desc">(optional) Pass true if an empty string is not considered empty</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>Boolean</code></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">Ext</td>
    </tr>
        <tr class="method-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext-namespace"></a>
            <b>namespace</b>(&nbsp;<code>String namespace1</code>, <code>String namespace2</code>, <code>String etc</code>&nbsp;) : void            <div class="mdesc">
                        <div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:Ext.namespace('C...</div>
            <div class="long">
                Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:<pre><code>Ext.namespace(<em>'Company'</em>, <em>'Company.data'</em>);Company.Widget = <b>function</b>() { ... }Company.data.CustomStore = <b>function</b>(config) { ... }</code></pre>    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>namespace1</code> : String<div class="sub-desc"></div></li><li><code>namespace2</code> : String<div class="sub-desc"></div></li><li><code>etc</code> : String<div class="sub-desc"></div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code>void</code></li>
        </ul>
    </div>
                </div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?