class PropelGraphvizTask extends AbstractPropelDataModelTask
A task to generate Graphviz dot files from Propel datamodel.
Methods
List |
getDataModels()
Return the data models that have been processed. |
from AbstractPropelDataModelTask |
Hashtable |
getDataModelDbMap()
Return the data model to database name map. |
from AbstractPropelDataModelTask |
addSchemaFileset(Fileset $set)
Adds a set of xml schema files (nested fileset attribute). |
from AbstractPropelDataModelTask | |
String |
getTargetDatabase()
Get the current target database. |
from AbstractPropelDataModelTask |
setTargetDatabase($v $v)
Set the current target database. |
from AbstractPropelDataModelTask | |
string |
getTargetPackage()
Get the current target package. |
from AbstractPropelDataModelTask |
setTargetPackage(string $v)
Set the current target package. |
from AbstractPropelDataModelTask | |
setPackageObjectModel(boolean $v)
Set the packageObjectModel switch on/off |
from AbstractPropelDataModelTask | |
setValidate(boolean $v)
Set whether to perform validation on the datamodel schema.xml file(s). |
from AbstractPropelDataModelTask | |
setXsd(PhingFile $v)
Set the XSD schema to use for validation of any datamodel schema.xml file(s). |
from AbstractPropelDataModelTask | |
setXsl(PhingFile $v)
Set the normalization XSLT to use to transform datamodel schema.xml file(s) before validation and parsing. |
from AbstractPropelDataModelTask | |
void |
setOutputDirectory(PhingFile $out)
Set the sqldbmap. |
|
setDbEncoding($v $v)
Set the current target database encoding. |
from AbstractPropelDataModelTask | |
setUrl(string $url)
Set the DB connection url. |
from AbstractPropelDataModelTask | |
setUserid(string $userId)
Set the user name for the DB connection. |
from AbstractPropelDataModelTask | |
setPassword(string $password)
Set the password for the DB connection. |
from AbstractPropelDataModelTask | |
string |
getOutputDirectory()
Get the output directory. |
from AbstractPropelDataModelTask |
Mapper |
createMapper()
Nested creator, creates one Mapper for this task. |
from AbstractPropelDataModelTask |
PDO |
getConnection()
Gets the PDO connection, if URL specified. |
from AbstractPropelDataModelTask |
setSqlDbMap(PhingFile $sqldbmap)
Set the sqldbmap. |
||
PhingFile |
getSqlDbMap()
Get the sqldbmap. |
|
setDatabase(string $database)
Set the database name. |
||
string |
getDatabase()
Get the database name. |
|
main()
|
||
writeDot($dotSyntax, PhingFile $outputDir, $baseFilename)
probably insecure |
Details
in AbstractPropelDataModelTask at line 158
public List
getDataModels()
Return the data models that have been processed.
in AbstractPropelDataModelTask at line 172
public Hashtable
getDataModelDbMap()
Return the data model to database name map.
in AbstractPropelDataModelTask at line 186
public
addSchemaFileset(Fileset $set)
Adds a set of xml schema files (nested fileset attribute).
in AbstractPropelDataModelTask at line 196
public String
getTargetDatabase()
Get the current target database.
in AbstractPropelDataModelTask at line 206
public
setTargetDatabase($v $v)
Set the current target database.
(e.g. mysql, oracle, ..)
in AbstractPropelDataModelTask at line 216
public string
getTargetPackage()
Get the current target package.
in AbstractPropelDataModelTask at line 227
public
setTargetPackage(string $v)
Set the current target package.
This is where generated PHP classes will live.
in AbstractPropelDataModelTask at line 237
public
setPackageObjectModel(boolean $v)
Set the packageObjectModel switch on/off
in AbstractPropelDataModelTask at line 247
public
setValidate(boolean $v)
Set whether to perform validation on the datamodel schema.xml file(s).
in AbstractPropelDataModelTask at line 257
public
setXsd(PhingFile $v)
Set the XSD schema to use for validation of any datamodel schema.xml file(s).
in AbstractPropelDataModelTask at line 267
public
setXsl(PhingFile $v)
Set the normalization XSLT to use to transform datamodel schema.xml file(s) before validation and parsing.
at line 48
public void
setOutputDirectory(PhingFile $out)
Set the sqldbmap.
in AbstractPropelDataModelTask at line 301
public
setDbEncoding($v $v)
Set the current target database encoding.
in AbstractPropelDataModelTask at line 311
public
setUrl(string $url)
Set the DB connection url.
in AbstractPropelDataModelTask at line 321
public
setUserid(string $userId)
Set the user name for the DB connection.
in AbstractPropelDataModelTask at line 331
public
setPassword(string $password)
Set the password for the DB connection.
in AbstractPropelDataModelTask at line 341
public string
getOutputDirectory()
Get the output directory.
in AbstractPropelDataModelTask at line 352
public Mapper
createMapper()
Nested creator, creates one Mapper for this task.
in AbstractPropelDataModelTask at line 394
public PDO
getConnection()
Gets the PDO connection, if URL specified.
at line 61
public
setSqlDbMap(PhingFile $sqldbmap)
Set the sqldbmap.
at line 71
public PhingFile
getSqlDbMap()
Get the sqldbmap.
at line 81
public
setDatabase(string $database)
Set the database name.
at line 91
public string
getDatabase()
Get the database name.
at line 96
public
main()
at line 109
public
writeDot($dotSyntax, PhingFile $outputDir, $baseFilename)
probably insecure