エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
find :: データを取得する :: モデル :: CakePHPによる開発 :: マニュアル :: 1.2 Collection :: The Cookbook
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
find :: データを取得する :: モデル :: CakePHPによる開発 :: マニュアル :: 1.2 Collection :: The Cookbook
find($type, $params) $type は 'all'、'first'、'count'、'list'、'neighbors' または 'threaded' のい... find($type, $params) $type は 'all'、'first'、'count'、'list'、'neighbors' または 'threaded' のいずれかです。デフォルトは 'first' です。 $params はオプションの配列です。キーとして次のものが有効です。: array( 'conditions' => array('Model.field' => $thisValue), //array of conditions 'recursive' => 1, //int 'fields' => array('Model.field1', 'Model.field2'), //array of field names 'order' => array('Model.created', 'Model.field3 DESC'), //string