QCubed - A PHP5 rapid development MVC framework.
Home  |  Updates

classQFileAssetBase

QFileAssetBase Class Reference

Inherits QPanel.

Inherited by QFileAsset.

Collaboration diagram for QFileAssetBase:

List of all members.

Public Member Functions

Public Attributes

Protected Member Functions

Protected Attributes


Constructor & Destructor Documentation

QFileAssetBase::__construct ( objParentObject,
strControlId = null 
)

Reimplemented from QControlBase.

Reimplemented in QFileAsset.

References QControlBase::$strControlId, and SetupIconFilePathArray().


Member Function Documentation

QFileAssetBase::__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 QBlockControl.

References QControlBase::$strName, and QCallerException::IncrementOffset().

QFileAssetBase::__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 QBlockControl.

References QControlBase::$strName, QType::Boolean, QType::Cast(), QCallerException::IncrementOffset(), SetFile(), SetFileAssetType(), and QType::String.

QFileAssetBase::btnDelete_Click (  ) 

QFileAssetBase::dlgFileAsset_Upload (  ) 

QFileAssetBase::GetControlHtml (  ) 

Reimplemented from QBlockControl.

QFileAssetBase::GetWebUrl (  ) 

If the Selected File is WebRoot Accessible, return a valid URL Feel free to override this method.

Returns:
string Web-based URL to the File (for Downloading)

QFileAssetBase::SetFile ( strFile  )  [protected]

References $strFile.

Referenced by __set().

QFileAssetBase::SetFileAssetType ( intFileAssetType  )  [protected]

QFileAssetBase::SetupIconFilePathArray (  )  [protected]

Referenced by __construct().

QFileAssetBase::Validate (  ) 

Reimplemented from QBlockControl.


Member Data Documentation

QFileAssetBase::$blnClickToView [protected]

QFileAssetBase::$btnDelete

QFileAssetBase::$btnUpload

QFileAssetBase::$dlgFileAsset

QFileAssetBase::$imgFileIcon

QFileAssetBase::$intFileAssetType [protected]

Referenced by SetFileAssetType().

QFileAssetBase::$strAcceptibleMimeArray [protected]

QFileAssetBase::$strFile [protected]

Referenced by SetFile().

QFileAssetBase::$strFileName [protected]

QFileAssetBase::$strIconFilePathArray = array() [protected]

QFileAssetBase::$strTemporaryUploadPath [protected]

Reimplemented in QFileAsset.

QFileAssetBase::$strUnacceptableMessage [protected]


The documentation for this class was generated from the following file: