countFunctions

package

Default

Methods

Return the count of response on current ExpressionScript Engine survey equal to a specific value

statCount(string $qCode,boolean $submitted = true,boolean $self = true): integer|string
static

Arguments

$qCode

string

: code of question, currently must be existing sgqa. Sample Q01.sgqa.

$submitted

boolean

(or not) response

$self

boolean

include (or not) current response

Response

integer|string

Return the count of response on current ExpressionScript Engine survey equal to a specific value

statCountIf(string $qCode,string $comparaison,boolean $submitted = true,boolean $self = true): integer|string
static

Arguments

$qCode

string

: code of question, currently must be existing sgqa. Sample Q01.sgqa.

$comparaison

string

: comparre with value. Can use < or > … see https://www.yiiframework.com/doc/api/1.1/CDbCriteria#compare-detail

$submitted

boolean

(or not) response

$self

boolean

include (or not) current response

Response

integer|string