Base Controller Class

package miniMVC
subpackage System

 Methods

Allow calling of array methods on the object and dynamic methods

__call(string $name, array $params) : mixed
Inherited

inherited_from \miniMVC\MM::__call()
inherited_from \miniMVC\miniMVC::__call()

Parameters

$name

string

$params

array

Returns

mixed

Create the controller object

__construct() : void

append()

append() 
Inherited

inherited_from ArrayObject::append()
inherited_from \miniMVC\MM::append()
inherited_from \miniMVC\miniMVC::append()

asort()

asort() 
Inherited

inherited_from ArrayObject::asort()
inherited_from \miniMVC\MM::asort()
inherited_from \miniMVC\miniMVC::asort()

count()

count() 
Inherited

inherited_from ArrayObject::count()
inherited_from \miniMVC\MM::count()
inherited_from \miniMVC\miniMVC::count()

exchangeArray()

exchangeArray() 
Inherited

inherited_from ArrayObject::exchangeArray()
inherited_from \miniMVC\MM::exchangeArray()
inherited_from \miniMVC\miniMVC::exchangeArray()

getArrayCopy()

getArrayCopy() 
Inherited

inherited_from ArrayObject::getArrayCopy()
inherited_from \miniMVC\MM::getArrayCopy()
inherited_from \miniMVC\miniMVC::getArrayCopy()

getFlags()

getFlags() 
Inherited

inherited_from ArrayObject::getFlags()
inherited_from \miniMVC\MM::getFlags()
inherited_from \miniMVC\miniMVC::getFlags()

getIterator()

getIterator() 
Inherited

inherited_from ArrayObject::getIterator()
inherited_from \miniMVC\MM::getIterator()
inherited_from \miniMVC\miniMVC::getIterator()

getIteratorClass()

getIteratorClass() 
Inherited

inherited_from ArrayObject::getIteratorClass()
inherited_from \miniMVC\MM::getIteratorClass()
inherited_from \miniMVC\miniMVC::getIteratorClass()

ksort()

ksort() 
Inherited

inherited_from ArrayObject::ksort()
inherited_from \miniMVC\MM::ksort()
inherited_from \miniMVC\miniMVC::ksort()

Convenience function to load config files

load_config(string $name) 
Inherited

inherited_from \miniMVC\miniMVC::load_config()

Parameters

$name

string

Function for loading a model into the current class

load_model(string $file, array $args) : void

Parameters

$file

string

$args

array

Function for loading a view

load_view(string $file, array $data, bool $return) : mixed

Parameters

$file

string

$data

array

$return

bool

Returns

mixed

natcasesort()

natcasesort() 
Inherited

inherited_from ArrayObject::natcasesort()
inherited_from \miniMVC\MM::natcasesort()
inherited_from \miniMVC\miniMVC::natcasesort()

natsort()

natsort() 
Inherited

inherited_from ArrayObject::natsort()
inherited_from \miniMVC\MM::natsort()
inherited_from \miniMVC\miniMVC::natsort()

offsetExists()

offsetExists() 
Inherited

inherited_from ArrayObject::offsetExists()
inherited_from \miniMVC\MM::offsetExists()
inherited_from \miniMVC\miniMVC::offsetExists()

offsetGet()

offsetGet() 
Inherited

inherited_from ArrayObject::offsetGet()
inherited_from \miniMVC\MM::offsetGet()
inherited_from \miniMVC\miniMVC::offsetGet()

offsetSet()

offsetSet() 
Inherited

inherited_from ArrayObject::offsetSet()
inherited_from \miniMVC\MM::offsetSet()
inherited_from \miniMVC\miniMVC::offsetSet()

offsetUnset()

offsetUnset() 
Inherited

inherited_from ArrayObject::offsetUnset()
inherited_from \miniMVC\MM::offsetUnset()
inherited_from \miniMVC\miniMVC::offsetUnset()

serialize()

serialize() 
Inherited

inherited_from ArrayObject::serialize()
inherited_from \miniMVC\MM::serialize()
inherited_from \miniMVC\miniMVC::serialize()

setFlags()

setFlags() 
Inherited

inherited_from ArrayObject::setFlags()
inherited_from \miniMVC\MM::setFlags()
inherited_from \miniMVC\miniMVC::setFlags()

setIteratorClass()

setIteratorClass() 
Inherited

inherited_from ArrayObject::setIteratorClass()
inherited_from \miniMVC\MM::setIteratorClass()
inherited_from \miniMVC\miniMVC::setIteratorClass()

uasort()

uasort() 
Inherited

inherited_from ArrayObject::uasort()
inherited_from \miniMVC\MM::uasort()
inherited_from \miniMVC\miniMVC::uasort()

uksort()

uksort() 
Inherited

inherited_from ArrayObject::uksort()
inherited_from \miniMVC\MM::uksort()
inherited_from \miniMVC\miniMVC::uksort()

Convenience function to remove an object from the singleton

unload(string $name) 
Inherited

inherited_from \miniMVC\miniMVC::unload()

Parameters

$name

string

unserialize()

unserialize() 
Inherited

inherited_from ArrayObject::unserialize()
inherited_from \miniMVC\MM::unserialize()
inherited_from \miniMVC\miniMVC::unserialize()

 Properties

 

Instance of Page class

$page : \miniMVC\Page