|
@@ 76-78 (lines=3) @@
|
| 73 |
|
if(method_exists($Model, $this->options['fileNameFunction'])){ |
| 74 |
|
$fileName = $Model->{$this->options['fileNameFunction']}($fileName); |
| 75 |
|
} |
| 76 |
|
elseif(function_exists($this->options['fileNameFunction'])){ |
| 77 |
|
$fileName = call_user_func($this->options['fileNameFunction'], $fileName); |
| 78 |
|
} |
| 79 |
|
} |
| 80 |
|
else { |
| 81 |
|
if(function_exists($this->options['fileNameFunction'])){ |
|
@@ 80-84 (lines=5) @@
|
| 77 |
|
$fileName = call_user_func($this->options['fileNameFunction'], $fileName); |
| 78 |
|
} |
| 79 |
|
} |
| 80 |
|
else { |
| 81 |
|
if(function_exists($this->options['fileNameFunction'])){ |
| 82 |
|
$fileName = call_user_func($this->options['fileNameFunction'], $fileName); |
| 83 |
|
} |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
if(!$fileName){ |
| 87 |
|
$this->_error('No filename resulting after parsing. Function: ' . $this->options['fileNameFunction']); |