From: Chuck Hagenbuch Date: Sat, 7 Aug 2010 02:05:36 +0000 (-0400) Subject: Simple Layout library to replace the layout functionality hardcoded into the old... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=041d64e6213ef98a03096cecd0670779c03df374;p=horde.git Simple Layout library to replace the layout functionality hardcoded into the old Horde_Controller code. This is very likely to evolve further as it gets used. --- diff --git a/framework/Ui/lib/Horde/Ui/Layout.php b/framework/Ui/lib/Horde/Ui/Layout.php new file mode 100644 index 000000000..1627bb569 --- /dev/null +++ b/framework/Ui/lib/Horde/Ui/Layout.php @@ -0,0 +1,22 @@ +_view = $view; + } + + public function setLayoutName($layoutName) + { + $this->_layoutName = $layoutName; + } + + public function render($name) + { + $this->_view->contentForLayout = $this->_view->render($name); + return $this->_view->render($this->_layoutName); + } +} diff --git a/framework/Ui/package.xml b/framework/Ui/package.xml new file mode 100644 index 000000000..310d1a96b --- /dev/null +++ b/framework/Ui/package.xml @@ -0,0 +1,65 @@ + + + Ui + pear.horde.org + Horde UI libraries + Horde user interface libraries + + + Chuck Hagenbuch + chuck + chuck@horde.org + yes + + + Jan Schneider + jan + jan@horde.org + yes + + 2010-08-06 + + 0.1.0 + 0.1.0 + + + beta + beta + + LGPL + * Initial release. + + + + + + + + + + + + + + + + 5.2.0 + + + 1.7.0 + + + View + pear.horde.org + + + + + + + + +