Lines Matching full:file
37 namespace Hoa\File;
43 * Class \Hoa\File.
45 * File handler.
50 abstract class File class
57 * Open for reading only; place the file pointer at the beginning of the
58 * file.
65 * Open for reading and writing; place the file pointer at the beginning of
66 * the file.
73 * Open for writing only; place the file pointer at the beginning of the
74 * file and truncate the file to zero length. If the file does not exist,
82 * Open for reading and writing; place the file pointer at the beginning of
83 * the file and truncate the file to zero length. If the file does not
91 * Open for writing only; place the file pointer at the end of the file. If
92 * the file does not exist, attempt to create it.
99 * Open for reading and writing; place the file pointer at the end of the
100 * file. If the file does not exist, attempt to create it.
107 * Create and open for writing only; place the file pointer at the beginning
108 * of the file. If the file already exits, the fopen() call with fail by
109 * returning false and generating an error of level E_WARNING. If the file
118 * Create and open for reading and writing; place the file pointer at the
119 * beginning of the file. If the file already exists, the fopen() call with
121 * the file does not exist, attempt to create it. This is equivalent to
131 * Open a file.
133 * @param string $streamName Stream name (or file descriptor).
139 * @throws \Hoa\File\Exception
172 'You need PHP5.3.6 to use a file descriptor ' .
192 * @throws \Hoa\File\Exception\FileDoesNotExist
193 * @throws \Hoa\File\Exception
197 if (substr($streamName, 0, 4) == 'file' &&
200 'Directory %s does not exist. Could not open file %s.',
355 * Create a file.
357 * @param string $name File name.
374 Consistency::flexEntity('Hoa\File\File');