Hi Julian, You want to overwrite the store method, that's it? You can have a look at Koha::VirtualShelf->store for an example.
Jonathan 2016-02-15 14:20 GMT+00:00 Julian Maurice <julian.maur...@biblibre.com>: > Hi there, > > I'm currently working on some enhancements for authorised values (to > make it possible to have a hierarchy of values), so I'm using > Koha::AuthorisedValue which is a subclass of Koha::Object. > > I would like to add some sort of validation mechanism just before saving > the object into database. > Is there already someone who started to work (or started to think) on > something like that ? > Jonathan, maybe ? > > -- > Julian Maurice <julian.maur...@biblibre.com> > BibLibre > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/