Returning arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

I'm writing a PEAR::SOAP server, and I need to return an array of instances
of Item; in turn, each Item has a list of related items.

I'm stuck in trying to fugure out how to write the __typedef and
__dispatch_map:

$this->__typedef['{http://www.domain.com}Item'] =
    array(
        'name' => 'string',
        'description' => 'string',
        // etc.
        'relatedItems' => ????  How do I specify array of Item ???
    );

$this->__dispatch_map['GetItems'] =
    array(
        'in' => array('query' => 'string'),
        'out' => array('return' => ?????? array of Item ????)
    );

Any help would be appreciated
Manu.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux