See also non-internal backwards compatibility breaks
Public methods flagged with the PHPDoc tag `@internal` and all protected methods and attributes are considered internal to Flourish and are subject to change even in minor revisions or during the beta. Below is a list of changes that affect internal code.
Normally this list will only be applicable if you write ORM plugins or mess around with the ORM internals.
Changed fORM::parseMethod() to not underscorize the subject of the method.
Changed the structure of the array returned from fSQLTranslation::translate() to include a number plus `:` before the original SQL in the array keys.
Removed:
- `fORMDatabase::addTableToKeys()` - `fORMDatabase::addTableToValues()` - `fORMDatabase::escapeBySchema()` - `fORMDatabase::escapeByType()`
Rewrote:
- `fORMDatabase::createHavingClause()` to fORMDatabase::addHavingClause() - `fORMDatabase::createOrderByClause()` to fORMDatabase::addOrderByClause() - `fORMDatabase::insertFromAndGroupByClauses()` to fORMDatabase::injectFromAndGroupByClauses()
Added the `$schema` parameter to the beginning of:
- fORMSchema::getRoute() - fORMSchema::getRouteName() - fORMSchema::getRoutes() - fORMSchema::isOneToOne()
Added the `$class` parameter to the beginning of fORMRelated::storeManyToMany()
fORMRelated::createRecord() now has an extra parameter in the middle, `$related_records`. `fORMRelated::storeOneToMany()` was renamed to fORMRelated::storeOneToStar().
Changed fActiveRecord::hash() from a protected method to a static public/internal method that requires the class name for non-fActiveRecord values
The method signatures for fORMRelated::validate() and fORMValidation::validateRelated() changed
The following methods no longer accept an object instance, just a class name:
- fORM::checkHookCallback() - fORM::getActiveRecordMethod() - fORM::getColumnName() - fORM::getRecordName() - fORM::replicate() - fORM::tablize()
- fORMRelated::associateRecords() - fORMRelated::buildRecords() - fORMRelated::countRecords() - fORMRelated::createRecord() - fORMRelated::determineRequestFilter() - fORMRelated::flagForAssociation() - fORMRelated::getOrderBys() - fORMRelated::getPrimaryKeys() - fORMRelated::getRelatedRecordName() - fORMRelated::linkRecords() - fORMRelated::overrideRelatedRecordName() - fORMRelated::populateRecords() - fORMRelated::reflect() - fORMRelated::setCount() - fORMRelated::setPrimaryKeys() - fORMRelated::setRecordSet() - fORMRelated::store() - fORMRelated::validate()
- fORMValidation::reorderMessages() - fORMValidation::validateRelated()
Renamed `fORMRelated::setRecords()` to fORMRelated::setRecordSet() and `fORMRelated::tallyRecords()` to fORMRelated::setCount()