cakephp/cakephp — pull request #367 by zoghal (2011-12-09 16:20:08+00:00)
Title: add Like-R and Like-L operators for Controller::postConditions()

sample :
$conditions = $this->postConditions(
$this->request->data,
array(
'number' => '=',
'far' => 'LIKE-R', // Model.far like $value%
'eng' => 'LIKE-R', // Model.eng like %$value
'sci' => 'LIKE' // Model.sci like %$value%
),'AND',true);