From 8cc198b20d8d6aef6a5f77635f5e4affd9c2adb4 Mon Sep 17 00:00:00 2001 From: Philip Olson <philip@php.net> Date: Thu, 26 Apr 2012 05:52:56 +0000 Subject: [PATCH] Added missing example titles git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325453 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqlnd_qc/constants.xml | 2 ++ .../functions/mysqlnd-qc-get-available-handlers.xml | 1 + reference/mysqlnd_qc/functions/mysqlnd-qc-get-cache-info.xml | 1 + reference/mysqlnd_qc/functions/mysqlnd-qc-get-core-stats.xml | 1 + .../functions/mysqlnd-qc-get-normalized-query-trace-log.xml | 1 + .../mysqlnd_qc/functions/mysqlnd-qc-get-query-trace-log.xml | 3 ++- .../mysqlnd_qc/functions/mysqlnd-qc-set-cache-condition.xml | 2 +- reference/mysqlnd_qc/functions/mysqlnd-qc-set-is-select.xml | 4 +--- .../mysqlnd_qc/functions/mysqlnd-qc-set-storage-handler.xml | 1 + 9 files changed, 11 insertions(+), 5 deletions(-) diff --git a/reference/mysqlnd_qc/constants.xml b/reference/mysqlnd_qc/constants.xml index 1b1f3a94b7..bd085f2062 100644 --- a/reference/mysqlnd_qc/constants.xml +++ b/reference/mysqlnd_qc/constants.xml @@ -9,6 +9,7 @@ </para> <para> <example> + <title>Using SQL hint constants</title> <para> The query cache is controlled by SQL hints. SQL hints are used to enable and disable caching. SQL hints can be used to set the @@ -129,6 +130,7 @@ MYSQLND_QC_TTL_SWITCH: qc_ttl= </para> <para> <example> + <title>Example <function>mysqlnd_qc_set_cache_condition</function> usage</title> <para> The function <function>mysqlnd_qc_set_cache_condition</function> allows setting conditions for automatic caching of statements which don't begin with the SQL hints diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-available-handlers.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-available-handlers.xml index bcff6451a7..cc10bd7d6b 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-available-handlers.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-available-handlers.xml @@ -41,6 +41,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> + <title><function>mysqlnd_qc_get_available_handlers</function> example</title> <programlisting role="php"> <![CDATA[ <?php diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-cache-info.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-cache-info.xml index bb00af81fc..07864acbea 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-cache-info.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-cache-info.xml @@ -429,6 +429,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> + <title><function>mysqlnd_qc_get_cache_info</function> example</title> <para> The example shows the output from the built-in default storage handler. Other storage handler may report different data. diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-core-stats.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-core-stats.xml index 3a529bc9f3..0e14330fd3 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-core-stats.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-core-stats.xml @@ -380,6 +380,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> + <title><function>mysqlnd_qc_get_core_stats</function> example</title> <programlisting role="php"> <![CDATA[ <?php diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-normalized-query-trace-log.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-normalized-query-trace-log.xml index 43931938db..f9525ba76d 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-normalized-query-trace-log.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-normalized-query-trace-log.xml @@ -154,6 +154,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> + <title><function>mysqlnd_qc_get_normalized_query_trace_log</function> example</title> <programlisting role="ini"> <![CDATA[ mysqlnd_qc.collect_normalized_query_trace=1 diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-query-trace-log.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-query-trace-log.xml index 4481f906eb..87202bffbd 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-get-query-trace-log.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-get-query-trace-log.xml @@ -150,7 +150,8 @@ <refsect1 role="examples"> &reftitle.examples; <example> - <programlisting role="ini"> + <title><function>mysqlnd_qc_get_query_trace_log</function> example</title> + <programlisting role="ini"> <![CDATA[ mysqlnd_qc.collect_query_trace=1 ]]> diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-set-cache-condition.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-set-cache-condition.xml index cb1a5f6dba..833cd6981f 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-set-cache-condition.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-set-cache-condition.xml @@ -95,7 +95,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> - <para></para> + <title><function>mysqlnd_qc_set_cache_condition</function> example</title> <programlisting role="php"> <![CDATA[ <?php diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-set-is-select.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-set-is-select.xml index 516385c503..82b13a7b22 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-set-is-select.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-set-is-select.xml @@ -64,9 +64,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> - <para> - - </para> + <title><function>mysqlnd_qc_set_is_select</function> example</title> <programlisting role="php"> <![CDATA[ <?php diff --git a/reference/mysqlnd_qc/functions/mysqlnd-qc-set-storage-handler.xml b/reference/mysqlnd_qc/functions/mysqlnd-qc-set-storage-handler.xml index 7c7f67ea63..ba59b82fed 100644 --- a/reference/mysqlnd_qc/functions/mysqlnd-qc-set-storage-handler.xml +++ b/reference/mysqlnd_qc/functions/mysqlnd-qc-set-storage-handler.xml @@ -68,6 +68,7 @@ <refsect1 role="examples"> &reftitle.examples; <example> + <title><function>mysqlnd_qc_set_storage_handler</function> example</title> <para> The example shows the output from the built-in default storage handler. Other storage handler may report different data.