classQImageControlBase
QImageControlBase Class Reference
Inherits QControl.Inherited by QImageControl.

Public Member Functions
- ParsePostData ()
- Validate ()
- __construct ($objParentObject, $strControlId=null)
- RenderAsImgSrc ($blnDisplayOutput=true)
- Serialize ()
- RenderImage ($strPath=null)
- __get ($strName)
- __set ($strName, $mixValue)
Static Public Member Functions
- static Run ()
Protected Member Functions
- GetControlHtml ()
- FlowThrough ($strPath)
- SetupContentType ()
Protected Attributes
- $strBackColor = 'ffffff'
- $blnScaleCanvasDown = false
- $blnScaleImageUp = true
- $strImageType = null
- $intQuality = 100
- $strImagePath
- $strAlternateText
- $strCacheFolder = null
- $strCacheFilename = null
- $strSourceImageType = null
- $strCachedActualFilePath = null
Constructor & Destructor Documentation
| QImageControlBase::__construct | ( | $ | objParentObject, | |
| $ | strControlId = null | |||
| ) |
Member Function Documentation
| QImageControlBase::__get | ( | $ | strName | ) |
Override method to perform a property "Get" This will get the value of $strName All inhereted objects that call __get() should always fall through to calling parent::__get() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to get
- Returns:
- mixed the returned property
Reimplemented from QControlBase.
References QControlBase::$strName, and QCallerException::IncrementOffset().
| QImageControlBase::__set | ( | $ | strName, | |
| $ | mixValue | |||
| ) |
Override method to perform a property "Set" This will set the property $strName to be $mixValue All inhereted objects that call __set() should always fall through to calling parent::__set() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to set string $mixValue New value of the property
- Returns:
- mixed the property that was set
Reimplemented from QControlBase.
References QControlBase::$strName, $strSourceImageType, QType::Boolean, QType::Cast(), QImageType::Gif, QCallerException::IncrementOffset(), QType::Integer, QImageType::Jpeg, QImageType::Png, and QType::String.
| QImageControlBase::FlowThrough | ( | $ | strPath | ) | [protected] |
References QImageType::Gif, QImageType::Jpeg, QImageType::Png, and SetupContentType().
Referenced by RenderImage().
| QImageControlBase::GetControlHtml | ( | ) | [protected] |
Reimplemented from QControlBase.
References $strBackColor, QControlBase::$strHeight, QControlBase::$strWidth, QControlBase::GetAttributes(), QControlBase::GetStyleAttributes(), QCallerException::IncrementOffset(), and RenderAsImgSrc().
| QImageControlBase::ParsePostData | ( | ) |
Reimplemented from QControlBase.
| QImageControlBase::RenderAsImgSrc | ( | $ | blnDisplayOutput = true |
) |
| QImageControlBase::RenderImage | ( | $ | strPath = null |
) |
References $strImageType, FlowThrough(), QImageType::Gif, QImageType::Jpeg, QImageType::Png, and SetupContentType().
Referenced by RenderAsImgSrc().
| static QImageControlBase::Run | ( | ) | [static] |
| QImageControlBase::Serialize | ( | ) |
Referenced by RenderAsImgSrc().
| QImageControlBase::SetupContentType | ( | ) | [protected] |
References $strImageType, QImageType::Gif, QImageType::Jpeg, and QImageType::Png.
Referenced by FlowThrough(), and RenderImage().
| QImageControlBase::Validate | ( | ) |
Reimplemented from QControlBase.
Member Data Documentation
QImageControlBase::$blnScaleCanvasDown = false [protected] |
QImageControlBase::$blnScaleImageUp = true [protected] |
QImageControlBase::$intQuality = 100 [protected] |
QImageControlBase::$strAlternateText [protected] |
QImageControlBase::$strBackColor = 'ffffff' [protected] |
QImageControlBase::$strCachedActualFilePath = null [protected] |
QImageControlBase::$strCacheFilename = null [protected] |
QImageControlBase::$strCacheFolder = null [protected] |
Reimplemented in QImageControl.
QImageControlBase::$strImagePath [protected] |
QImageControlBase::$strImageType = null [protected] |
Referenced by RenderImage(), and SetupContentType().
QImageControlBase::$strSourceImageType = null [protected] |
Referenced by __set().
The documentation for this class was generated from the following file:
- qcodo/_core/qform/QImageControlBase.class.php
