you can use: for "like"
$this->Post->find("all",array('condition'=>array('Author LIKE'=>"ad%")));
The above query will give you data from table messages, where the author’s name begins with "announcement".
for "OR"
$this->Post->find("all",array('condition'=>array("OR"=>array('Author LIKE'=>"ad%",'Post LIKE'=>"bo%"))));
The above query will give you data from table messages, where the author’s name begins with "announcement". OR Post starts with "bo".
php geek
source share