Methods summary
public
|
#
__construct( QControl |QForm |QControlBase $objParentObject, string $strControlId = null )
Creates a QControlBase object
This constructor will generally not be used to create a QControlBase object. Instead it is used by the
classes which extend the class. Only the parent object parameter is required. If the option strControlId
parameter is not used, QCubed will generate the id.
Creates a QControlBase object
This constructor will generally not be used to create a QControlBase object. Instead it is used by the
classes which extend the class. Only the parent object parameter is required. If the option strControlId
parameter is not used, QCubed will generate the id.
Parameters
- $objParentObject
- $strControlId
optional id of this Control. In html, this will be set as the value of the id attribute. The id can only
contain alphanumeric characters. If this parameter is not passed, QCubed will generate the id.
Throws
Overrides
|
protected
|
|
protected
|
|
public
boolean
|
#
Validate( )
Public function to be overrriden by child classes
Public function to be overrriden by child classes
It is used to determine if the input fed into the control is valid or not.
The rules are written in this function only. If the control is set for Validation,
this function is automatically called on postback.
Returns
boolean Whether or not the input inside the control are valid
Overrides
|
public
|
|
public
string
|
#
GetControlHtml( )
Returns the HTML of the QControl
Returns the HTML of the QControl
Returns
string The HTML string
Overrides
|
public
|
|
public
mixed
|
#
__get( string $strName )
PHP __get magic method implementation
PHP __get magic method implementation
Parameters
- $strName
- Name of the property
Returns
mixed
Throws
Overrides
|
public
string
|
#
GetWebUrl( )
If the Selected File is WebRoot Accessible, return a valid URL
Feel free to override this method.
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)
|
protected
|
|
protected
|
|
public
mixed
|
#
__set( string $strName, string $mixValue )
PHP __set magic method implementation
PHP __set magic method implementation
Parameters
- $strName
- Property Name
- $mixValue
- Property Value
Returns
mixed
Throws
Overrides
|