| @@ 286-291 (lines=6) @@ | ||
| 283 | if ( !$this->filename ) { |
|
| 284 | // from dparameters |
|
| 285 | if ( $this->structure->ifdparameters ) { |
|
| 286 | foreach ( $this->structure->dparameters AS $param ) { |
|
| 287 | if ( 'FILENAME' == $param->attribute ) { |
|
| 288 | $this->filename = $param->value; |
|
| 289 | break; |
|
| 290 | } |
|
| 291 | } |
|
| 292 | } |
|
| 293 | ||
| 294 | // from parameters |
|
| @@ 296-301 (lines=6) @@ | ||
| 293 | ||
| 294 | // from parameters |
|
| 295 | if ( !$this->filename && $this->structure->ifparameters ) { |
|
| 296 | foreach ( $this->structure->parameters AS $param ) { |
|
| 297 | if ( 'NAME' == $param->attribute ) { |
|
| 298 | $this->filename = $param->value; |
|
| 299 | break; |
|
| 300 | } |
|
| 301 | } |
|
| 302 | } |
|
| 303 | } |
|
| 304 | ||