5

织梦调用新的模型中的自定义属性

 2 years ago
source link: https://www.80shihua.com/archives/1315
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

织梦调用新的模型中的自定义属性

作者: dreamfly 分类: php,未分类,织梦cms 发布时间: 2018-06-03 08:19

{dede:field name='array'  runphp='yes'} @me=@me['title'];{/dede:field}

一次调用多个属性

{dede:field name='array'  runphp='yes'} if (@me['shorttitle']=='') @me=@me['title'];else @me=@me['shorttitle'];{/dede:field}

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK