Config class for CoughGenerator.
It abstracts the implementation of configuration specification, as well as makes it easy for the CoughGenerator to perform different actions based on the user's configuration.
Located in /cough_generator/CoughGeneratorConfig.class.php (line 13)
CoughConfig | --CoughGeneratorConfig
Converts an id field into an object name (in most cases this simply involves stripping off an "_id" suffix).
Example input -> output might be "billing_addres_id" -> "billing_address"
getCamelCase takes the given string and returns it in camelCase format, with underscores removed.
Example input: db_column_name Example output: dbColumnName
See: http://en.wikipedia.org/wiki/CamelCase
Given a table object, it gets the "entity name", currently just strips any prefixes specified in the config from the table name, otherwise just returns the table name.
e.g. "cust_address" will get entity name "address" if strip_table_name_prefixes has 'cust_' in it.
Returns an array of regexes to match against in order to determine if a field should be considered an ID field, in order of precedence.
getTitleCase() takes the given string and returns it in TitleCase format (sometimes called UpperCamelCase), with underscores removed.
Example input: db_column_name Example output: DbColumnName
Inherited From CoughConfig
CoughConfig::__construct()
CoughConfig::getArrayValueFromMultiKey()
CoughConfig::getConfigValue()
CoughConfig::initConfig()
CoughConfig::mergeIntoConfig()
Inherited from CoughConfig
CoughConfig::SCOPE_DATABASE
CoughConfig::SCOPE_GLOBAL
CoughConfig::SCOPE_TABLE
Documentation generated on Wed, 12 Nov 2008 21:56:16 -0600 by phpDocumentor 1.4.0