Changeset 25547
- Timestamp:
- Nov 18, 2013, 9:53:24 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r25544 r25547 1367 1367 private $combinables; 1368 1368 1369 function FileCombiner($type, $combinables )1369 function FileCombiner($type, $combinables=array()) 1370 1370 { 1371 1371 $this->type = $type; … … 1387 1387 function add($combinables) 1388 1388 { 1389 foreach($combinables as $combinable) 1390 $this->combinables[] = $combinable; 1389 if ($combinables instanceof Combinable) 1390 { 1391 $this->combinables[] = $combinables; 1392 } 1393 else 1394 { 1395 foreach($combinables as $combinable) 1396 $this->combinables[] = $combinable; 1397 } 1391 1398 } 1392 1399
Note: See TracChangeset
for help on using the changeset viewer.