Browse Source

htable: documented the new 'initval' attribute for htable parameter

Daniel-Constantin Mierla 14 năm trước cách đây
mục cha
commit
bd6a3df6f6
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      modules_k/htable/doc/htable_admin.xml

+ 7 - 0
modules_k/htable/doc/htable_admin.xml

@@ -261,6 +261,12 @@ if(is_present_hf("Authorization"))
 			write back to db table).
 		</para>
 		</listitem>
+		<listitem>
+		<para>
+			<emphasis>initval</emphasis> - the integer value to be returned
+			insted of $null when a requested key is not set.
+		</para>
+		</listitem>
 		</itemizedlist>
 		<para>
 		<emphasis>
@@ -273,6 +279,7 @@ if(is_present_hf("Authorization"))
 ...
 modparam("htable", "htable", "a=&gt;size=4;autoexpire=7200;dbtable=htable_a;")
 modparam("htable", "htable", "b=&gt;size=5;")
+modparam("htable", "htable", "c=&gt;size=4;autoexpire=7200;initval=1;")
 ...
 </programlisting>
 		</example>