当前位置:首页 > 搜索和 model 相关的文章

ThinkPHP Model 与 Action 用法

添加日期:2014-04-11 14:40:31 发布:smiling 
一直听说ThinkPHP可以使用Model调取数据库,今日才会用Model,在Action中使用D方法条用Model中函数 D( "Model名字 ")->函数名 例:D( "User ")->getList();调用 UserModel php 文件中 的 function getLiser() 函数 ...