Rev 13 | Rev 16 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 13 | Rev 14 | ||
|---|---|---|---|
| Line 214... | Line 214... | ||
| 214 |    * @param array|Object $params
 | 
            214 |    * @param array|Object $params
 | 
          
| 215 |    * @return Feature
 | 
            215 |    * @return Feature
 | 
          
| 216 |    */
 | 
            216 |    */
 | 
          
| 217 | public function __construct($params = array())  | 
            217 | public function __construct($params = array())  | 
          
| 218 |   {
 | 
            218 |   {
 | 
          
| 219 | $aVars = get_class_vars(get_class($this));  | 
            219 | $aVars = get_class_vars(__CLASS__);  | 
          
| 220 | 220 | ||
| 221 | while ((list($key, $value) = each($aVars)))  | 
            221 | while ((list($key, $value) = each($aVars)))  | 
          
| 222 |     {
 | 
            222 |     {
 | 
          
| 223 | if (isset($params[$key]))  | 
            223 | if (isset($params[$key]))  | 
          
| 224 |       {
 | 
            224 |       {
 |