mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
update docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229604 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
aaebd8e234
commit
50c0f51dcd
2 changed files with 33 additions and 33 deletions
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<section id="swish.constants">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_META_TYPE_UNDEF</constant>
|
||||
<constant>Swish::META_TYPE_UNDEF</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -16,7 +16,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_META_TYPE_STRING</constant>
|
||||
<constant>Swish::META_TYPE_STRING</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -26,7 +26,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_META_TYPE_ULONG</constant>
|
||||
<constant>Swish::META_TYPE_ULONG</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -36,7 +36,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_META_TYPE_DATE</constant>
|
||||
<constant>Swish::META_TYPE_DATE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -46,7 +46,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_FILE_BIT</constant>
|
||||
<constant>Swish::IN_FILE_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -56,7 +56,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_TITLE_BIT</constant>
|
||||
<constant>Swish::IN_TITLE_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -66,7 +66,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_HEAD_BIT</constant>
|
||||
<constant>Swish::IN_HEAD_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_BODY_BIT</constant>
|
||||
<constant>Swish::IN_BODY_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -86,7 +86,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_COMMENTS_BIT</constant>
|
||||
<constant>Swish::IN_COMMENTS_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -96,7 +96,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_HEADER_BIT</constant>
|
||||
<constant>Swish::IN_HEADER_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_EMPHASIZED_BIT</constant>
|
||||
<constant>Swish::IN_EMPHASIZED_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -116,7 +116,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_META_BIT</constant>
|
||||
<constant>Swish::IN_META_BIT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -126,7 +126,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_FILE</constant>
|
||||
<constant>Swish::IN_FILE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -136,7 +136,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_TITLE</constant>
|
||||
<constant>Swish::IN_TITLE</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -146,7 +146,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_HEAD</constant>
|
||||
<constant>Swish::IN_HEAD</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -156,7 +156,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_BODY</constant>
|
||||
<constant>Swish::IN_BODY</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -166,7 +166,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_COMMENTS</constant>
|
||||
<constant>Swish::IN_COMMENTS</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -176,7 +176,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_HEADER</constant>
|
||||
<constant>Swish::IN_HEADER</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -186,7 +186,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_EMPHASIZED</constant>
|
||||
<constant>Swish::IN_EMPHASIZED</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -196,7 +196,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_META</constant>
|
||||
<constant>Swish::IN_META</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
@ -206,7 +206,7 @@
|
|||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>SWISH_IN_ALL</constant>
|
||||
<constant>Swish::IN_ALL</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.swishsearch-setstructure">
|
||||
<refnamediv>
|
||||
<refname>SwishSearch->setStructure</refname>
|
||||
|
@ -33,42 +33,42 @@
|
|||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_FILE</constant>
|
||||
<constant>Swish::IN_FILE</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_TITLE</constant>
|
||||
<constant>Swish::IN_TITLE</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_HEAD</constant>
|
||||
<constant>Swish::IN_HEAD</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_BODY</constant>
|
||||
<constant>Swish::IN_BODY</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_COMMENTS</constant>
|
||||
<constant>Swish::IN_COMMENTS</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_HEADER</constant>
|
||||
<constant>Swish::IN_HEADER</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_EMPHASIZED</constant>
|
||||
<constant>Swish::IN_EMPHASIZED</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>SWISH_IN_META</constant>
|
||||
<constant>Swish::IN_META</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
@ -91,11 +91,11 @@ try {
|
|||
$results = $search->execute("time");
|
||||
echo "First query found: ", $results->hits, " hits\n";
|
||||
|
||||
$search->setStructure(SWISH_IN_TITLE|SWISH_IN_HEAD); //search in title and head
|
||||
$search->setStructure(Swish::IN_TITLE|Swish::IN_HEAD); //search in title and head
|
||||
$results = $search->execute("time");
|
||||
echo "Second query found: ", $results->hits, " hits\n";
|
||||
|
||||
$search->setStructure(SWISH_IN_ALL); //search in whole document, the default value
|
||||
$search->setStructure(Swish::IN_ALL); //search in whole document, the default value
|
||||
$results = $search->execute("time");
|
||||
echo "Third query found: ", $results->hits, " hits\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue