我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用cakephp魔术函数获取字段值

I want to find a user detail using cakephp magic function like that

$this->User->findById($id);
$this->User->findByName($name);

this works properly, but i want to find user detail using their quote

$this->User->findByQuote($quote);

But there are some problem occuring... DB field name => quote

近期文章

  • Doctrine ORM将产品绑定到多个实体
  • 序列化功能在php中不起作用
  • MacOS Yosemite Apache需要Mcrypt PHP扩展
  • 如何将裁剪后的图像存储在php文件夹中?
  • PHP动态插入多维数组
  • 如何在laravel 5中应用时间链接选择器
  • 如何在codeigniter中集成Stripe支付网关
  • get_terms命令由最流行的帖子视图wordpress
  • Facebook PHP SDK V5和AJAX Graph API页面请求
  • 关于ajax调用的成功函数的一些精确性
  • SQL:INTO OUTFILE错误:文件/data.csv已存在
  • text / plain内容类型在codeigniter中返回一些<br>或换行符输出
  • 更改字符串内容的顺序
  • 单击第1页上的链接可转到第2页并更改iFrame中的内容
  • laravel.log权限被拒绝错误
  • 如何在ubuntu 14.04上运行nginx的多个php版本
  • 仅显示数据库中的已检查项目
  • PHP显示查询不同的sql执行
  • 在Retrofit中出现字符串响应问题
  • 在ElasticSearch中使用什么DSL查询?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华