PHP Class Prado\Wsat\TWsatARGenerator

Inheritance: extends TWsatBaseGenerator
ファイルを表示 Open project: pradosoft/prado Class Usage Examples

Public Methods

Method Description
__construct ( )
buildRelations ( )
generate ( $tableName )
generateAll ( )
setClasPrefix ( $_clas_prefix )
setClassSufix ( $_clas_sufix )

Protected Methods

Method Description
generateClass ( $properties, $tablename, $classname, $toString )
generateProperty ( $field, $metadata ) -----------------------------------------------------------------------------

Private Methods

Method Description
_buildSmartToString ( $tableInfo )
_commonGenerate ( $tableName, $tableInfo )
_getProperClassName ( $tableName )
_renderRelations ( $tablename )

Method Details

__construct() public method

public __construct ( )

buildRelations() public method

public buildRelations ( )

generate() public method

public generate ( $tableName )

generateAll() public method

public generateAll ( )

generateClass() protected method

protected generateClass ( $properties, $tablename, $classname, $toString )

generateProperty() protected method

-----------------------------------------------------------------------------
protected generateProperty ( $field, $metadata )

setClasPrefix() public method

public setClasPrefix ( $_clas_prefix )

setClassSufix() public method

public setClassSufix ( $_clas_sufix )