blob: 87c278bce35c37203345a0e908eb9b5fdc15d963 [file] [log] [blame]
<?php
class Mock_Libraries_Table extends CI_Table {
// Overide inaccesible 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');
}
}