Skip to content

Model Hooks/Events Suggestion #557

Closed
@daylightstudio

Description

@daylightstudio

It appears that there is only one place to really hook into the saving process (onSave) when using a Model. Has there been any discussion about more hooks/events perhaps something like the following:

  • onBeforeValidate
  • onBeforeSave
  • onBeforeInsert
  • onInsert (or onAfterInsert)
  • onBeforeUpdate
  • onUpdate (or onAfterUpdate)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions