or_like

void or_like( mixed $field [ , string $match [, string $side] ] )
Quick Description: Same as or_like of codeigniter for the table list

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

For more you can also read codeigniter active record documentation

Example:

function example_with_or_like() {
 
$crud = new grocery_CRUD();
 
$crud->like('productName','Moto');
$crud->or_like('productName','Car');
$crud->or_like('productName','Bicycle');
 
$crud->set_table('products');
$crud->columns('productName','buyPrice');
 
$output = $crud->render();
 
$this->_example_output($output);
}