close
Phork Manual Table of Contents
Phork Framework User Guide 1.3.4

CoreModel

Filepath: phork/php/core/CoreModel.class.php
Version: 1.3 and higher

The CoreModel class is an abstract class that most models should extend. It sets up the iterator object, includes the record class, and contains all the function to set up the helpers.

Currently the only built in extension is the CoreDatabaseModel class. As the name suggests this works with data stored in a database. Another type of extension could be an XML model or a model to get data from an API.