Source for file ListItem.php
Documentation is available at ListItem.php
* An item returned from a folder list.
* $Horde: framework/VFS/lib/VFS/ListItem.php,v 1.1.2.1 2007/12/20 13:50:21 jan Exp $
* Copyright 2002-2007 Jon Wood <jon@jellybob.co.uk>
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
* @author Jon Wood <jon@jellybob.co.uk>
* File permissions (*nix format: drwxrwxrwx)
* **none -- Unrecognized type
* Type of target if type is '**sym'.
* NB. Not all backends are capable of distinguishing all of these.
* **none -- Unrecognized type
* **sym -- Symlink to a symlink
* **broken -- Target not found - broken link
* Requires the path to the file, and it's array of properties,
* returned from a standard VFS::listFolder() call.
* @param string $path The path to the file.
* @param array $fileArray An array of file properties.
$this->_path = $path . '/' . $fileArray['name'];
$this->_name = $fileArray['name'];
$this->_perms = $fileArray['perms'];
$this->_owner = $fileArray['owner'];
$this->_group = $fileArray['group'];
$this->_size = $fileArray['size'];
$this->_date = $fileArray['date'];
$this->_type = $fileArray['type'];
$this->_linktype = $fileArray['linktype'];
Documentation generated on Mon, 11 Mar 2019 15:34:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|