| Server IP : 104.21.21.239 / Your IP : 216.73.217.73 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/siparentBAK/WEB-INF/lucee/context/admin/debug/ |
Upload File : |
<cfcomponent output="no">
<cfset this.data=struct()>
<cffunction name="init"
hint="init method of the component">
<cfargument name="displayName" required="true" type="string">
<cfargument name="name" required="true" type="string">
<cfargument name="defaultValue" required="false" type="string" default="">
<cfargument name="required" required="false" type="boolean" default="no">
<cfargument name="description" required="false" type="any" default="">
<cfargument name="type" required="false" type="string" default="text">
<cfargument name="values" required="false" type="string" default="">
<cfset this.data.displayName=arguments.displayName>
<cfset this.data.name=trim(arguments.name)>
<cfset this.data.required=arguments.required>
<cfset this.data.defaultValue=arguments.defaultValue>
<cfset this.data.values=arguments.values>
<cfset this.data.description=arguments.description>
<cfset this.data.type=arguments.type>
<cfreturn this>
</cffunction>
<cffunction name="getDisplayName" returntype="string" output="no"
hint="returns the Display Name">
<cfreturn this.data.displayName>
</cffunction>
<cffunction name="getName" returntype="string" output="no"
hint="returns the Name">
<cfreturn this.data.name>
</cffunction>
<cffunction name="getDefaultValue" returntype="string" output="no"
hint="returns the Display Name">
<cfreturn this.data.defaultValue>
</cffunction>
<cffunction name="getValues" returntype="string" output="no"
hint="returns the Display Name">
<cfif len(this.data.values)>
<cfreturn this.data.values>
</cfif>
<cfreturn this.data.defaultValue>
</cffunction>
<cffunction name="getRequired" returntype="boolean" output="no"
hint="returns the required value">
<cfreturn this.data.required>
</cffunction>
<cffunction name="getData" returntype="struct" output="no"
hint="returns all data as struct">
<cfreturn this.data>
</cffunction>
<cffunction name="getDescription" returntype="any" output="no"
hint="returns the description value">
<cfreturn this.data.description>
</cffunction>
<cffunction name="getType" returntype="string" output="no"
hint="returns the type of the field, types are [text,password,radio,chckbox,select]">
<cfreturn this.data.type>
</cffunction>
</cfcomponent>