Articles Posted in the " yII Behaviour " Category

  • Timestamp Behavior In Yii

    Timestamp Behavior In Yii

    Normally we will add some fields in every table of application database. Ex createdby, createdon, modifiedby, modifiedon, lasteditedby, lasteditedon etc So we have to configure model for this action. Normally we will add beforeSave() […]