public function DataTable::defined in Data 7
Same name and namespace in other branches
- 6 includes/DataTable.inc \DataTable::defined()
 
Determine whether a table is defined.
Return value
TRUE if the table is defined, FALSE otherwise. Note: If a table is defined it does not mean that it actually exists in the database.
1 call to DataTable::defined()
- DataTable::adopt in includes/
DataTable.inc  - Let Data manage a table that already exists in the database.
 
File
- includes/
DataTable.inc, line 203  - 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 defined() {
  return _data_load_table($this->name) ? TRUE : FALSE;
}