Interface \Prado\Data\ActiveRecord\Scaffold\IScaffoldEditRenderer
IScaffoldEditRenderer interface.
Namespace: \Prado\Data\ActiveRecord\ScaffoldIScaffoldEditRenderer defines the interface that an edit renderer needs to implement. Besides the \Prado\Data\ActiveRecord\Scaffold\getData property, an edit renderer also needs to provide \Prado\Data\ActiveRecord\Scaffold\updateRecord method that is called before the save() method is called on the TActiveRecord.
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
public
|
updateRecord(TActiveRecord $record) : mixed
This method should update the record with the user input data.
|
getData, setData |