Changeset 7621 for trunk/src/class/FileHandler.class.php
- Timestamp:
- Mar 26, 2010, 10:47:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/class/FileHandler.class.php
r7620 r7621 7 7 8 8 class FileHandler { 9 private $file; 10 11 /* 12 * Function: __construct (constructor) 13 * Parameters: string $filename 14 * Function: Handling with a node file 15 */ 16 public function __construct(string $filename) { 17 try { 18 $this->file = fopen($filename); 19 } catch (Exception $err) { 20 // TODO: Better error description 21 trigger_error(); 22 } 23 } 9 24 }
Note:
See TracChangeset
for help on using the changeset viewer.