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

Exception

since

5.0.0

Arguments

destinationPath

stringThe full path for the public folder

Response

void

Properties

definesTemplate

The template for the defines.php file

Type(s)

string

indexTemplate

The template for the index.php file

Type(s)

string