-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.php
40 lines (33 loc) · 1.41 KB
/
bootstrap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* Fuel is a fast, lightweight, community driven PHP5 framework.
*
* @package Fuel
* @version 1.0
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2011 Fuel Development Team
* @link http://fuelphp.com
*/
Autoloader::add_classes(array(
'Orm\\Model' => __DIR__.'/classes/model.php',
'Orm\\Query' => __DIR__.'/classes/query.php',
'Orm\\BelongsTo' => __DIR__.'/classes/belongsto.php',
'Orm\\HasMany' => __DIR__.'/classes/hasmany.php',
'Orm\\HasOne' => __DIR__.'/classes/hasone.php',
'Orm\\ManyMany' => __DIR__.'/classes/manymany.php',
'Orm\\Relation' => __DIR__.'/classes/relation.php',
// Observers
'Orm\\Observer' => __DIR__.'/classes/observer.php',
'Orm\\Observer_CreatedAt' => __DIR__.'/classes/observer/createdat.php',
'Orm\\Observer_Typing' => __DIR__.'/classes/observer/typing.php',
'Orm\\Observer_UpdatedAt' => __DIR__.'/classes/observer/updatedat.php',
'Orm\\Observer_Validation' => __DIR__.'/classes/observer/validation.php',
'Orm\\Observer_Self' => __DIR__.'/classes/observer/self.php',
// Exceptions
'Orm\\RecordNotFound' => __DIR__.'/classes/model.php',
'Orm\\FrozenObject' => __DIR__.'/classes/model.php',
'Orm\\InvalidContentType' => __DIR__.'/classes/observer/typing.php',
'Orm\\ValidationFailed' => __DIR__.'/classes/observer/validation.php',
));
/* End of file bootstrap.php */