aboutsummaryrefslogtreecommitdiff
path: root/interface.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-03-30 15:41:42 -0300
committerSilvio <silvio@devlet.com.br>2010-03-30 15:41:42 -0300
commit2fc4b766f4422f6a58c0a535fadf99096e7a9ddd (patch)
tree62ac2cd98f59541d9dde04ca93404b7d433f0daf /interface.php
parented4a97748c2c9b76e45c69287d37f995da8fcbde (diff)
downloadcinisis-2fc4b766f4422f6a58c0a535fadf99096e7a9ddd.tar.gz
cinisis-2fc4b766f4422f6a58c0a535fadf99096e7a9ddd.tar.bz2
Adding doxygen
Diffstat (limited to 'interface.php')
-rw-r--r--interface.php33
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();
}