Commit graph

385 commits

Author SHA1 Message Date
Adam Harvey
ad31b64bbb Typo fix (thanks Derick!).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299014 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 09:50:28 +00:00
Daniel Convissor
5da1c6eac5 Add error handling to basic example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299010 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:45:09 +00:00
Daniel Convissor
87775dd402 Add example of dates rolling over.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299009 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:18:48 +00:00
Daniel Convissor
0e209aff72 Add example of how adding months can be problematic.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299008 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:05:09 +00:00
Daniel Convissor
fe271d65f0 Use function instead of methodname in seealso to get () in output.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299003 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 00:51:18 +00:00
Daniel Convissor
631a7e0046 Add get last errors to see also.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299001 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 00:30:24 +00:00
Daniel Convissor
a23cd14d80 Improve return section text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298982 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 17:21:29 +00:00
Daniel Convissor
c8c3d5ba2e Add return values section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298981 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 17:21:02 +00:00
Daniel Convissor
7c0a9d9625 Procedural methods operate on object by reference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298971 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 14:07:26 +00:00
Adam Harvey
4943fdaa3f Added an example to make clearer the misunderstanding that led to bug #51737
(Having a bug when using date_diff($t1,$t2)).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298955 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 10:06:59 +00:00
Daniel Convissor
dee90d3315 Clarify and standardize some datetime return values via new entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298939 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 04:56:40 +00:00
Daniel Convissor
8b7427f897 Provide new entity for procedural returning false on failure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298938 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 03:46:27 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +00:00
Philip Olson
792ff31a8f Fixed build. Patch by Yawk.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298831 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-01 04:44:38 +00:00
Daniel Convissor
013b8d588c Make datetimezone_open an alias to construct, just like the rest of the functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298828 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-01 04:17:40 +00:00
Daniel Convissor
bc56b6e4f1 Add example section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298753 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:59:03 +00:00
Daniel Convissor
775021759a Add purpose to description section, just like everything else in the manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298752 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:18:36 +00:00
Daniel Convissor
dcd7880c98 Change link to timzone construct.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298751 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:08:22 +00:00
Daniel Convissor
b20aaa77b9 Add link to timzone construct.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298750 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:08:04 +00:00
Daniel Convissor
689d821965 Remove see also timezone_open, not really relevant here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298747 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 01:57:26 +00:00
Daniel Convissor
11ce78cab3 Add value of parameter defaults.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298746 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 01:50:10 +00:00
Daniel Convissor
03ab3321ba Make date_create an alias to construct, just like the rest of the date time functions; this function is now fully documented on construct page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298745 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 01:35:35 +00:00
Richard Quadling
398011b458 Examples tidied.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298710 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-28 16:39:21 +00:00
Daniel Convissor
0e42d1d3a6 Reworked examples to new oop/procedural combination format. Changed several titles. Simplified some initial examples and moved some parts to new examples. Per discussion on php-doc.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298705 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-28 15:58:26 +00:00
Richard Quadling
3676a17188 TZDB V2010.07 (2010g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298594 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-26 12:12:39 +00:00
Daniel Convissor
fbdb1f6ef8 Add example of how adding/subtracting months can be problematic.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298551 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 19:26:45 +00:00
Daniel Convissor
292269a8eb Add tips for users of PHP 5.2.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298534 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 17:16:50 +00:00
Daniel Convissor
a26eec4f6c Add note about locales not being used.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298533 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 17:11:17 +00:00
Daniel Convissor
9658c927dc Add some see also entries.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298531 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 17:02:36 +00:00
Daniel Convissor
513f590a75 Add note that modify() is an alternative for users of PHP 5.2.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298526 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 16:46:22 +00:00
Daniel Convissor
a084f1b026 Tweak wording of note regarding alternative for 5.2.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298525 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 16:43:33 +00:00
Daniel Convissor
3220e05f8c UNIX -> Unix, per nomenclature in wiki.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298524 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 16:41:30 +00:00
Daniel Convissor
49abbab79a Add some see also entries.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298520 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 15:58:08 +00:00
Daniel Convissor
11f91796a9 Add procedural example (to demonstrate the docbook format I am proposing on php-doc list).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298519 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 15:55:43 +00:00
Daniel Convissor
49004fac66 Add style.oop/style.procedural to description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298510 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 14:15:28 +00:00
Daniel Convissor
c2c5b27acd Add style.oop/style.procedural to description. Add procedural method synopsis.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298509 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 14:14:56 +00:00
Daniel Convissor
91b61e9e44 Oops, wrong message on last commit... actually added note of alternative for PHP < 5.3.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298458 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 02:36:02 +00:00
Daniel Convissor
3bc0480ad3 Adjust timezone in example to make output a clearer difference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298457 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 02:18:14 +00:00
Daniel Convissor
d872a78a38 Adjust timezone in example to make output a clearer difference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298456 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 02:17:28 +00:00
Daniel Convissor
bc384947ac Add item to see also.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298447 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 20:19:10 +00:00
Daniel Convissor
c866af773f Adjust example to show excessive values rolling into parents.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298446 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 20:15:59 +00:00
Daniel Convissor
3b5eab0c4e Further parameter explanations.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298445 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 20:02:07 +00:00
Daniel Convissor
7e03c6b67f Use different time zone in example to clarify how function really works.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298444 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 20:01:05 +00:00
Daniel Convissor
3a1bd92037 Improve wording for parameters that are time zones.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298441 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 19:19:41 +00:00
Daniel Convissor
1077115044 Add see also section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298435 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 18:50:23 +00:00
Daniel Convissor
403d34a5c5 Enhance and clarify existing examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298432 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 14:30:17 +00:00
Daniel Convissor
96dc0a070e Combine and enhance examples. Move timestamp text from example to parameter and reword it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298431 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 14:29:29 +00:00
Daniel Convissor
b058ed9338 Fix example: was wrong due to putting month into minute.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298407 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-24 03:53:28 +00:00
Daniel Convissor
59ab127401 Fix broken example and clarify it. Use proper example entity and title.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298379 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-23 15:01:04 +00:00
Daniel Convissor
f924f5b494 Remove unnecessary para's (around variablelist, informaltable, example, simplelist) in DateTime object docs per discussion on php-doc list.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298364 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-23 03:06:33 +00:00