Class RSDEngineSmartyBaseClass

Description

Generates a class extending the class Smarty.

Located in /code/framework/RSDEngine/RSDEngineSmartyBaseClass.php (line 39)

RSDEngineClass
   |
   --RSDEngineSmartyBaseClass
Variable Summary
Method Summary
String getClassName ()
String getCode ()
String getInstanceName ()
Variables
boolean $overwriteExisting = true (line 44)

Whether to overwrite an existing file. The default for this class is to do so!


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

Inherited Variables

Inherited from RSDEngineClass

RSDEngineClass::$className
RSDEngineClass::$code
RSDEngineClass::$config
RSDEngineClass::$instanceName
RSDEngineClass::$preventWriting
Methods
getClassName (line 53)

Returns the class name.

In fact ucfirst($this->config['projectName']) . 'SmartyBase' is returned.

String getClassName ()

Redefinition of:
RSDEngineClass::getClassName()
Returns the class name.
getCode (line 80)

Returns the code for this class.

The generated class will be extending Smarty. Note that this method requires $this->config to be correctly filled with all configuration options of the RSDEngine.

String getCode ()

Redefinition of:
RSDEngineClass::getCode()
Returns the code for this class.
getInstanceName (line 65)

Returns the name for an instance created from this class.

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

String getInstanceName ()

Redefinition of:
RSDEngineClass::getInstanceName()
Returns the instance name.

Inherited Methods

Inherited From RSDEngineClass

RSDEngineClass::RSDEngineClass()
RSDEngineClass::getClassName()
RSDEngineClass::getCode()
RSDEngineClass::getInstanceName()
RSDEngineClass::setWrite()
RSDEngineClass::toRSDFile()

Documentation generated on Mon, 8 Dec 2003 13:12:49 +0100 by phpDocumentor 1.2.3