<?php $condition = array ( "Post.title LIKE" => "%magic%" ); $hoge = $this->Post->find('all', array('conditions' => $condition));
magicを含む文字列が記録されたtitleカラムのレコードをサーチできる。
なお、
<?php $condition = array ( "Post.title LIKE" => "%%" ); $hoge = $this->Post->find('all', array('conditions' => $condition));
で全部サーチも可能。
SQLは
mysql> SELECT * FROM POST WHERE title LIKE '%magic%';
みたいな発行になるかと思われる。