AbstractModelObject

Class AbstractModelObject

The abstract AbstractModelObject class is the blueprint for the MVC's main model objects.

Description The AbstractModelObject class is the one that needs to be extended in order to create a LightMVC model object.

package

LightMVC/ASCMVC

Methods

Protected method : this class cannot be copied because it is a Singleton.

__clone() : \Ascmvc\void.
abstract

Response

\Ascmvc\void.

Protected method : this class cannot be instantiated by the new keyword because it is a Singleton.

__construct() : \Ascmvc\void.
abstract

Response

\Ascmvc\void.

Static method : returns the Singleton instance of the model class.

getInstance(string $connType, string $connName, array $params) : mixed
static

Arguments

$connType

string

$connName

string

$params

array

Response

mixed

Properties

Array contains instances of model objects (DBAL or ORM).

modelInstance : array|null
static
var

Type(s)

array|null