Jet\DataModel_IDController_AutoIncrement

The class of classic ID controller that uses a sequence generated by the database.

Deduces from Jet\DataModel_IDController.

The controller has an option id_property_name that specifies what property represents the element of the identification to which the sequence is to be passed. The default value is: 'id'.

Overview of methods

Method Meaning of
public beforeSave(
) : void
The method does nothing.
public afterSave(
mixed $backend_save_result
) : void
The method captures the return value from the operation performed by the database after saving the record.
Previous chapter
Jet\DataModel_IDController
Next chapter
Jet\DataModel_IDController_UniqueString