This class is a transparent base class for Kodoc_Missing and should not be accessed directly.
Set Kodoc_Missing::create_class as an autoloading to prevent missing classes from crashing the api browser. Classes that are missing a parent will extend this class, and get a warning in the API browser.
Class declared in MODPATH/userguide/classes/Kohana/Kodoc/Missing.php on line 15.
Creates classes when they are otherwise not found.
Kodoc::create_class('ThisClassDoesNotExist');
All classes created will extend Kodoc_Missing.
string
$class
required - Class name boolean
public static function create_class($class)
{
if (!class_exists($class)) {
// Create a new missing class
eval("class {$class} extends Kodoc_Missing {}");
}
return true;
}