|
Revision 809, 0.7 kB
(checked in by lmajano, 6 years ago)
|
|
Illidium Scaffolding Templates
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | <%cffunction name="get#root.bean.xmlAttributes.name#" access="public" output="false" returntype="#root.bean.xmlAttributes.path#"%> |
|---|
| 2 | <cfloop from="1" to="#arrayLen(root.bean.dbtable.xmlChildren)#" index="i"><cfif root.bean.dbtable.xmlChildren[i].xmlAttributes.primaryKey eq "Yes"><%cfargument name="#root.bean.dbtable.xmlChildren[i].xmlAttributes.name#" type="#root.bean.dbtable.xmlChildren[i].xmlAttributes.type#" required="true" /%> |
|---|
| 3 | </cfif></cfloop> |
|---|
| 4 | <%cfset var #root.bean.xmlAttributes.name# = create#root.bean.xmlAttributes.name#(argumentCollection=arguments) /%> |
|---|
| 5 | <%cfset variables.#root.bean.xmlAttributes.name#DAO.read(#root.bean.xmlAttributes.name#) /%> |
|---|
| 6 | <%cfreturn #root.bean.xmlAttributes.name# /%> |
|---|
| 7 | <%/cffunction%> |
|---|