diff options
author | Silvio <silvio@devlet.com.br> | 2010-04-06 16:16:50 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-04-06 16:16:50 -0300 |
commit | a80a88d99cb102fad4a23d5ea5732d489e70eddf (patch) | |
tree | 8d5a4bb15b3d6d38ed8bc132dc507c56d23a1711 /interface.php | |
parent | f6f1d270419bbd9696974719b15b8c01b19b032b (diff) | |
download | cinisis-a80a88d99cb102fad4a23d5ea5732d489e70eddf.tar.gz cinisis-a80a88d99cb102fad4a23d5ea5732d489e70eddf.tar.bz2 |
Enhanced config check
Diffstat (limited to 'interface.php')
-rw-r--r-- | interface.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/interface.php b/interface.php index 7a40cc2..1e63f38 100644 --- a/interface.php +++ b/interface.php @@ -37,7 +37,7 @@ interface IsisDb { public function rows(); /** - * Return a default example schema. + * Return an example database schema. * * The example schema should have all information the implementation * needs to be able to open and read a database. @@ -46,4 +46,18 @@ interface IsisDb { * Array with a sample database schema. */ public function example(); + + /** + * Configuration check. + * + * @param $schema + * Database schema to check. + * + * @param $section + * Configuration section. + * + * @return + * Database schema or FALSE if error. + */ + function check($schema, $section = NULL); } |