diff options
author | Silvio <silvio@devlet.com.br> | 2010-03-30 12:18:57 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-03-30 12:18:57 -0300 |
commit | ed4a97748c2c9b76e45c69287d37f995da8fcbde (patch) | |
tree | 8ab0670426e708f7dcd179ae4646994b1318d6f7 | |
parent | 93d4fafcf253b7646172fff5e4798a80773aff3f (diff) | |
download | cinisis-ed4a97748c2c9b76e45c69287d37f995da8fcbde.tar.gz cinisis-ed4a97748c2c9b76e45c69287d37f995da8fcbde.tar.bz2 |
Schema update
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | schemas/anu10.yaml | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -19,8 +19,8 @@ function __autoload($class) { // Test database connection. $schema = Spyc::YAMLLoad('schemas/anu10.yaml'); -//$db = new MaleteDb($schema); -$db = new PhpIsisDb($schema); +$db = new MaleteDb($schema); +//$db = new PhpIsisDb($schema); if ($db) { $result = $db->read(1); //$result = $db->rows(); diff --git a/schemas/anu10.yaml b/schemas/anu10.yaml index 77d7c61..630135b 100644 --- a/schemas/anu10.yaml +++ b/schemas/anu10.yaml @@ -14,6 +14,7 @@ fields: name: Assuntos primarios 6: name: Assuntos secundarios + repeat: Yes 7: name: Ilustrado 8: @@ -24,6 +25,7 @@ fields: name: Arquivo digital 11: name: Forma documento + repeat: Yes 12: name: Local de publicacao 13: |