class Group

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

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\Groups\Docs\ClassGenerated\Model\Group to the model to get access to the properties.

Properties

int $id
int $user_id
int $category_id
string $lang:

stored in MySQL as varchar

int $group_id
string $url_id:

stored in MySQL as varchar

string $title_i18n:

stored in MySQL as varchar

string $teaser_i18n:

stored in MySQL as varchar

bool $listed:

stored in MySQL as tinyint

bool $public:

stored in MySQL as tinyint

bool $archived:

stored in MySQL as tinyint

bool $todelete:

stored in MySQL as tinyint

bool $approved:

stored in MySQL as tinyint

int $template_group_id
bool $use_template_settings:

stored in MySQL as tinyint

bool $is_template:

stored in MySQL as tinyint

string $logo_img:

stored in MySQL as varchar

string $head_color:

stored in MySQL as varchar

string $head_icon:

stored in MySQL as varchar

int $first_steps_status
bool $internal:

stored in MySQL as tinyint

int $last_maintenance:

stored in MySQL as timestamp

int $last_activity_at:

stored in MySQL as timestamp

int $created_at:

stored in MySQL as timestamp

int $updated_at:

stored in MySQL as timestamp

Methods

xm_groups_group[]
all(mixed $sql_params)

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

int
count_all(mixed $sql_params)

Returns the count

int
delete_by_id(int $id, mixed $sql_params)

Delete rows specified by condition and returns the affected rows.

xm_groups_group[]
find_all_by_id(int|int[] $id, mixed $sql_params)

Returns the first model with the given id. Query params can be e.g. order_by

xm_groups_group
find_by_id(int|int[] $id, mixed $sql_params)

Returns all models by id and ids. Query params can be e.g. order_by

Details

at line 48
xm_groups_group[] all(mixed $sql_params)

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

Parameters

mixed $sql_params

Return Value

xm_groups_group[]

at line 48
int count_all(mixed $sql_params)

Returns the count

Parameters

mixed $sql_params

Return Value

int

at line 48
int delete_by_id(int $id, mixed $sql_params)

Delete rows specified by condition and returns the affected rows.

Parameters

int $id
mixed $sql_params

Return Value

int

at line 48
xm_groups_group[] find_all_by_id(int|int[] $id, mixed $sql_params)

Returns the first model with the given id. Query params can be e.g. order_by

Parameters

int|int[] $id
mixed $sql_params

Return Value

xm_groups_group[]

at line 48
xm_groups_group find_by_id(int|int[] $id, mixed $sql_params)

Returns all models by id and ids. Query params can be e.g. order_by

Parameters

int|int[] $id
mixed $sql_params

Return Value

xm_groups_group