From ed4a97748c2c9b76e45c69287d37f995da8fcbde Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 30 Mar 2010 12:18:57 -0300 Subject: Schema update --- index.php | 4 ++-- schemas/anu10.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index f2ff677..f382f22 100644 --- a/index.php +++ b/index.php @@ -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: -- cgit v1.2.3