Re: Can anyone help how to code below

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

 



Hi alimuddin,

Complex type :Order
Webservice data member: Order::OrderLineList
Definition: array of OrderLine OrderLineList;
------------------------------
Complex type : OrderLine
Webservice data member: OrderLine::ProductNumber
Definition : xsd:string ProductNumber;

Code:

$order_line_data = new OrderLine();
  $order_line_data -> ProductNumber = '9781847377814';


$order_data = new Order(); 

$order_data-> OrderLineList =  $order_line_data;







class OrderLine{
  public $ProductNumber;
  
}

My question is , according to definition OrderLine is array but in the code I 

assign an instance of OrderLine.


Thank you
kabir



________________________________
From: Alimuddin Sidiqui <alimuddin_rewa@xxxxxxxxx>
To: phpexperts@xxxxxxxxxxxxxxx; php-objects@xxxxxxxxxxxxxxx
Sent: Fri, April 1, 2011 6:47:49 AM
Subject: Re:  Can anyone help how to code below

   
hello friend 
pls send me details
 
Thx & Reg
Alimuddin siddiqui

--- On Wed, 30/3/11, bahalul kabir <bahar_aub@xxxxxxxxx> wrote:

From: bahalul kabir <bahar_aub@xxxxxxxxx>
Subject:  Can anyone help how to code below
To: phpexperts@xxxxxxxxxxxxxxx
Date: Wednesday, 30 March, 2011, 6:18 AM

  

Hi,
Can you help me what will be the syntax to get product number?

Complex type :Order
Webservice data member: Order::OrderLineList
Definition: array of OrderLine OrderLineList;
------------------------------
Complex type : OrderLine
Webservice data member: OrderLine::ProductNumber
Definition : xsd:string ProductNumber;
----------------------------------
I tried:

$order_data = new PseudoOrderData();

$order_data-> OrderLineList = array(
'ProductNumber'=>'SKU9781847377814',
);

Thank you
Kabir 

________________________________
From: Sarwar Hossain <bdsarwar@xxxxxxxxx>
To: phpexperts@xxxxxxxxxxxxxxx
Sent: Wed, March 30, 2011 7:25:59 AM
Subject: [phpXperts] Spell Checking Module

Hi Xeprts, 

Can you give me some idea or reference or link about spell checking module in 
php. The idea is we have a text area and a button "Spell Check", after giving 
input user will click this button and this will mention the mistake spelling. 

Please reply and thanks in advance 

-- 
Regards,
Sarwar Hossain
Dhaka, Bangladesh
Web: http://bdsarwar.wordpress.com/

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]


 

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux