projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
131873d
)
Experiment with passing variable access and method calls to the underlying view.
author
Chuck Hagenbuch
<chuck@horde.org>
Mon, 25 Oct 2010 03:20:29 +0000
(23:20 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Mon, 25 Oct 2010 03:20:29 +0000
(23:20 -0400)
framework/Core/lib/Horde/Core/Ui/Layout.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Ui/Layout.php
b/framework/Core/lib/Horde/Core/Ui/Layout.php
index
ba66c82
..
a8b4826
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Ui/Layout.php
+++ b/
framework/Core/lib/Horde/Core/Ui/Layout.php
@@
-9,6
+9,16
@@
class Horde_Core_Ui_Layout
$this->_view = $view;
}
+ public function __get($name)
+ {
+ return $this->_view->$name;
+ }
+
+ public function __call($method, $args)
+ {
+ return call_user_func_array(array($this->_view, $method), $args);
+ }
+
public function setLayoutName($layoutName)
{
$this->_layoutName = $layoutName;