Base class for the framework

package miniMVC
subpackage System

 Methods

PHP magic method to facilitate dynamic methods

__call(string $name, array $args) 

Parameters

$name

string

$args

array

Magic function called when cloning an object

__clone() 

Constructor - Any classes loaded here become subclasses of miniMVC

__construct(array $members) 

Parameters

$members

array

PHP magic method that is called when an object is treated as a function

__invoke() 

append()

append() 

inherited_from ArrayObject::append()

asort()

asort() 

inherited_from ArrayObject::asort()

count()

count() 

inherited_from ArrayObject::count()

exchangeArray()

exchangeArray() 

inherited_from ArrayObject::exchangeArray()

getArrayCopy()

getArrayCopy() 

inherited_from ArrayObject::getArrayCopy()

getFlags()

getFlags() 

inherited_from ArrayObject::getFlags()

getIterator()

getIterator() 

inherited_from ArrayObject::getIterator()

getIteratorClass()

getIteratorClass() 

inherited_from ArrayObject::getIteratorClass()

Singleton getter function

get_instance() : \miniMVC

Returns

\miniMVCobject

ksort()

ksort() 

inherited_from ArrayObject::ksort()

Method to load classes into the singleton

load_class(string $name, string $type) : void

Parameters

$name

string

$type

string

Convenience function to load config files

load_config(string $name) 

Parameters

$name

string

natcasesort()

natcasesort() 

inherited_from ArrayObject::natcasesort()

natsort()

natsort() 

inherited_from ArrayObject::natsort()

offsetExists()

offsetExists() 

inherited_from ArrayObject::offsetExists()

offsetGet()

offsetGet() 

inherited_from ArrayObject::offsetGet()

offsetSet()

offsetSet() 

inherited_from ArrayObject::offsetSet()

offsetUnset()

offsetUnset() 

inherited_from ArrayObject::offsetUnset()

serialize()

serialize() 

inherited_from ArrayObject::serialize()

setFlags()

setFlags() 

inherited_from ArrayObject::setFlags()

setIteratorClass()

setIteratorClass() 

inherited_from ArrayObject::setIteratorClass()

uasort()

uasort() 

inherited_from ArrayObject::uasort()

uksort()

uksort() 

inherited_from ArrayObject::uksort()

Convenience function to remove an object from the singleton

unload(string $name) 

Parameters

$name

string

unserialize()

unserialize() 

inherited_from ArrayObject::unserialize()

 Properties

 

Singleton object

$instance : \miniMVC