Class ModelFileUploader
Child Class to set parameters for uploading attachments to a model.
- CComponent
 - 
			
CBaseController
			
			
		 - 
			
CWidget
			
			
		 - 
			
			X2Widget
			
			
			
		 - 
			
			FileUploader
			
			
			
		 - 
			
ModelFileUploader			
			
			
		 
			 public 
			
			
			
		 | 
		|
			 public static
			
			
			
		 | 
		
			getJSClassParams(), 
			getPackages(), 
			registerJSEvents(), 
			run()
		 | 
	
			__construct(), 
			ajaxRender(), 
			behaviors(), 
			getModule(), 
			renderFile(), 
			setModule()
		 | 
	
actions(), 
getController(), 
getId(), 
getOwner(), 
getViewFile(), 
getViewPath(), 
render(), 
setId()
		 | 
	
beginCache(), 
beginClip(), 
beginContent(), 
beginWidget(), 
createWidget(), 
endCache(), 
endClip(), 
endContent(), 
endWidget(), 
renderInternal(), 
widget()
		 | 
	
__call(), 
__get(), 
__isset(), 
__set(), 
__unset(), 
asa(), 
attachBehavior(), 
attachBehaviors(), 
attachEventHandler(), 
canGetProperty(), 
canSetProperty(), 
detachBehavior(), 
detachBehaviors(), 
detachEventHandler(), 
disableBehavior(), 
disableBehaviors(), 
enableBehavior(), 
enableBehaviors(), 
evaluateExpression(), 
getEventHandlers(), 
hasEvent(), 
hasEventHandler(), 
hasProperty(), 
raiseEvent()
		 | 
	
			public  
			string
		 | 
		$id | 'attachment' | 
		
			#
			 Id / Namespace of this instance. Used to create a unique ID, and to reference  | 
	
			public  
			mixed
		 | 
		$associationId |  | 
		|
			public  
			mixed
		 | 
		$associationType |  | 
		|
			public  
			array
		 | 
		$viewParams | array (
    'class' => 'x2-layout-island',
    'noPadding' => false,
    'showButton' => false,
    'open' => false,
    'closeButton' => false,
    'buttonText' => 'Attach A File'
) | 
		
			#
			 Array of model attributes to set to uploaded files  | 
	
			$JSClass, 
			$acceptedFiles, 
			$defaultViewParams, 
			$events, 
			$googleDrive, 
			$instanceCount, 
			$mediaParams, 
			$url, 
			$viewFile
		 | 
	
			$_module
		 | 
	
$actionPrefix, 
$skin
		 | 
	
			$module
		 | 
	
$controller, 
$id, 
$owner, 
$viewPath
		 |