|
Yaf_Application::bootstrapCall bootstrap Description
public void Yaf_Application::bootstrap
([ Yaf_Bootstrap_Abstract
$bootstrap
] )Run a Bootstrap, all the methods defined in the Bootstrap and named with prefix "_init" will be called according to their declaration order, if the parameter bootstrap is not supplied, Yaf will look for a Bootstrap under application.directory. Parameters
Return ValuesYaf_Application instance ExamplesExample #1 A Bootstrapexample
<?php Example #2 Yaf_Application::bootstrapexample
<?php The above example will output something similar to: 1st called 2nd called See Also
|