You are here

public function DataTable::unlink in Data 7

Same name and namespace in other branches
  1. 6 includes/DataTable.inc \DataTable::unlink()

Unlink this table from another table.

File

includes/DataTable.inc, line 571
Contains class definition for DataTable.

Class

DataTable
Manages data access and manipulation for a single data table. Use data_create_table() or data_get_table() to instantiate an object from this class.

Code

public function unlink($left_table) {
  unset($this->meta['join'][$left_table]);
  $this
    ->update(array(
    'meta' => $this->meta,
  ));
}