Hi everyone,
I’m having some trouble with a Web Service I’m implementing.
What I want it to do is to retrieve a list of objects, each has a list of another type of objects:
class A extends CActiveRecord
{
/**
* @var B[] bList
* @soap
*/
public $bList;
}
class B extends CActiveRecord
{
/**
* @var integer att
* @soap
*/
public $att;
}
but when I consume the Web Service I ask for an A class object. I can get it, but the bList attribute has the null value.
Is there any way I can set the relation attributes to be retrieved by the Web Service?
Thank you!