메소드 | 설명 | |
---|---|---|
__construct ( ) | Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor. | |
addAttributesToRender ( $writer ) | Adds ID attribute, and renders the javascript for active component. | |
createChildControls ( ) | ||
getActiveControl ( ) : |
||
getAutoPostBack ( ) : boolean | ||
getBusyImage ( ) : |
||
getCallbackJavascript ( ) : string | ||
getClientSide ( ) : |
||
getErrorImage ( ) : |
||
getSuccessImage ( ) : |
||
getTempPath ( ) : string | ||
onFileUpload ( $param ) | This method is invoked when a file is uploaded. | |
onInit ( $sender ) | ||
onPreRender ( $param ) | Publish the javascript | |
onUnload ( $param ) | Removes localfile on ending of the callback. | |
raiseCallbackEvent ( $param ) | Raises OnFileUpload event. | |
raisePostDataChangedEvent ( ) | Raises postdata changed event. | |
saveAs ( $fileName, $deleteTempFile = true ) : boolean | Saves the uploaded file. | |
setAutoPostBack ( $value ) | ||
setTempPath ( $value ) |
메소드 | 설명 | |
---|---|---|
getAssetUrl ( $file = '' ) : string | ||
getClientClassName ( ) : string | ||
getClientOptions ( ) : array | Gets the client side options for this control. | |
popParamsByToken ( $token ) | ||
pushParamsAndGetToken ( |
public __construct ( ) |
public addAttributesToRender ( $writer ) |
public getActiveControl ( ) : |
||
리턴 | standard callback control options. |
public getAutoPostBack ( ) : boolean | ||
리턴 | boolean | a value indicating whether an automatic callback to the server will occur whenever the user modifies the text in the TTextBox control and then tabs out of the component. Defaults to true. Note: When set to false, you will need to trigger the callback yourself. |
public getBusyImage ( ) : |
||
리턴 | the image displayed when an upload is in progress. |
public getCallbackJavascript ( ) : string | ||
리턴 | string | A chuck of javascript that will need to be called if {{@link getAutoPostBack AutoPostBack} is set to false} |
protected getClientClassName ( ) : string | ||
리턴 | string | corresponding javascript class name for this control. |
protected getClientOptions ( ) : array | ||
리턴 | array | ( inputID => input client ID, flagID => flag client ID, targetName => target unique ID, formID => form client ID, indicatorID => upload indicator client ID, completeID => complete client ID, errorID => error client ID) |
public getClientSide ( ) : |
||
리턴 | client side request options. |
public getErrorImage ( ) : |
||
리턴 | the image displayed when an upload does not complete successfully. |
public getSuccessImage ( ) : |
||
리턴 | the image displayed when an upload completes successfully. |
public getTempPath ( ) : string | ||
리턴 | string | the path where the uploaded file will be stored temporarily, in namespace format default "Application.runtime.*" |
public onFileUpload ( $param ) |
protected pushParamsAndGetToken ( |
||
$params |
public raiseCallbackEvent ( $param ) |
public raisePostDataChangedEvent ( ) |