projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7b8df
)
Need to allow setting of parmeters via __set() also
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 11 Nov 2009 21:44:57 +0000
(16:44 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 11 Nov 2009 21:44:57 +0000
(16:44 -0500)
ansel/lib/View/Base.php
patch
|
blob
|
history
diff --git
a/ansel/lib/View/Base.php
b/ansel/lib/View/Base.php
index
9eb8bb8
..
a03a7d3
100644
(file)
--- a/
ansel/lib/View/Base.php
+++ b/
ansel/lib/View/Base.php
@@
-43,10
+43,12
@@
abstract class Ansel_View_Base
return $this->_params[$property];
}
- // @TODO: For now return null until we can ensure we have default values for
- // properties requested from other classes.
return null;
- //throw new Horde_Exception(sprintf("The property %s of Ansel_View not found.", $property));
+ }
+
+ public function __set($property, $value)
+ {
+ $this->_params[$property] = $value;
}
public function __isset($property)