philip          Tue Jul 11 06:58:55 2006 UTC

  Modified files:              
    /phpdoc/en  language-snippets.ent 
  Log:
  Renamed note.timezone-errors to date.timezone-errors, removed <note> so it's 
"new doc style" friendly, and added date.timestamp.description for use in the 
new doc style parameter list refsect1 for ext.datetime.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.169&r2=1.170&diff_format=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.169 
phpdoc/en/language-snippets.ent:1.170
--- phpdoc/en/language-snippets.ent:1.169       Sat Jul  1 22:28:52 2006
+++ phpdoc/en/language-snippets.ent     Tue Jul 11 06:58:55 2006
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.169 $ -->
+<!-- $Revision: 1.170 $ -->
 <!-- Keep 'em sorted -->
 
 
@@ -72,14 +72,6 @@
 etc. have  been available.  For more information, read the manual section 
 on &link.superglobals;</para></note>'>
 
-<!ENTITY note.timezone-errors '<note><para>
-Since PHP 5.1.0 (when the date/time functions were rewritten), every call
-to a date/time function will generate a <constant>E_NOTICE</constant> if
-the timezone is not valid, and/or a <constant>E_STRICT</constant> message
-if using the system settings or the <varname>TZ</varname> environment
-variable. See also <function>date_default_timezone_set</function>
-</para></note>'>
-
 <!ENTITY note.uses-ob '<note><para>This function internally uses the
 output buffering with this parameter so it can not be used inside
 <function>ob_start</function> callback function.</para></note>'>
@@ -230,6 +222,22 @@
 
 <!ENTITY note.gd.2 '<note><simpara>This function requires GD 2.0.1 or later 
(2.0.28 or later is recommended).</simpara></note>'>
 
+<!-- Date and time entities -->
+<!ENTITY date.timezone.errors '
+Every call to a date/time function will generate a 
<constant>E_NOTICE</constant> if
+the timezone is not valid, and/or a <constant>E_STRICT</constant> message
+if using the system settings or the <varname>TZ</varname> environment
+variable. See also <function>date_default_timezone_set</function>
+'>
+
+<!ENTITY date.timestamp.description '
+<varlistentry><term><parameter>timestamp</parameter></term><listitem><para>
+The optional <parameter>timestamp</parameter> parameter is an 
+<type>integer</type> Unix timestamp that defaults to the current
+local time if a <parameter>timestamp</parameter> is not given. In other 
+words, it defaults to the value of <function>time</function>. 
+</para></listitem></varlistentry>'>
+
 <!-- DomXml Notes -->
 <!ENTITY node.inserted 'This node will not show up in the document unless it
 is inserted with e.g. <function>domnode_append_child</function>.'>

Reply via email to