Support Joomla!

references:joomla.framework:filesystem:jpath-getpermissions

Table of Contents

getPermissions

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage FileSystem Class JPath Method getPermissions Reference getPermissions() Never Work in Progress

Get the permissions of the file or folder on a given path.

Syntax

string getPermissions ( $path )

$path string is a string containing the path of a file or folder.

Examples

Example

jimport( 'joomla.filesystem.path' );

echo "File permissions: " . JPath::getPermissions( JPATH_ROOT . '/robots.txt' );

might produce:

Result

File permissions: rw-rw-rw-

Discussion

Full name:
E-Mail:
 
references/joomla.framework/filesystem/jpath-getpermissions.txt (764 views) · Last modified: 2007/08/15 15:05