Liste de tous les membres
Documentation des fonctions membres
static JPath::canChmod |
( |
|
$path | ) |
|
|
static |
Function to strip additional / or \ in a path name.
- Paramètres:
-
string | $path | The path to clean. |
string | $ds | Directory separator (optional). |
- Renvoie:
- string The cleaned path.
- Depuis:
- 11.1
- Exceptions:
-
Références $path, elseif, et JPATH_ROOT.
Référencé par JInstallationModelFilesystem\_chmod(), JInstallationModelConfiguration\_createConfiguration(), JArchiveZip\_extract(), JElementModuleLayouts\_getOptions(), JElementComponentLayouts\_getOptions(), InstallerModelInstall\_getPackageFromFolder(), JModel\addIncludePath(), JCacheController\addIncludePath(), JCacheStorage\addIncludePath(), JCache\addIncludePath(), JHtml\addIncludePath(), CategoriesHelper\addSubmenu(), check(), AdmintoolsHelperDownload\chmod(), JInstallerHelper\cleanupInstall(), JFolder\copy(), JFile\copy(), TemplatesModelTemplate\copy(), JInstaller\copyFiles(), MediaControllerFolder\create(), JFolder\create(), JoomlaupdateModelDefault\createRestorationFile(), MediaControllerFolder\delete(), JFile\delete(), MediaControllerFile\delete(), JFolder\delete(), JInstallerComponent\discover_install(), JFolder\exists(), JFile\exists(), JArchive\extract(), JArchiveTar\extract(), JFolder\files(), JoomlaupdateModelDefault\finaliseUpgrade(), JFolder\folders(), TemplatesModelTemplate\getFiles(), LanguagesModelOverride\getForm(), JFormFieldModuleLayout\getInput(), JFormFieldComponentLayout\getInput(), PluginsModelPlugin\getItem(), TemplatesModelStyle\getItem(), ModulesModelModule\getItem(), ModulesModelPositions\getItems(), ModulesModelSelect\getItems(), MediaModelList\getList(), getPermissions(), TemplatesModelSource\getSource(), JInstallerFile\install(), JInstallerComponent\install(), JFolder\listFolderTree(), JFile\move(), JFolder\move(), JInstaller\parseMedia(), PluginsHelper\parseXMLTemplateFile(), TemplatesHelper\parseXMLTemplateFile(), JInstallerFile\populateFilesAndFolderList(), ConfigModelComponent\populateState(), PluginsModelPlugin\preprocessForm(), CategoriesModelCategory\preprocessForm(), TemplatesModelStyle\preprocessForm(), ModulesModelModule\preprocessForm(), MenusModelItem\preprocessForm(), MediaControllerFile\reformatFilesArray(), LanguagesModelStrings\refresh(), JInstallationControllerSetup\removeFolder(), TemplatesModelSource\save(), JInstallationModelFilesystem\setFolderPermissions(), JInstallerFile\uninstall(), JInstallerComponent\uninstall(), JInstallerHelper\unpack(), JInstallerComponent\update(), MediaControllerFile\upload(), JFile\upload(), et JFile\write().
static JPath::find |
( |
|
$paths, |
|
|
|
$file |
|
) |
| |
|
static |
Searches the directory paths for a given file.
- Paramètres:
-
mixed | $paths | An path string or array of path strings to search in |
string | $file | The file name to look for. |
- Renvoie:
- mixed The full path and file name for the target file, or boolean false if the file is not found in any of the paths.
- Depuis:
- 11.1
Références $file, et $path.
Référencé par JHtml\_(), JController\createView(), JCacheController\getInstance(), JCacheStorage\getInstance(), JTable\getInstance(), JModel\getInstance(), FinderViewSearch\getLayoutFile(), JToolBar\loadButtonType(), JFormHelper\loadClass(), JParameter\loadElement(), JForm\loadFile(), JView\loadHelper(), JView\loadTemplate(), et MenusModelItem\preprocessForm().
static JPath::getPermissions |
( |
|
$path | ) |
|
|
static |
Get the permissions of the file/folder at a give path.
- Paramètres:
-
string | $path | The path of a file/folder. |
- Renvoie:
- string Filesystem permissions.
- Depuis:
- 11.1
Références $i, $mode, $path, et clean().
static JPath::isOwner |
( |
|
$path | ) |
|
|
static |
static JPath::setPermissions |
( |
|
$path, |
|
|
|
$filemode = '0644' , |
|
|
|
$foldermode = '0755' |
|
) |
| |
|
static |
Chmods files and directories recursively to given permissions.
- Paramètres:
-
string | $path | Root path to begin changing mode [without trailing slash]. |
string | $filemode | Octal representation of the value to change file mode to [null = no change]. |
string | $foldermode | Octal representation of the value to change folder mode to [null = no change]. |
- Renvoie:
- boolean True if successful [one fail means the whole operation failed].
- Depuis:
- 11.1
Références $file, et $path.
Référencé par TemplatesModelSource\save(), JFile\upload(), et ConfigModelApplication\writeConfigFile().
La documentation de cette classe a été générée à partir du fichier suivant :