-
Dumps schema as array
-
Dumps schema as propel xml
-
Dumps schema as yaml
-
(array) convertNewToOldYaml ($schema)
Browse code
Converts new yaml schema format to old yaml schema
-
(array) convertOldToNewYaml ($schema)
Browse code
Converts old yaml format schema to new yaml schema
-
(array) findTable ($table_name)
Browse code
Find table by name
-
Fixed xml for using short hand syntax
-
-
(void) fixXMLColumns ()
Browse code
Fixes xml columns
-
(void) fixXMLForeignKeys ()
Browse code
Fixes xml foreign keys
-
(void) fixXMLIndexes ()
Browse code
Fixes xml indices
-
Fixes columns in yaml shorthand schema
-
Fixes databases in yaml shorthand schema
-
Fixes i18n tables in yaml shorthand schema
-
(string) getAttributesFor ($tag)
Browse code
Returns attributes for a tag
-
(array) getAttributesForColumn ($tb_name, $col_name, $column)
Browse code
Get attributes for column
-
(array) getAttributesFromCompactType ($type)
Browse code
Returns attributes for compact type
returns The attributes for type
-
(array) getChildren ($hash)
Browse code
Returns the children for a given hash
-
-
(array) getNameAndAttributes ($hash, $name_attribute)
Browse code
Returns name and attributes from given hash
-
Returns the tables for database
-
loadArray ($schema_array)
Browse code
Load schema from array
-
| $file |
The path to the propel xml schema |
Loads propel xml schema
-
Load schema from YAML file
-
-
setIfNotSet ($entry, $key, $value)
Browse code
Sets entry if not set