| Conditions | 3 |
| Paths | 4 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 25 | public static function getInstance ( $args = array () ) |
||
| 26 | { |
||
| 27 | $obj = new FilesFixeds(); |
||
| 28 | if ( key_exists ( 'tpl' , $args ) ) |
||
| 29 | { |
||
| 30 | $obj->setTpl ( $args[ 'tpl' ] ); |
||
| 31 | } |
||
| 32 | |||
| 33 | if ( key_exists ( 'name' , $args ) ) |
||
| 34 | { |
||
| 35 | $obj->setFileName ( $args[ 'name' ] ); |
||
| 36 | } |
||
| 37 | |||
| 38 | return $obj; |
||
| 39 | } |
||
| 40 | |||
| 94 | } |