Tripal
|
Public Member Functions | |
__construct () | |
create (string $table_name, string $chado_schema=NULL) | |
loadById (int $id) | |
loadbyName (string $table_name, string $chado_schema=NULL) | |
findByName (string $table_name, string $chado_schema=NULL) | |
getTables (string $chado_schema=NULL) | |
Drupal\tripal_chado\Services\ChadoCustomTableManager::__construct | ( | ) |
Instantiates a new ChadoCustomTableManager object.
Reimplemented in Drupal\tripal_chado\Services\ChadoMviewsManager.
Drupal\tripal_chado\Services\ChadoCustomTableManager::create | ( | string | $table_name, |
string | $chado_schema = NULL |
||
) |
Creates a new ChadoCustomTable object.
This object will work with the custom table in the default Chado schema. Be sure to call the setSchemaName() on the ChadoConnection object to ensure the custom table is managed in the correct Chado instance.
string | $table_name | The name of the custom table. |
string | $chado_schema | Optional. The chado schema where the custom table will live. If no schema is specified then the default schema is used. |
Reimplemented in Drupal\tripal_chado\Services\ChadoMviewsManager.
Drupal\tripal_chado\Services\ChadoCustomTableManager::findByName | ( | string | $table_name, |
string | $chado_schema = NULL |
||
) |
Finds the Id of the custom table that matches the name and Chado schema.
string | $table_name | The name of the table to find the ID for. |
string | $chado_schema | Optional. The chado schema from which to find a custom tables. If no schema is specified then the default schema is used. |
Reimplemented in Drupal\tripal_chado\Services\ChadoMviewsManager.
Drupal\tripal_chado\Services\ChadoCustomTableManager::getTables | ( | string | $chado_schema = NULL | ) |
Retrieve a list of all Chado custom table names.
string | $chado_schema | Optional. The chado schema from which to retrieve custom tables. If no schema is specified then the default schema is used. |
Reimplemented in Drupal\tripal_chado\Services\ChadoMviewsManager.
Drupal\tripal_chado\Services\ChadoCustomTableManager::loadById | ( | int | $id | ) |
Loads a custom table whose table Id matches the one provided.
int | $id | The ID of the custom table. |
Reimplemented in Drupal\tripal_chado\Services\ChadoMviewsManager.
Drupal\tripal_chado\Services\ChadoCustomTableManager::loadbyName | ( | string | $table_name, |
string | $chado_schema = NULL |
||
) |
Loads a custom table that matches the given name and Chado schema.
string | $table_name | The name of the table to find the ID for. |
string | $chado_schema | Optional. The chado schema from which to find a custom tables. If no schema is specified then the default schema is used. |
Reimplemented in Drupal\tripal_chado\Services\ChadoMviewsManager.