mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-26 13:58:55 +00:00
74 lines
1.8 KiB
XML
74 lines
1.8 KiB
XML
![]() |
<?xml version='1.0' encoding='iso-8859-1'?>
|
||
|
<!-- $Revision: 1.1 $ -->
|
||
|
<refentry xml:id="splpriorityqueue.insert" xmlns="http://docbook.org/ns/docbook">
|
||
|
<refnamediv>
|
||
|
<refname>SplPriorityQueue::insert</refname>
|
||
|
<refpurpose>Inserts an element in the queue by sifting it up.</refpurpose>
|
||
|
</refnamediv>
|
||
|
|
||
|
<refsect1 role="description">
|
||
|
&reftitle.description;
|
||
|
<methodsynopsis>
|
||
|
<type>void</type><methodname>SplPriorityQueue::insert</methodname>
|
||
|
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
|
||
|
<methodparam><type>mixed</type><parameter>priority</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
|
||
|
<para>
|
||
|
Insert <parameter>value</parameter> with the priority <parameter>priority</parameter> in the queue.
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
|
||
|
<refsect1 role="parameters">
|
||
|
&reftitle.parameters;
|
||
|
<para>
|
||
|
<variablelist>
|
||
|
<varlistentry>
|
||
|
<term><parameter>value</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
The value to insert.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term><parameter>priority</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
The associated priority.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
</variablelist>
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
|
||
|
<refsect1 role="returnvalues">
|
||
|
&reftitle.returnvalues;
|
||
|
<para>
|
||
|
&return.void;
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
|
||
|
</refentry>
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|