public function delete(Model $m, $id, $table = null)
    {
        if (!isset($table)) {
            $table = $m->table;
        }

        unset($this->data[$table][$id]);
    }
public function delete(Model $m, $id, $table = null)
    {
        if (!isset($table)) {
            $table = $m->table;
        }

        unset($this->data[$table][$id]);
    }
public function delete ( Model $ m , $ id , $ table = null ) { if ( ! isset ( $ table ) ) { $ table = $ m -> table ; } unset ( $ this -> data [ $ table ] [ $ id ] ) ; }
Deletes record in data array.

@param Model  $m
@param mixed  $id
@param string $table
Deletes record in data array .