Re: svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php
| From: | Philip Olson | Date: | Fri, 30 Apr 2010 16:48:16 +0000 |
| Subject: | Re: svn: /phpdoc/doc-base/trunk/scripts/docgen/ docgen.php | ||
| References: | 1 2 3 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-6543@lists.php.net to get a copy of this message | ||
On Apr 30, 2010, at 9:45 AM, Hannes Magnusson wrote:
> On Fri, Apr 30, 2010 at 18:41, Hannes Magnusson
> <hannes.magnusson@gmail.com> wrote:
>> On Fri, Apr 30, 2010 at 04:28, Philip Olson <philip@php.net> wrote:
>>> philip Fri, 30 Apr 2010 02:28:54 +0000
>>>
>>> Revision:
>>> http://svn.php.net/viewvc?view=revision&revision=298790
>>>
>>> Log:
>>> Ignore private properties
>>>
>>> Changed paths:
>>> U phpdoc/doc-base/trunk/scripts/docgen/docgen.php
>>>
>>> Modified: phpdoc/doc-base/trunk/scripts/docgen/docgen.php
>>> ===================================================================
>>> --- phpdoc/doc-base/trunk/scripts/docgen/docgen.php 2010-04-30 00:07:39 UTC (rev
>>> 298789)
>>> +++ phpdoc/doc-base/trunk/scripts/docgen/docgen.php 2010-04-30 02:28:54 UTC (rev
>>> 298790)
>>> @@ -505,7 +505,7 @@
>>>
>>>
>>> /* {PROPERTIES_LIST} */
>>> - if ($properties = $class->getProperties()) {
>>> + if ($properties = $class->getProperties(ReflectionProperty::IS_PUBLIC +
>>> ReflectionProperty::IS_PROTECTED + ReflectionProperty::IS_STATIC)) {
>>
>>
>> +? Isn't that supposed to be &?
>
> | !!
>
> -typo
:)
Richard also mentioned it, and it's true. However, I'm distracted documenting
getProperties() so will commit that soon (first). The code is correct there ;) Cascading TODO!
Regards,
Philip