You are here

public function DataTable::unlink in Data 6

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

Unlink this table from another table.

File

includes/DataTable.inc, line 541
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,
  ));
}