PHP Класс Contao\MemberGroupModel

Наследование: extends Model
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$strTable string Table name

Открытые методы

Метод Описание
findAllActive ( array $arrOptions = [] ) : Collection | MemberGroupModel | null Find all active groups
findFirstActiveWithJumpToByIds ( string $arrIds ) : MemberGroupModel | null Find the first active group with a published jumpTo page
findPublishedById ( integer $intId, array $arrOptions = [] ) : MemberGroupModel | null Find a published group by its ID

Описание методов

findAllActive() публичный статический Метод

Find all active groups
public static findAllActive ( array $arrOptions = [] ) : Collection | MemberGroupModel | null
$arrOptions array An optional options array
Результат Contao\Model\Collection | MemberGroupModel | null A collection of models or null if there are no member groups

findFirstActiveWithJumpToByIds() публичный статический Метод

Find the first active group with a published jumpTo page
Устаревший: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use PageModel::findFirstActiveByMemberGroups() instead.
public static findFirstActiveWithJumpToByIds ( string $arrIds ) : MemberGroupModel | null
$arrIds string An array of member group IDs
Результат MemberGroupModel | null The model or null if there is no matching member group

findPublishedById() публичный статический Метод

Find a published group by its ID
public static findPublishedById ( integer $intId, array $arrOptions = [] ) : MemberGroupModel | null
$intId integer The member group ID
$arrOptions array An optional options array
Результат MemberGroupModel | null The model or null if there is no member group

Описание свойств

$strTable защищенное статическое свойство

Table name
protected static string $strTable
Результат string