#252 Is 'rep' on methodparam a mistake?

DocBook (176)

What does it mean to repeat a method parameter? The same option isn't available on paramdef. I suspect this is an error, but perhaps I'm mistaken.


  • Hannes Magnusson

    Logged In: YES
    Originator: NO

    In PHP there are lot of functions that take variable amount of optional arguments, all of them meaning the same.
    list() for instance uses this methodsynopsis:
    <methodparam rep="repeat" choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>

    Although this is the only case were we actually use this attribute, it does make sense I think.

  • Norman Walsh

    Norman Walsh - 2009-03-25

    The TC concluded that it probably was a mistake but that it might have some uses, so we won't make the backwards incompatible change of removing it.

  • Norman Walsh

    Norman Walsh - 2009-03-25
    • status: open --> open-rejected
  • Norman Walsh

    Norman Walsh - 2009-04-14
    • status: open-rejected --> closed-rejected

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks