# See how to use this file

1. <?php
2. /**
3. * View renderer
4. *
5. * @author Mark Nielsen
6. * @version $Id$
7. * @package blocks/helloworld
8. */
10. require_once('../../config.php');
12. // By including mr/bootstrap.php, all mr
13. // classes become available to us. So now
14. // we can call mr_controller without explicitly
15. // including its class file.
16. // Use mr_bootstrap::shutdown(); to turn off
17. // class autoloading (basically the opposite of
18. // mr_bootstrap::startup();)
19. require($CFG->dirroot.'/local/mr/bootstrap.php');
21. mr_controller::render('blocks/helloworld', 'blockname', 'block_helloworld');

Documentation generated on Thu, 28 Jun 2012 16:33:46 -0700 by phpDocumentor 1.4.3