2

在 Virtuemart 中,我引用了类似的东西

 $this->product->images[0]->file_url; 

 $category->category_name;

文档很少,是否有一些技术可以让我找到可用的变量引用?我怎么知道我是否可以访问,比如说$this->product->product_title. 如何在没有文档的情况下从 VM 中获取这些内容?

没有最好的猜测开发人员做什么..

4

2 回答 2

1

试试这个

print_r($this->product);exit();

然后查看页面的源代码

于 2012-04-25T11:14:35.420 回答
1

文档有限,这里是:

http://virtuemart.net/documentation/Developer_Manual/func.html

于 2012-04-25T13:19:24.500 回答