| Conditions | 4 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function parameters() { |
||
| 38 | if ( empty($this->parameters) ) { |
||
| 39 | $structure = $this->structure(); |
||
| 40 | |||
| 41 | $this->parameters['bytes'] = @$structure->bytes; |
||
| 42 | |||
| 43 | foreach ((array) @$structure->parameters as $param) { |
||
| 44 | $this->parameters[ strtolower($param->attribute) ] = $param->value; |
||
| 45 | } |
||
| 46 | foreach ((array) @$structure->dparameters as $param) { |
||
| 47 | $this->parameters[ strtolower($param->attribute) ] = $param->value; |
||
| 48 | } |
||
| 49 | } |
||
| 50 | |||
| 51 | return $this->parameters; |
||
| 52 | } |
||
| 53 | |||
| 60 |