research: payg-report полная копия репы (все файлы, без .git)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<cfcomponent extends="form_page_info" displayname="information container for detail page" output="true">
|
||||
|
||||
<cfproperty name="formName" type="string"/>
|
||||
<cfproperty name="formAction" type="string"/>
|
||||
<cfproperty name="formMethod" type="string"/>
|
||||
<cfproperty name="formEncType" type="string"/>
|
||||
|
||||
<cffunction name="init">
|
||||
<cfargument name="entity" type="string" required="true"/>
|
||||
<cfargument name="key" type="string" default="#arguments.entity#_id"/>
|
||||
<cfargument name="track" type="struct" required="true"/>
|
||||
<cfargument name="permission" type="number" required="true"/>
|
||||
<cfargument name="formName" type="string" default=""/>
|
||||
<cfargument name="formAction" type="string" default=""/>
|
||||
<cfargument name="formMethod" type="string" default=""/>
|
||||
<cfargument name="formEncType" type="string" default=""/>
|
||||
|
||||
<cfset super.init(arguments.entity, arguments.key, arguments.track, arguments.formName, arguments.formAction, arguments.formMethod,arguments.formEncType)/>
|
||||
|
||||
<cfset this.permission=arguments.permission/>
|
||||
<cfset this.formName=arguments.formName/>
|
||||
<cfset this.formAction=arguments.formAction/>
|
||||
<cfset this.formMethod=arguments.formMethod/>
|
||||
<cfset this.formEncType=arguments.formEncType/>
|
||||
|
||||
<cfreturn this>
|
||||
</cffunction>
|
||||
|
||||
<cffunction name="getType" returntype="string">
|
||||
<cfreturn "detail"/>
|
||||
</cffunction>
|
||||
|
||||
</cfcomponent>
|
||||
Reference in New Issue
Block a user