PHP Class Ouzo\Tools\Model\Template\ClassStub

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $shortArrays = false )
addColumn ( DatabaseColumn $databaseColumn )
addPlaceholderReplacement ( $placeholder, $replacement )
addTablePrimaryKey ( $primaryKey )
addTableSetupItem ( $name, $value )
contents ( )
getFieldsAsString ( )
getPropertiesAsString ( )
replacePlaceholders ( $replacement )

Private Methods

Méthode Description
_getPlaceholderReplacements ( )
_getStubFilePath ( )

Method Details

__construct() public méthode

public __construct ( $shortArrays = false )

addColumn() public méthode

public addColumn ( DatabaseColumn $databaseColumn )
$databaseColumn DatabaseColumn

addPlaceholderReplacement() public méthode

public addPlaceholderReplacement ( $placeholder, $replacement )

addTablePrimaryKey() public méthode

public addTablePrimaryKey ( $primaryKey )

addTableSetupItem() public méthode

public addTableSetupItem ( $name, $value )

contents() public méthode

public contents ( )

getFieldsAsString() public méthode

public getFieldsAsString ( )

getPropertiesAsString() public méthode

replacePlaceholders() public méthode

public replacePlaceholders ( $replacement )