Property | Type | Description | |
---|---|---|---|
$parameters |
Method | Description | |
---|---|---|
getI18nTable ( ) : Table | Returns the current table's i18n translation table. | |
modifyDatabase ( ) | Looks for tables marked as I18N and adds behaviors. | |
modifyTable ( ) | ||
objectAttributes ( ) | ||
objectFilter ( &$script ) | The object builder adds a first __toString() method, and this behavior adds a second one in objectMethods(), so the first one must be removed. | |
objectMethods ( ) | ||
queryMethods ( QueryBuilder $builder ) | ||
staticMethods ( ) |
Method | Description | |
---|---|---|
getCultureColumn ( Table $table ) : Column | Finds the supplied translation table's culture column. | |
getForeignColumn ( ) : Column | Returns the column on the translation table the references the current model. | |
getLocalColumn ( ) : Column | Returns the column on the current model referenced by the translation model. | |
hasPrimaryString ( Table $table ) : boolean | Checks whether the supplied table has a primary string defined. |
protected getCultureColumn ( Table $table ) : Column | ||
$table | Table | |
return | Column |
protected getForeignColumn ( ) : Column | ||
return | Column |
public getI18nTable ( ) : Table | ||
return | Table |
protected getLocalColumn ( ) : Column | ||
return | Column |
protected hasPrimaryString ( Table $table ) : boolean | ||
$table | Table | |
return | boolean |
public modifyDatabase ( ) |
public objectFilter ( &$script ) |