PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/framework/Module.php

http://zoop.googlecode.com/
PHP | 17 lines | 16 code | 1 blank | 0 comment | 0 complexity | a3b965c57d8cc2d1b175eeed295875c5 MD5 | raw file
 1<?php
 2class AppModule
 3{
 4	function getClasses()
 5	{
 6		return array();
 7	}
 8	
 9	function registerClasses()
10	{
11		$classes = $this->getClasses();
12		foreach($classes as $class => $path)
13		{
14			zoop::registerClass($class, $path);
15		}
16	}
17}