like

void like( mixed $field [ , string $match [, string $side] ] )
Quick Description: Same as codeigniter's like for the list.

It works exactly with the same way as Codeigniter's like.

For more you can also check codeigniter active record

Example:

function example_with_like() {
 
$crud = new grocery_CRUD();
 
$crud->like('productName','Motor');
 
$crud->set_table('products');
$crud->columns('productName','buyPrice');
 
$output = $crud->render();
 
$this->_example_output($output);
}