Special note if you are using a custom buildQuery with JOINs or field aliases:
You will need to override the recordDataToDatabaseData method. Make sure that you _remove_ or rename any fields
which do not exist in the table defined in $this->tableName. Otherwise Joomla! will not know how to insert /
update the data on the table and will throw an Exception denoting a database error. It is generally a BAD idea
using JOINs instead of relations. If unsure, use relations.
public save ( null | array $data = null, string $orderingFilter = '', array $ignore = null, $resetRelations = true ) : |
||
$data | null | array | [Optional] Data to bind |
$orderingFilter | string | A WHERE clause used to apply table item reordering |
$ignore | array | A list of fields to ignore when binding $data |
Результат | Self, for chaining |