Browse Source

Mention an usage magic in descriptions

tags/2.0.13
Sergey Makinen 7 years ago
parent
commit
ecf8984096
No known key found for this signature in database
GPG Key ID: D227B0B214A978D6
  1. 4
      framework/db/Schema.php

4
framework/db/Schema.php

@ -634,6 +634,8 @@ abstract class Schema extends Object
/**
* Returns the metadata of the given type for the given table.
* If there's no metadata in the cache, this method will call
* a `'loadTable' . ucfirst($type)` named method with the table name to obtain the metadata.
* @param string $name table name. The table name may contain schema name if any. Do not quote the table name.
* @param string $type metadata type.
* @param bool $refresh whether to reload the table metadata even if it is found in the cache.
@ -661,6 +663,8 @@ abstract class Schema extends Object
/**
* Returns the metadata of the given type for all tables in the given schema.
* This method will call a `'getTable' . ucfirst($type)` named method with the table name
* and the refresh flag to obtain the metadata.
* @param string $schema the schema of the metadata. Defaults to empty string, meaning the current or default schema name.
* @param string $type metadata type.
* @param bool $refresh whether to fetch the latest available table metadata. If this is `false`,

Loading…
Cancel
Save