Exemple #1
0
 /**
  * Get all the tables that belong to a particular component.
  *
  * @param   string $componentName Component name
  *
  * @return array
  */
 public function getComponentTables($componentName)
 {
     $tablePattern = NenoHelper::getTableNamePatternBasedOnComponentName($componentName);
     $query = 'SHOW TABLES LIKE ' . $this->quote($tablePattern . '%');
     $tablesList = $this->executeQuery($query, true, true);
     return NenoHelper::convertOnePropertyObjectListToArray($tablesList);
 }