PublicFolderGeneratorHelper
Admin Component Public Folder Generator Helper
| since |
5.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
createFile
Writes the content to a given file
createFile( path, content) :
| since |
5.0.0 |
|---|
Arguments
- path
stringThe destination path- content
stringThe contents of the file
Response
void
createPublicFolder
Creates a public folder
createPublicFolder( destinationPath) :
| throws |
|
|---|---|
| since |
5.0.0 |
Arguments
- destinationPath
stringThe full path for the public folder
Response
void
createSymlink
Creates a symlink
createSymlink( source, dest, base) :
| since |
5.0.0 |
|---|
Arguments
- source
stringThe source path- dest
stringThe destination path- base
stringThe base path if relative
Response
void
Properties
filesSymLink
Files and folders to be symlinked
Type(s)
array<string|int, mixed>
definesTemplate
The template for the defines.php file
Type(s)
string
indexTemplate
The template for the index.php file
Type(s)
string