|
Class: File
Source Location: Program_Root/File/File.php
File is a simple class to keep basic file information gathering structured and readable. Stores everything as a property of the class instead of as methods, so that it integrates easily with the Template class.
Author(s)
Version
- 2.2, 2003-09-29, $Id: File.php,v 1.2 2005/07/06 15:30:56 lux Exp $
Copyright
- Copyright (C) 2001-2003, Simian Systems Inc.
|
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$absolute = ""
[line 134]
The absolute path to the file, including its name.
Tags:
$content = false
[line 242]
Stores the content of the file after a call to contents().
Tags:
$description = "Unknown Document Type"
[line 85]
The description of the file.
Tags:
$extension = ""
[line 126]
The file's extension (ie. the extension of 'file.gif' is 'gif').
Tags:
$filemtime =
[line 158]
The actual value returned by the filemtime() call on this file.
Tags:
$filesize =
[line 142]
The actual size of this file in bytes.
Tags:
$formatted_perms =
[line 199]
The permissions of the file formatted by the formatPerms() method.
Tags:
$gid =
[line 174]
The group id of the file.
Tags:
$group = ''
[line 208]
The group name of the file. Not available if PHP is running in safe_mode.
Tags:
$icon = "pix/icons/unknown.gif"
[line 93]
An icon to help describe the file visually.
Tags:
$is_dir = false
[line 234]
Determines whether or not this file is a directory.
Tags:
$is_writeable = false
[line 226]
Determines whether or not this file is writeable by the current script.
Tags:
$last_modified = ""
[line 166]
The date and time the file was last modified, in a formatted string.
Tags:
$name = ""
[line 110]
The file's name.
Tags:
$owner = ''
[line 217]
The owner name of the file. Not available if PHP is running in safe_mode.
Tags:
$path = ""
[line 118]
The web path to the file, beginning from the document root.
Tags:
$perms =
[line 190]
The octal permissions of the file.
Tags:
$size = ""
[line 150]
The size of the file in a formatted string.
Tags:
$type = "ascii"
[line 102]
Type can be either 'ascii', 'binary', or 'folder'. Sitellite treats files differently depending on their type.
Tags:
$uid =
[line 182]
The user id of the file.
Tags:
Class Methods
|
|