Class WhImageColumn
- CGridColumn
- WhImageColumn
Copyright: Copyright © 2amigos.us 2013-
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at widgets/grid/WhImageColumn.php
Methods summary
protected
|
Magic methods summary
Properties summary
public
array
|
$imageOptions |
#
the HTML options of the image tag |
public
string
|
$imagePathExpression |
#
$imagePathExpression is evaluated in every data cell and is used as the path
of the image. The expression will have: |
public
string
|
$emptyText |
#
$emptyText renders if $imagePathExpression is null |
public
boolean
|
$usePlaceHoldIt |
#
$userPlaceHoldIt whether to use a bogus image from placehold.it or not. If true, will render an image from placehold.it according to the size set at $placeHoldItSize. Defaults to false, now placehold.it only grants access for certain amount of time. You need to ask for permission :( |
public
boolean
|
$usePlaceKitten |
#
$userPlaceKitten whether to use bogus image from placekitten.com or not. If true, will render an image from placekitten.com according to the size set at $placeKittenSize. Defaults to true (what can I say? I love kitten) |
public
string
|
$placeHoldItSize |
#
$placeHoldItSize the size of the image to render if $imagePathExpression is null and $userPlaceHoldIt is set to true |
public
string
|
$placeKittenSize |
#
$placeKittenSize the size of the image to render if $imagePathExpression is null and $usePlaceKitten is set to true |