package | Gems |
---|---|
subpackage | Selector |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.1 |
__construct($name)
getClass()
getDefault()
getFilter()
getHRef(\MUtil_Lazy_RepeatableInterface $repeater, array $url = array()
)
getLabel()
getLabelClass()
getSQL()
setClass(string $class) : \Gems_Selector_SelectorField
string
\Gems_Selector_SelectorField
setFilter($filter)
setLabel(string $label) : \Gems_Selector_SelectorField
string
\Gems_Selector_SelectorField
setLabelClass(string $class) : \Gems_Selector_SelectorField
string
\Gems_Selector_SelectorField
setSQL(string|\Zend_Db_Expr $sql) : \Gems_Selector_SelectorField
string
\Zend_Db_Expr
\Gems_Selector_SelectorField
setSQLFunction(string $function, string $calculation, string $round= null
, $default= null
) : \Gems_Selector_SelectorField
string
string
string
\Gems_Selector_SelectorField
setToAverage(string $calculation, integer|null $round= null
, mixed $default= null
) : \Gems_Selector_SelectorField
string
integer
null
mixed
\Gems_Selector_SelectorField
setToCount(string $calculation= '*'
, mixed $default= 0
) : \Gems_Selector_SelectorField
string
mixed
\Gems_Selector_SelectorField
setToMaximum(string $calculation, integer|null $round= null
, mixed $default= null
) : \Gems_Selector_SelectorField
string
integer
null
mixed
\Gems_Selector_SelectorField
setToMinimum(string $calculation, integer|null $round= null
, mixed $default= null
) : \Gems_Selector_SelectorField
string
integer
null
mixed
\Gems_Selector_SelectorField
setToSum(string $calculation, integer|null $round= null
, mixed $default= 0
) : \Gems_Selector_SelectorField
string
integer
null
mixed
\Gems_Selector_SelectorField
setToSumWhen(string $condition, mixed $field= 1
, integer|null $round= null
, mixed $default= 0
) : \Gems_Selector_SelectorField
string
mixed
The field or constant to add to the sum when $condition is true.
integer
null
mixed
\Gems_Selector_SelectorField
$class
$default
$filter
$label
$labelClass
$name
$sql