Class QImageFileAsset
ImageFileAsset is derived from QFileAsset and is a dedicated control for uploading images (images only).
-
QBaseClass
-
QHtmlAttributeManagerBase
-
QHtmlAttributeManager
-
QControlBase
-
QControl
-
QBlockControl
-
QPanel
-
QFileAssetBase
-
QFileAsset
-
QImageFileAsset
Methods summary
public
QFileAsset
|
#
__construct( mixed $objParentObject, null $strControlId = null )
Constructor function to create a new QImageFileAsset
Constructor function to create a new QImageFileAsset
Parameters
- $objParentObject
- Should be a QControl
- $strControlId
- The Control ID of the control (optional)
Returns
Throws
Overrides
|
public
boolean
|
#
Validate( )
This function tests whether everything was as needed or not
(uploaded image was within the range specified)
This function tests whether everything was as needed or not
(uploaded image was within the range specified)
Returns
boolean
Overrides
|
public
mixed|null|string|
|
#
__set( string $strName, string $mixValue )
PHP magic function to handle object properties
PHP magic function to handle object properties
Parameters
- $strName
- Name of the property
- $mixValue
- Value of the property
Returns
mixed|null|string|
Throws
Overrides
|
Methods inherited from QControlBase
AddAction(),
AddActionArray(),
AddAttributeScript(),
AddChildControl(),
AddCssFile(),
AddJavascriptFile(),
AddPluginCssFile(),
AddPluginJavascriptFile(),
AddWrapperCssClass(),
Blink(),
EvaluateTemplate(),
Focus(),
ForgetState(),
GetAllActions(),
GetAttributes(),
GetChildControl(),
GetChildControls(),
GetControlFromHierarchyByMethodName(),
GetCustomAttribute(),
GetCustomAttributes(),
GetCustomStyle(),
GetEndHtml(),
GetForm(),
GetJavaScriptForEvent(),
GetJqControlId(),
GetModelConnectorParams(),
GetNonWrappedHtml(),
GetState(),
GetStyleAttributes(),
GetTemplatePath(),
GetWrapperAttributes(),
GetWrapperStyleAttributes(),
GetWrapperStyler(),
IsDescendantOf(),
IsModified(),
MakeCurrent(),
MarkAsModified(),
MarkAsRendered(),
MarkAsWrapperModified(),
ProcessActionParameters(),
PutState(),
Refresh(),
RemoveAllActions(),
RemoveChildControl(),
RemoveChildControls(),
RemoveCustomAttribute(),
RemoveCustomStyle(),
RemoveWrapperCssClass(),
Render(),
RenderActionScripts(),
RenderAjax(),
RenderAttributeScripts(),
RenderChildren(),
RenderComment(),
RenderCssStyles(),
RenderExtensionRenderer(),
RenderHelper(),
RenderHtmlAttributes(),
RenderOutput(),
RenderWithError(),
RenderWithName(),
RenderWrappedOutput(),
ResetFlags(),
ResetOnPageStatus(),
SetCustomAttribute(),
SetCustomStyle(),
SetFocus(),
SetForm(),
SetParentControl(),
Sleep(),
SleepHelper(),
ValidateControlAndChildren(),
ValidationReset(),
VarExport(),
Wakeup(),
WakeupHelper(),
Watch(),
_CallActionMethod(),
_ProcessActionParams(),
_ReadState(),
_WriteState()
|
Methods inherited from QHtmlAttributeManagerBase
AddCssClass(),
GetCssStyle(),
GetDataAttribute(),
GetHtmlAttribute(),
GetHtmlAttributes(),
HasCssClass(),
HasCssStyle(),
HasHtmlAttribute(),
Override(),
RemoveCssClass(),
RemoveCssClassesByPrefix(),
RemoveCssStyle(),
RemoveDataAttribute(),
RemoveHtmlAttribute(),
RenderTag(),
SetCssBoxValue(),
SetCssClass(),
SetCssStyle(),
SetDataAttribute(),
SetHtmlAttribute()
|
Properties summary
protected
integer
|
$intMinWidth
the variable is used to contain minimum width of image in pixels
the variable is used to contain minimum width of image in pixels
|
|
protected
integer
|
$intMaxWidth
the variable is used to contain maxiimum width of image in pixels
the variable is used to contain maxiimum width of image in pixels
|
|
protected
integer
|
$intMinHeight
the variable is used to contain minimum height of image in pixels
the variable is used to contain minimum height of image in pixels
|
|
protected
integer
|
$intMaxHeight
the variable is used to contain maxiimum width of image in pixels
the variable is used to contain maxiimum width of image in pixels
|
|
Properties inherited from QFileAssetBase
$blnClickToView,
$btnDelete,
$btnUpload,
$dlgFileAsset,
$imgFileIcon,
$intFileAssetType,
$intSize,
$strAcceptibleMimeArray,
$strFile,
$strFileName,
$strIconFilePathArray,
$strRandomFileName,
$strUnacceptableMessage
|
Properties inherited from QControlBase
$blnActionsMustTerminate,
$blnAutoRender,
$blnDisplay,
$blnMinimize,
$blnModified,
$blnOnPage,
$blnRendered,
$blnRendering,
$blnRequired,
$blnSaveState,
$blnScriptsOnly,
$blnUseWrapper,
$blnVisible,
$blnWrapLabel,
$blnWrapperModified,
$mixActionParameter,
$mixCausesValidation,
$objActionArray,
$objChildControlArray,
$objDraggable,
$objDroppable,
$objForm,
$objLinkedNode,
$objParentControl,
$objResizable,
$objWatcher,
$objWrapperStyler,
$strAttributeScripts,
$strControlId,
$strCssClass,
$strCustomAttributeArray,
$strCustomStyleArray,
$strFormAttributes,
$strHtmlAfter,
$strHtmlBefore,
$strInstructions,
$strJavaScripts,
$strName,
$strPreferredRenderMethod,
$strRenderMethod,
$strStyleSheets,
$strValidationError,
$strWarning
|
Magic properties inherited from QFileAssetBase
$CancelText,
$ClickToView,
$DialogBoxCssClass,
$DialogBoxHeight,
$DialogBoxHtml,
$DialogBoxWidth,
$File,
$FileAssetType,
$FileName,
$RandomFileName,
$Size,
$TemporaryUploadPath,
$UnacceptableMessage,
$UploadText
|
Magic properties inherited from QBlockControl
$AutoRenderChildren,
$DropTarget,
$Format,
$HorizontalAlign,
$HtmlEntities,
$ResizeHandleDirection,
$ResizeHandleMaximum,
$ResizeHandleMinimum,
$TagName,
$Template,
$Text,
$VerticalAlign
|
Magic properties inherited from QControlBase
$ActionParameter,
$ActionsMustTerminate,
$AutoRender,
$CausesValidation,
$ControlId,
$Form,
$FormAttributes,
$HtmlAfter,
$HtmlBefore,
$Instructions,
$JavaScripts,
$LinkedNode,
$Minimize,
$Modified,
$Moveable,
$Name,
$OnPage,
$ParentControl,
$PreferredRenderMethod,
$RenderMethod,
$Rendered,
$Rendering,
$Required,
$Resizable,
$SaveState,
$ScriptsOnly,
$StyleSheets,
$UseWrapper,
$ValidationError,
$Visible,
$Warning,
$WrapLabel,
$WrapperCssClass,
$WrapperModified
|
Magic properties inherited from QHtmlAttributeManagerBase
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$Width
|