MDL-61667 analytics: Add method to actually create a declared model
commit6187213f39598a526d3813382963ebde86338aac
authorDavid Mudrák <david@moodle.com>
Mon, 11 Mar 2019 13:11:17 +0000 (11 14:11 +0100)
committerDavid Mudrák <david@moodle.com>
Mon, 1 Apr 2019 12:23:06 +0000 (1 14:23 +0200)
tree8efe6567155ae6f24bd825b74755bd8aa8e20ba3
parentf05840451ea8083432c4279ad92fc296bafe36bd
MDL-61667 analytics: Add method to actually create a declared model

This is simply a wrapper around the model's create() method that works
with the model declaration syntax from the db/analytics.php file.
analytics/classes/manager.php
analytics/tests/manager_test.php