Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
file_test.php File Reference

Variables

 $folder_entry = $root->mkdir('folder', 0)
 $folder = $folder_entry->getFile()
 $file_entry = $folder->create('file')
 $file = $file_entry->getFile()
 $stream = $file->open('wb')
 $entries = $root->listFiles()

Variable Documentation

$entries = $root->listFiles()
$file = $file_entry->getFile()
$file_entry = $folder->create('file')
$folder = $folder_entry->getFile()
$folder_entry = $root->mkdir('folder', 0)

file_test.php - tests for the File class

Copyright (c) 2013 Elmar Ludwig

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

$stream = $file->open('wb')