This class is a transparent base class for Model and should not be accessed directly.
Model base class. All models should extend this class.
Class declared in SYSPATH/classes/Kohana/Model.php on line 11.
Create a new model instance.
$model = Model::factory($name);
string
$name
required - Model nameModel
public static function factory($name)
{
// Add the model prefix
$class = 'Model_'.$name;
return new $class;
}