home
/
zktecojo
/
public_html
/
htmlpurifier
/
smoketests
➕ New
📤 Upload
✎ Editing:
test-schema.html
← Back
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title> Configuration Documentation - Test Schema </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href= "../configdoc/styles/plain.css" /> </head> <body> <div id="content"> <div id="library"> Test Schema </div> <h1> Configuration Documentation </h1> <div id="tocContainer"> <h2> Table of Contents </h2> <ul id="toc"> <li> <a href="#Directive">Directive</a> <ul> <li> <a href="#Directive.Allowed">Allowed</a> </li> </ul> </li> <li> <a href="#Type">Type</a> <ul> <li> <a href="#Type.bool">bool</a> </li> <li> <a href="#Type.float">float</a> </li> <li> <a href="#Type.hash">hash</a> </li> <li> <a href="#Type.int">int</a> </li> <li> <a href="#Type.istring">istring</a> </li> <li> <a href="#Type.itext">itext</a> </li> <li> <a href="#Type.list">list</a> </li> <li> <a href="#Type.lookup">lookup</a> </li> <li> <a href="#Type.mixed">mixed</a> </li> <li> <a href="#Type.nullbool">nullbool</a> </li> <li> <a href="#Type.nullstring">nullstring</a> </li> <li> <a href="#Type.string">string</a> </li> <li> <a href="#Type.text">text</a> </li> </ul> <div class="col-l"></div> </li> </ul> </div> <div id="typesContainer"> <h2> Types </h2> <div class="type-block" id="type-string"> <h3> <code>string</code>: String </h3> <div class="type-description"> A <a href= "http://docs.php.net/manual/en/language.types.string.php">sequence of characters</a>. </div> </div> <div class="type-block" id="type-istring"> <h3> <code>istring</code>: Case-insensitive string </h3> <div class="type-description"> A series of case-insensitive characters. Internally, upper-case ASCII characters will be converted to lower-case. </div> </div> <div class="type-block" id="type-text"> <h3> <code>text</code>: Text </h3> <div class="type-description"> A series of characters that may contain newlines. Text tends to indicate human-oriented text, as opposed to a machine format. </div> </div> <div class="type-block" id="type-itext"> <h3> <code>itext</code>: Case-insensitive text </h3> <div class="type-description"> A series of case-insensitive characters that may contain newlines. </div> </div> <div class="type-block" id="type-int"> <h3> <code>int</code>: Integer </h3> <div class="type-description"> An <a href= "http://docs.php.net/manual/en/language.types.integer.php">integer</a>. You are alternatively permitted to pass a string of digits instead, which will be cast to an integer using <code>(int)</code>. </div> </div> <div class="type-block" id="type-float"> <h3> <code>float</code>: Float </h3> <div class="type-description"> A <a href= "http://docs.php.net/manual/en/language.types.float.php">floating point number</a>. You are alternatively permitted to pass a numeric string (as defined by <code>is_numeric()</code>), which will be cast to a float using <code>(float)</code>. </div> </div> <div class="type-block" id="type-bool"> <h3> <code>bool</code>: Boolean </h3> <div class="type-description"> A <a href= "http://docs.php.net/manual/en/language.types.boolean.php">boolean</a>. You are alternatively permitted to pass an integer <code>0</code> or <code>1</code> (other integers are not permitted) or a string <code>"on"</code>, <code>"true"</code> or <code>"1"</code> for <code>true</code>, and <code>"off"</code>, <code>"false"</code> or <code>"0"</code> for <code>false</code>. </div> </div> <div class="type-block" id="type-lookup"> <h3> <code>lookup</code>: Lookup array </h3> <div class="type-description"> An array whose values are <code>true</code>, e.g. <code>array('key' => true, 'key2' => true)</code>. You are alternatively permitted to pass an array list of the keys <code>array('key', 'key2')</code> or a comma-separated string of keys <code>"key, key2"</code>. If you pass an array list of values, ensure that your values are strictly numerically indexed: <code>array('key1', 2 => 'key2')</code> will not do what you expect and emits a warning. </div> </div> <div class="type-block" id="type-list"> <h3> <code>list</code>: Array list </h3> <div class="type-description"> An array which has consecutive integer indexes, e.g. <code>array('val1', 'val2')</code>. You are alternatively permitted to pass a comma-separated string of keys <code>"val1, val2"</code>. If your array is not in this form, <code>array_values</code> is run on the array and a warning is emitted. </div> </div> <div class="type-block" id="type-hash"> <h3> <code>hash</code>: Associative array </h3> <div class="type-description"> An array which is a mapping of keys to values, e.g. <code>array('key1' => 'val1', 'key2' => 'val2')</code>. You are alternatively permitted to pass a comma-separated string of key-colon-value strings, e.g. <code>"key1: val1, key2: val2"</code>. </div> </div> <div class="type-block" id="type-mixed"> <h3> <code>mixed</code>: Mixed </h3> <div class="type-description"> An arbitrary PHP value of any type. </div> </div> </div> <div class="namespace"> <h2 id="Directive"> Directive </h2> <div class="directive"> <h3 id="Directive.Allowed"> Directive.Allowed </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-string"> <a href="#type-string">String</a> </td> </tr> <tr> <th> Allowed values </th> <td> "apple", "orange", "pear", "peach", "mango" </td> </tr> <tr> <th> Default </th> <td> <pre>'apple'</pre> </td> </tr> </table> <div class="description"> This directive has a constrained set of allowed values. </div> </div> <div class="directive deprecated"> <h3 id="Directive.Deprecated"> Directive.Deprecated </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-int"> <a href="#type-int">Integer</a> </td> </tr> <tr> <th> Default </th> <td> <pre>0</pre> </td> </tr> </table> <div class="deprecated-notice"> <strong>Warning:</strong> This directive was deprecated in version 1.0.0. <a href="#Directive.Allowed">%Directive.Allowed</a> should be used instead. </div> <div class="description"> This is a deprecated directive that shouldn't show up on the form. </div> </div> </div> <div class="namespace"> <h2 id="Type"> Type </h2> <div class="directive"> <h3 id="Type.bool"> Type.bool </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-bool"> <a href="#type-bool">Boolean</a> </td> </tr> <tr> <th> Default </th> <td> <pre>false</pre> </td> </tr> </table> <div class="description"> The boolean type is true or false. </div> </div> <div class="directive"> <h3 id="Type.float"> Type.float </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-float"> <a href="#type-float">Float</a> </td> </tr> <tr> <th> Default </th> <td> <pre>3.141500000000000181188397618825547397136688232421875</pre> </td> </tr> </table> <div class="description"> The float type is a floating point number. </div> </div> <div class="directive"> <h3 id="Type.hash"> Type.hash </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-hash"> <a href="#type-hash">Associative array</a> </td> </tr> <tr> <th> Default </th> <td> <pre>array ( 'key1' => 'val1', 'key2' => 'val2', )</pre> </td> </tr> </table> <div class="description"> The hash type is an associative array of string keys and string values. </div> </div> <div class="directive"> <h3 id="Type.int"> Type.int </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-int"> <a href="#type-int">Integer</a> </td> </tr> <tr> <th> Default </th> <td> <pre>23</pre> </td> </tr> </table> <div class="description"> The int type is an signed integer. </div> </div> <div class="directive"> <h3 id="Type.istring"> Type.istring </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-istring"> <a href="#type-istring">Case-insensitive string</a> </td> </tr> <tr> <th> Default </th> <td> <pre>'case insensitive'</pre> </td> </tr> </table> <div class="description"> The istring type is short (no newlines), must be ASCII and is case-insensitive. </div> </div> <div class="directive"> <h3 id="Type.itext"> Type.itext </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-itext"> <a href="#type-itext">Case-insensitive text</a> </td> </tr> <tr> <th> Default </th> <td> <pre>'case insensitive and possibly quite long'</pre> </td> </tr> </table> <div class="description"> The text type has newlines, must be ASCII and is case-insensitive. </div> </div> <div class="directive"> <h3 id="Type.list"> Type.list </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-list"> <a href="#type-list">Array list</a> </td> </tr> <tr> <th> Default </th> <td> <pre>array ( 0 => 'item1', 1 => 'item2', )</pre> </td> </tr> </table> <div class="description"> The list type is a numerically indexed array of strings. </div> </div> <div class="directive"> <h3 id="Type.lookup"> Type.lookup </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-lookup"> <a href="#type-lookup">Lookup array</a> </td> </tr> <tr> <th> Default </th> <td> <pre>array ( 'key1' => true, 'key2' => true, )</pre> </td> </tr> </table> <div class="description"> The lookup type acts just like list, except its elements are unique and are checked with <code>isset($var[$key])</code>. </div> </div> <div class="directive"> <h3 id="Type.mixed"> Type.mixed </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-mixed"> <a href="#type-mixed">Mixed</a> </td> </tr> <tr> <th> Default </th> <td> <pre>stdClass::__set_state(array( ))</pre> </td> </tr> </table> <div class="description"> The mixed type allows any type, and is not form-editable. </div> </div> <div class="directive"> <h3 id="Type.nullbool"> Type.nullbool </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-bool"> <a href="#type-bool">Boolean (or null)</a> </td> </tr> <tr> <th> Default </th> <td> <pre>NULL</pre> </td> </tr> </table> <div class="description"> Null booleans need to be treated a little specially. See %Type.nullstring for information on what the null flag does. </div> </div> <div class="directive"> <h3 id="Type.nullstring"> Type.nullstring </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-string"> <a href="#type-string">String (or null)</a> </td> </tr> <tr> <th> Default </th> <td> <pre>NULL</pre> </td> </tr> </table> <div class="description"> The null type is not a type, but a flag that can be added to any type making null a valid value for that entry. It's useful for saying, "Let the software pick the value for me," or "Don't use this element" when false has a special meaning. </div> </div> <div class="directive"> <h3 id="Type.string"> Type.string </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-string"> <a href="#type-string">String</a> </td> </tr> <tr> <th> Default </th> <td> <pre>'Case sensitive'</pre> </td> </tr> </table> <div class="description"> The string type is short (no newlines) and case-sensitive. </div> </div> <div class="directive"> <h3 id="Type.text"> Type.text </h3> <table class="constraints"> <tr> <th> Type </th> <td class="type type-text"> <a href="#type-text">Text</a> </td> </tr> <tr> <th> Default </th> <td> <pre>'Case sensitive and possibly quite long...'</pre> </td> </tr> </table> <div class="description"> The text type has newlines and is case-sensitive. </div> </div> </div> </div> </body> </html>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel