File
[ class tree: File ] [ index: File ] [ all elements ]

File: File.php

Source Location: /File-1.1.0RC2/File.php

Classes:

File
Class for handling files

Page Details:

PEAR::File
  • Version: $Revision: 1.28 $
  • License: PHP

Includes:

require_once('PEAR.php') [line 29]
Requires PEAR

FILE_DEFAULT_READSIZE [line 35]

FILE_DEFAULT_READSIZE = 1024,true
The default number of bytes for reading

[ Top ]



FILE_LOCKS_BLOCK [line 49]

FILE_LOCKS_BLOCK = true,true
Whether file locks should block

[ Top ]



FILE_LOCK_EXCLUSIVE [line 75]

FILE_LOCK_EXCLUSIVE = LOCK_EX|(FILE_LOCKS_BLOCK?0:LOCK_NB),true
Use this when an exclusive (write) lock is required

[ Top ]



FILE_LOCK_SHARED [line 70]

FILE_LOCK_SHARED = LOCK_SH|(FILE_LOCKS_BLOCK?0:LOCK_NB),true
Use this when a shared (read) lock is required

[ Top ]



FILE_MAX_LINE_READSIZE [line 42]

FILE_MAX_LINE_READSIZE = 8192000,true
The maximum number of bytes for reading lines

[ Top ]



FILE_MODE_APPEND [line 65]

FILE_MODE_APPEND = 'ab',true
Mode to use for appending to files

[ Top ]



FILE_MODE_READ [line 55]

FILE_MODE_READ = 'rb',true
Mode to use for reading from files

[ Top ]



FILE_MODE_WRITE [line 60]

FILE_MODE_WRITE = 'wb',true
Mode to use for truncating files, then writing

[ Top ]



Documentation generated on Mon, 11 Mar 2019 14:12:52 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.