web_title "/> web_title ">

Home  >  Article  >  Backend Development  >  YII 遍历findAllByPk()中的一个值解决方法

YII 遍历findAllByPk()中的一个值解决方法

WBOY
WBOYOriginal
2016-06-13 12:01:39859browse

YII 遍历findAllByPk()中的一个值
 $web=  Webset::model()->findAllByPk("1");
这个得到值是

请问如何取其中的web_title这个值啊。
------解决方案--------------------
$web[0]->web_title

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn