Mapper
Class Mapper
Description #
Source #
File: includes/licensing/framework/class-abstract-mapper.php
Methods #
- __construct — Mapper constructor.
- delete
- find_by_id — Find a record by ID.
- get_error — Return the DB error happen when executing sql.
- get_table_name — Get the table name from class mapper;
- install — Sql setup script should be here.
- instance — Get an instance of this class.
- populate — Populate the database data into the domain class.
- save — Store a model into database