1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00

84 Commits

Author SHA1 Message Date
Yoshinari Takaoka
c7ff9d3b43 isiterable.xml Make the example executable
2466135731
2025-10-13 22:48:17 +09:00
Yoshinari Takaoka
5ebff06eca isinstance.xml Make the example workable and semantic
eb557099ed
2025-10-13 22:47:02 +09:00
Yoshinari Takaoka
3db2cdc141 Update doc for reflection class is methods
84f2560907
2025-10-04 06:27:53 +09:00
Yoshinari Takaoka
f7d26aa5db [ext/reflection] sync with en. 2025-08-27 18:54:39 +09:00
KentarouTakeda
3c6a9c91a9 &Alias; の記述順が英語と日本語で入れ替わっていない箇所を全て修正 (#237) 2024-12-31 12:42:59 +09:00
KentarouTakeda
f438331f83 [PHP 8.4] 「レイジーオブジェクト」の翻訳 (#159)
* 追加ドキュメント 英語版状態

* [PHP 8.4] 「レイジーオブジェクト」の翻訳
2024-11-14 21:59:35 +09:00
Yoshinari Takaoka
b81018adbb Fix word in ReflectionConstant 2024-04-28 13:27:50 +09:00
Yoshinari Takaoka
72abec4647 [PHP 8.3] Return type of ReflectionClass::getStaticProperties() is no longer nullable.
dfdaa9a77c
2023-11-16 02:40:08 +09:00
Yoshinari Takaoka
a03e0bfbba Fix: Improve ReflectionClass example
d52f1e6908
2023-08-01 18:02:36 +09:00
Yoshinari Takaoka
728ede7f39 Reflection: fix some "undocumented" methods, and some other edits for consistency
* If a method has a refpurpose, description, parameters and return
  values, it's documented, there's no need for the warning box.
* Add description where there was none. It is usually very similar
  to the refpurpose.
* Document ReflectionZendExtension::__construct(), and update
  ReflectionExtension::__construct() for consistency.
* In ReflectionFunction::__toString()
* Remove some references to deprecated export() methods.
* Add example for ReflectionParameter::__toString().

ca840c9a6d
2023-06-17 11:10:20 +09:00
Yoshinari Takaoka
17f3e5ee1b Missing getAttributes documentation
fadab82e11
2023-01-17 14:35:42 +09:00
Yoshinari Takaoka
2a4aacdede Removed invalid return null description
35c3bd55d6
2023-01-09 06:47:08 +09:00
Yoshinari Takaoka
8aa5b7a815 Remove invalid null return description
1ddcca66af
2023-01-09 06:46:15 +09:00
Yoshinari Takaoka
f2a1bdfa78 Add role attribute for ReflectionClass::isReadOnly
7f6236d76d
2022-12-12 20:39:41 +09:00
Yoshinari Takaoka
cdafb72cba Update ext/reflection role attributes
ec2fe9a592
2022-12-12 20:33:00 +09:00
Yoshinari Takaoka
6ed624cb87 added ReflectionClass::isReadOnly documentation.
a4f0588234
2022-11-14 23:00:51 +09:00
Yoshinari Takaoka
b90fd936d4 Fix: Doc comment must start with /** followed by whitespace
While we're at it, we also fix the indentation of the example to match
common PHP formatting rules.

7c30fe36eb
2022-10-31 08:24:36 +09:00
Yoshinari Takaoka
5bd24cb9d4 Fix example
e23a1375a5
2022-10-24 18:56:01 +09:00
Yoshinari Takaoka
d89f23d4ca Add missing documentation for the ReflectionClass::getAttributes method
8d2b545eef
2022-05-04 18:07:42 +09:00
Yoshinari Takaoka
fc2c148c1c static[プロパティ|メソッド] 関連をさらに調整 2022-05-03 02:35:52 +09:00
Yoshinari Takaoka
bbc7f38069 s/静的プロパティ/staticプロパティ/
find . -name '*.xml' | xargs sed -i "s/静的プロパティ/staticプロパティ/g"
2022-05-03 02:21:41 +09:00
Yoshinari Takaoka
18fe544b89 Remove return value section for Reflection constructors
967b4787ba
2022-04-08 23:30:10 +09:00
Yoshinari Takaoka
3bf0366dc5 Remove &warn.undocumented.func; from Reflection
Removed from all the places where it wasn't stricly necessary.

ab58951f68
2022-03-30 20:20:36 +09:00
Yoshinari Takaoka
099a93016c Add trailing semicolon to getDocComment
Although this is valid PHP, other functions' examples in the class (e.g. `getDefaultProperties` and `getConstructor`) contain this trailing semicolon.

210b5020c0
2022-03-29 01:33:12 +09:00
Yoshinari Takaoka
c860a5c2b7 ReflectionClass::isEnum method
a416cd2c01
2022-02-17 01:55:07 +09:00
Yoshinari Takaoka
9c97c98be3 Fix a few ext/reflection return types
1c1619047e
2021-12-16 23:48:50 +09:00
Yoshinari Takaoka
18c5d6c77e Generate methodsynopses based on stubs for recent changes
b0b19b6618
2021-10-02 03:09:00 +09:00
Yoshinari Takaoka
03f84a4844 Fix section order issues in Reflection extension 2021-06-07 11:18:44 +09:00
Yoshinari Takaoka
e93c1b769f Added ReflectionAttribute related Documentation. (php/doc-en#588) 2021-06-04 20:53:16 +09:00
Yoshinari Takaoka
9e32c45b7e Remove PHP 5, 7 references (php/doc-en#565) 2021-05-13 10:14:52 +09:00
Yoshinari Takaoka
5cc4e054f3 replaced deprected warning with deprecated-removed one. 2021-05-02 14:26:16 +09:00
Yoshinari Takaoka
0e29a256ef Removed Changelog entries for PHP 5, PHP 7.0 (php/doc-en#543) 2021-04-23 01:59:00 +09:00
Yoshinari Takaoka
7d411ce02e updated EN-Revision only 2021-03-20 05:20:44 +09:00
Yoshinari Takaoka
1f5b691780 s/可視性/アクセス権/ 2021-03-06 16:25:01 +09:00
George Peter Banyard
223542483b Update EN-Revision tags for new rev-check
This only updates files which have an empty diff between the two different revisions
2021-02-02 18:27:13 +00:00
Yoshinari Takaoka
9b47fea4f6 Generate reflection methodsynopses based on stubs
We also document the new `$filter` parameter for the `ReflectionClass`
methods `::getConstants()` and `::getReflectionConstants()` and the
respective constants.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-298.
2021-01-01 05:41:07 +09:00
Yoshinari Takaoka
e28ebd89ff Fix example output for PHP 7.0.0 and up
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352087 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-15 03:15:12 +00:00
Yoshinari Takaoka
975835b9bd update EN-Revision only
EN-Revision was fully updated, because of revert r351730, r351729.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352016 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:06:49 +00:00
Yoshinari Takaoka
2de50c839e Fix return type
This integrates user note 125527.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351495 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 13:54:13 +00:00
Yoshinari Takaoka
788301a096 Fix #78707: ReflectionClass::implementsInterface - incomplete documentation
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351236 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 18:11:35 +00:00
Yoshinari Takaoka
eb3777f5de Use canonical type names, part II.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351158 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 20:44:33 +00:00
Yoshinari Takaoka
c58bf47244 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351140 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 16:41:17 +00:00
Yoshinari Takaoka
9a4def4699 Reflection*::export is deprecated as of PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350502 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-03 10:08:11 +00:00
Yoshinari Takaoka
9dfdd0ae84 added missing reflection related doc translations
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348918 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-14 15:05:05 +00:00
Yoshinari Takaoka
9b565ac281 working -> ready
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348847 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-08 14:04:38 +00:00
Yoshinari Takaoka
6d08cf5c86 updated reflection related translation
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348846 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-08 14:01:43 +00:00
Satoru Yoshida
8004cadd1c sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@346978 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-07 15:10:41 +00:00
Satoru Yoshida
e2c6ddaec9 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@346959 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-03 06:08:55 +00:00
Satoru Yoshida
d4abff6542 sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342455 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-06 01:15:48 +00:00
Satoru Yoshida
1de45c68ab sync en, but Status is working.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342411 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-22 14:55:52 +00:00