Skip to content

Routable::__construct

Mo McRoberts edited this page Aug 7, 2011 · 2 revisions

Initialise a [[Routable]] instance.

Synopsis

public function [[Routable]]::__construct()

Description

Constructs an instance of Routable. If the protected property Routable::$modelClass has been set, then the class named by that property’s [[getInstanceModel::getInstance]]() method will be invoked and its return value will be set as the protected property Routable::$model. If Routable::$modelArgs is set, it will be passed as the first parameter in the call to [[getInstanceModel::getInstance]]().

Clone this wiki locally