src/wula/cms/CmfModule.php
public function getDefinedTables($dialect) {
		$sqlFile = MODULES_PATH . $this->dirname . DS . 'schema.sql.php';
		if (is_file($sqlFile)) {
			$file = file_get_contents($sqlFile);

			return $dialect->getTablesFromSQL($file);
		}

		return [];
	}
public function getDefinedTables($dialect) {
		$sqlFile = MODULES_PATH . $this->dirname . DS . 'schema.sql.php';
		if (is_file($sqlFile)) {
			$file = file_get_contents($sqlFile);

			return $dialect->getTablesFromSQL($file);
		}

		return [];
	}
取当前模板所定义的表.

@param \wulaphp\db\dialect\DatabaseDialect $dialect

@return array