The Yaf_Bootstrap_Abstract class
Yaf_Bootstrap_Abstract
&reftitle.intro;
Bootstrap is a mechanism used to do some initial config before a
Application run.
User may define their own Bootstrap class by inheriting
Yaf_Bootstrap_Abstract
Any method declared in Bootstrap class with leading "_init", will be
called by Yaf_Application::bootstrap one by one
according to their defined order.
&reftitle.examples;
Bootstrap example
array(
"directory" => dirname(__FILE__) . "/application/",
),
);
$app = new Yaf_Application($config);
$app->bootstrap();
?>
]]>
&example.outputs.similar;
&reftitle.classsynopsis;
Yaf_Bootstrap_Abstract
abstract
Yaf_Bootstrap_Abstract
&Properties;
&Methods;