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 12.
Create a new model instance.
$model = Model::factory($name);
string
$name
required - Model name Model
public static function factory($name)
{
// Add the model prefix
$class = 'Model_' . $name;
return new $class;
}