summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1acdd79)
raw | patch | inline | side by side (parent: 1acdd79)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 3 Nov 2007 13:42:07 +0000 (13:42 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 3 Nov 2007 13:42:07 +0000 (13:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7724 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ObjectListViewport.inc | patch | blob | history | |
test | patch | blob | history |
index 414d45ba464145676c0349b1e455fbdbf0665f25..09cdc47f852e714cacfc4e82248e3b1d30e2be9f 100644 (file)
/* Dummy here */
$cr= Registry::getInstance("ConfigManager");
- $cr->setSection("plugin/sample");
+ $cr->setSection($config);
$this->headline= $cr->getValue("headline");
$this->footer= $cr->getValue("footer");
$this->entryFormat= $cr->getValue("entryFormat");
index 6101c399f63801216f2d2861c1731c1431a88be5..ff8262398ce563211f22cb1ca5bcc0af7b54c145 100755 (executable)
--- a/test
+++ b/test
$cr->load("gosa.conf");
/* Get a new test instance of ObjectListViewports */
- $vp= new ObjectListViewport(array("dummy", "dummy"));
+ $vp= new ObjectListViewport("plugin/sample");
echo $vp->render();
} catch (Exception $e) {