public function Table::get in Data 8
Get a property of the DataTable object.
@todo: use __get()
Parameters
$property: One of 'name', 'title', 'table_schema', 'meta'.
Return value
The unserialized value of the property.
File
- src/
Table.php, line 215
Class
- Table
- 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.
Namespace
Drupal\dataCode
public function get($property) {
if (in_array($property, array(
'name',
'title',
'table_schema',
'meta',
'export_type',
))) {
return $this->{$property};
}
}