Class RSDEngineDBApplicationInitFile

Description

Generates the init file.

The init file performs the initialization of the generated application.

Located in /code/framework/RSDEngine/RSDEngineDBApplicationInitFile.php (line 41)

RSDEngineFile
   |
   --RSDEngineDBApplicationInitFile
Variable Summary
Method Summary
String getCode ()
String getFilename ()
Variables
boolean $overwriteExisting = false (line 46)

Whether to overwrite an existing file.


Redefinition of:
RSDEngineFile::$overwriteExisting
Whether to overwrite an existing file.

Inherited Variables

Inherited from RSDEngineFile

RSDEngineFile::$code
RSDEngineFile::$config
RSDEngineFile::$dir
RSDEngineFile::$filename
RSDEngineFile::$preventWriting
RSDEngineFile::$relatedClasses
RSDEngineFile::$relatedFiles
RSDEngineFile::$relatedFunctions
Methods
getCode (line 68)

Returns the code for the configuratin file of the application (for a database backended application).

Note that this method requires $this->config to be correctly filled with all configuration options of the RSDEngine.

String getCode ()

Redefinition of:
RSDEngineFile::getCode()
Returns the code for this file.
getFilename (line 55)

Returns the name of the initialization file of the application class.

In fact strtolower($this->config['projectName']). "Init.php" is returned.

String getFilename ()

Redefinition of:
RSDEngineFile::getFilename()
Returns the filename.

Inherited Methods

Inherited From RSDEngineFile

RSDEngineFile::RSDEngineFile()
RSDEngineFile::getCode()
RSDEngineFile::getFilename()
RSDEngineFile::setOutputDirectory()
RSDEngineFile::setRelatedClasses()
RSDEngineFile::setRelatedFiles()
RSDEngineFile::setRelatedFunctions()
RSDEngineFile::setWrite()
RSDEngineFile::writeToDirectory()

Documentation generated on Mon, 8 Dec 2003 13:11:05 +0100 by phpDocumentor 1.2.3