Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

nusoap response us Smarty

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
hava
Smarty n00b


Joined: 27 Jan 2007
Posts: 2

PostPosted: Sat Jan 27, 2007 6:10 pm    Post subject: nusoap response us Smarty Reply with quote

Hi! The server returns the response and this response is array with such keys: contact.id, contact.name etc. So, response array look like

Code:
[3] => Array
(
[contact.company] => asd
[entity.currentstatus] => Active
[contact.telno] => 000000
[entity.entityid] => 5423788
[contact.creationdt] => 1169566009
[entity.description] =>
[contact.zip] => 46001
[contact.contactid] => 5423788
[contact.faxno] => 00000
[contact.timestamp] => 2007-01-23 15:26:49.325229
[contact.faxnocc] => 33
[contact.city] =>
[contact.country] =>
[contact.address3] =>
[contact.address2] =>
[contact.address1] => uyeyyt
[contact.telnocc] => 333
[contact.name] => asd
[entity.customerid] => 2970601
[contact.state] => 2345
[contact.emailaddr] => rppp3@ukr.net
[contact.type] => Contact


In the template I want to use value $Arr[3].entity.currentstatus, but Smarty does not support such syntax. What you suggest to me?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP