API17

JPath

From Joomla! Documentation

Revision as of 16:59, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎User contributed notes: moving preparation)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JPath[edit]

Description[edit]

Template:Description:JPath [Edit Descripton]

Methods[edit]

Visibility Method name Description
public static canChmod Checks if a path's permissions can be changed.
public static check Checks for snooping outside of the file system root.
public static clean Function to strip additional / or \ in a path name.
public static find Searches the directory paths for a given file.
public static getPermissions Get the permissions of the file/folder at a give path.
public static isOwner Method to determine if script owns the path.
public static setPermissions Chmods files and directories recursivly to given permissions.
  • Defined in libraries/joomla/filesystem/path.php

Importing[edit]

jimport( 'joomla.filesystem.path' );

See also[edit]

Template:SeeAlso:JPath [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />