Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23083

Zend SOAP does not support struct in the phpdoc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Zend SOAP WSDL generation doesn't support 'struct' in PHP doc.
      Zend XML-RPC require 'struct' instead of 'object'

      The solution seems to use the phpdoc syntaxt object|struct
      It is a valid phpdoc syntax, even though it is not pretty

      I tested with few function it worked, need more testing before commit.

        Attachments

          Activity

            People

            Assignee:
            jerome Jérôme Mouneyrac
            Reporter:
            jerome Jérôme Mouneyrac
            Tester:
            Nobody
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10