Methods summary
public
|
#
__construct( $objParentObject, boolean $blnReadOnlyCaption = true, boolean $blnTwoNavBars = false, boolean $blnThumbnails = true, null $strControlId = null )
Parameters
- $objParentObject
- $blnReadOnlyCaption
- if true (default) don't allow captions to be edited (and don't show the save button)
- $blnTwoNavBars
- if true (default false),will show two navigation bars (which can layout with template/css)
- $blnThumbnails
- if true (default), will show two thumbnails panel (which you can layout with template/css)
- $strControlId
Throws
Overrides
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
abstract public
|
#
ImageCount( )
Return the total number of the images in this image browser
Return the total number of the images in this image browser
|
abstract public
|
#
ImagePath( $intIdx )
Return the absolute path of the corresponding image.
Return the absolute path of the corresponding image.
Parameters
- $intIdx
- of the image (between 0 and ImageCount()-1)
|
abstract public
|
#
ThumbnailImagePath( $intIdx )
Return the absolute path of the corresponding thumbnail image.
This could be the same as the image, and the browser will scale it to the size of the thumbnail.
Return the absolute path of the corresponding thumbnail image.
This could be the same as the image, and the browser will scale it to the size of the thumbnail.
Parameters
- $intIdx
- of the image (between 0 and ImageCount()-1)
|
abstract protected
|
#
loadCaption( $intIdx )
Return the corresponding image caption
Return the corresponding image caption
Parameters
- $intIdx
- of the image (between 0 and ImageCount()-1)
|
abstract protected
|
#
saveCaption( $intIdx, $strCaption )
Parameters
- $intIdx
- of the image (between 0 and ImageCount()-1)
- $strCaption
- to save
|
protected
string
|
#
selectThumbnailCssClass( )
Return the added CSS class for the selected thumbnail image.
Overwrite this method if you'd like a different CSS class.
Return the added CSS class for the selected thumbnail image.
Overwrite this method if you'd like a different CSS class.
Returns
string
|
protected
string
|
#
invalidImagePath( )
The absolute path of an image that indicates that the current image path is invalid.
This is needed since we cannot render the QImageControl without a valid ImagePath.
The absolute path of an image that indicates that the current image path is invalid.
This is needed since we cannot render the QImageControl without a valid ImagePath.
Returns
string
|
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
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
|