blob: 08f80072a46e12167c6b3a24b111dc0339247e7b [file] [log] [blame]
<?php
class Mock_Libraries_Table extends CI_Table {
// Override inaccessible protected method
public function __call($method, $params)
{
if (is_callable(array($this, '_'.$method)))
{
return call_user_func_array(array($this, '_'.$method), $params);
}
throw new BadMethodCallException('Method '.$method.' was not found');
}
}