countFunctions

package

Default

Methods

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

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

Arguments

$qCode

string

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

$submitted

boolean

(or not) response

Response

integer|string

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

statCountIf(string $qCode,string $comparaison,boolean $submitted = 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

Response

integer|string