Changes between Initial Version and Version 1 of ReferenceMaterials/ModelGlueApi

Show
Ignore:
Timestamp:
04/15/09 19:43:31 (17 years ago)
Author:
trac (IP: 127.0.0.1)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReferenceMaterials/ModelGlueApi

    v1 v1  
     1[[PageOutline]] 
     2 
     3= Model-Glue API = 
     4 
     5Inside of a controller, calling getModelGlue() will return an instance of the Model-Glue framework. 
     6 
     7Of the (many) public methods returned, the only commonly used method is !GetConfigBean(). 
     8 
     9== !GetBean(string:name) == 
     10 
     11==== Description: ==== 
     12 
     13Returns a CFC instance from the IoC container. 
     14 
     15==== Returns: ==== 
     16 
     17A CFC Instance 
     18 
     19==== Arguments: ==== 
     20 
     21Name (Required) - The name of the bean to create. If !ColdSpring is used, the name listed is the ID attribute of the bean to be created. If !ChiliBeans is used, the name passed is the name of an XML file to be found in one of the directories listed by the beanMappings setting. 
     22 
     23== !GetConfigBean(string:name) == 
     24 
     25Deprecated in favor of !GetBean(). Still functional to support reverse compatibility. 
     26 
     27== !GetOrmService() == 
     28 
     29==== Description: ==== 
     30 
     31Returns the ORM service Model-Glue is configured to use for automated database access. By default, this will return reactor.!ReactorFactory. 
     32 
     33==== Returns: ==== 
     34 
     35A CFC Instance 
     36 
     37==== Arguments: ==== 
     38 
     39None