diff options
author | Silvio <silvio@devlet.com.br> | 2010-03-30 15:41:42 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-03-30 15:41:42 -0300 |
commit | 2fc4b766f4422f6a58c0a535fadf99096e7a9ddd (patch) | |
tree | 62ac2cd98f59541d9dde04ca93404b7d433f0daf /interface.php | |
parent | ed4a97748c2c9b76e45c69287d37f995da8fcbde (diff) | |
download | cinisis-2fc4b766f4422f6a58c0a535fadf99096e7a9ddd.tar.gz cinisis-2fc4b766f4422f6a58c0a535fadf99096e7a9ddd.tar.bz2 |
Adding doxygen
Diffstat (limited to 'interface.php')
-rw-r--r-- | interface.php | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/interface.php b/interface.php index 5ba5a55..f5802d7 100644 --- a/interface.php +++ b/interface.php @@ -1,21 +1,40 @@ <?php -/** - * Database procedures. - */ /** * Generic interface for reading Isis databases. */ interface IsisDb { - // Constructor. + /** + * Constructor. + * + * @param $schema + * High level database schema description. + * + * @see default_schema() + */ public function __construct($schema); - // Read an entry. + /** + * Read an entry. + * + * @param $id + * Database row id. + */ public function read($id); - // Return number of rows in the database. + /** + * Return number of rows in the database. + * + * @return + * Number of rows in the database. + */ public function rows(); - // Return a default example schema. + /** + * Return a default example schema. + * + * @return + * Array with a sample database schema. + */ public function default_schema(); } |