Uh oh!
There was an error while loading. Please reload this page.
forked from cfjedimaster/MockDataCFC
- Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathModuleConfig.cfc
More file actions
Latest commit
50 lines (45 loc) · 1.22 KB
/
Copy pathModuleConfig.cfc
File metadata and controls
50 lines (45 loc) · 1.22 KB
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
41
42
43
44
45
46
47
48
49
50
/**
* Copyright 2013 Ortus Solutions, Corp
* www.ortussolutions.com
* ---
* Welcome to the world of Mocking Data
*/
component {
// Module Properties
this.title="cbMockData";
this.author="Luis Majano";
this.webURL="https://www.ortussolutions.com";
this.description="cbMockData is a service to generate fake JSON data";
// If true, looks for views in the parent first, if not found, then in the module. Else vice-versa
this.viewParentLookup=true;
// If true, looks for layouts in the parent first, if not found, then in module. Else vice-versa
this.layoutParentLookup=true;
// Module Entry Point
this.entryPoint="cbMockData";
// Model Namespace
this.modelNamespace="cbMockData";
// CF Mapping
this.cfmapping="cbMockData";
/**
* Configure Module
*/
functionconfigure(){
// SES Routes
routes= [
// Module Entry Point
{ pattern:"/", handler:"Main", action:"index" },
// Convention Route
{ pattern:"/:handler/:action?" }
];
}
/**
* Fired when the module is registered and activated.
*/
functiononLoad(){
}
/**
* Fired when the module is unregistered and unloaded
*/
functiononUnload(){
}
}