Object constructor to set table and key fields. In most cases this will
be overridden by child classes to explicitly set the table and key fields
for a particular database table.
Parameters
string$table Name of the table to model.
mixed$key Name of the primary key field in the table or array of field names that compose the primary key.
Method to reset class properties to the defaults set in the class
definition. It will ignore the primary key as well as any private class
properties (except $_errors).
Method to bind an associative array or object to the Table instance.This
method only binds properties that are publicly accessible and optionally
takes an array of properties to ignore when binding.
Parameters
array|object $src An associative array or object to bind to the Table instance.
array|string$ignore An optional array or space separated list of properties to ignore while binding.
Method to return the real name of a "special" column such as ordering, hits, published
etc etc. In this way you are free to follow your db naming convention and use the
built in \Joomla functions.
Parameters
string$column Name of the "special" column (ie ordering, hits)