class Result

This file provides property and method documentation for the model result.

This file is generated by the XELOS command line tool xf kickstart. It will be overwritten when new kickstart actions are performed.

Add @mixin \XELOS\Modules\Trendvote\Docs\ClassGenerated\Model\Result to the model to get access to the properties.

Properties

int $user_id
int $trendvote_id
string $answers:

stored in MySQL as text

int $created_at:

stored in MySQL as timestamp

int $updated_at:

stored in MySQL as timestamp

Methods

xmodel_trendvote_result[]
all(mixed $sql_params)

Returns all models. Query params can be e.g. order_by

int
count_all(mixed $sql_params)

Returns the count

Details

at line 25
xmodel_trendvote_result[] all(mixed $sql_params)

Returns all models. Query params can be e.g. order_by

Parameters

mixed $sql_params

Return Value

xmodel_trendvote_result[]

at line 25
int count_all(mixed $sql_params)

Returns the count

Parameters

mixed $sql_params

Return Value

int