|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Vassago Smarty n00b
Joined: 16 May 2017 Posts: 1
|
Posted: Tue May 16, 2017 4:40 pm Post subject: Retrieving object from multidimensional array |
|
|
Greetings,
I'm new to Smarty and PHP and I'm trying to access the object "emotionlink" from the following part of code:
Code: | Array
(
[id] => 4
[name] => The Great Night
[description] =>
[metaTitle] =>
[metaDescription] =>
[metaKeywords] =>
[link]=>shopware.phpcontroller=listing&action=manufacturer&sSupplier=4
[image] => http://app.dev/media/image/70/ff/d6/thegreatnight.png
[attributes] => Array
(
[core] => Shopware\Bundle\StoreFrontBundle\Struct\Attribute Object
(
[storage:protected] => Array
(
[id] => 3
[supplierID] => 4
[emotionlink] => testing-landing-page
)
)
)
[website] => http://app.dev/the-great-night/
)
1 |
Went through the documentation (Smarty 2) but nothing seems to be working. Any suggestions?
Thank you for your patience. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
|
Back to top |
|
|
|
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
|